Change root: Difference between revisions
imported>Hucksy Add more details for nixos-enter and a troubleshooting section |
You don't bind mount drives. |
||
| Line 10: | Line 10: | ||
< | <syntaxhighlight lang="console"> | ||
$ mount | $ mount /dev/disk/by-label/<ROOT_LABEL> /mnt/ | ||
$ # mount any partitions you might have; here we assume only home and nix exist | $ # mount any partitions you might have; here we assume only home and nix exist | ||
$ mkdir -p /mnt/{home,nix} | $ mkdir -p /mnt/{home,nix} | ||
$ mount | $ mount /dev/disk/by-label/<HOME_LABEL> /mnt/home | ||
$ mount | $ mount /dev/disk/by-label/<NIX_LABEL> /mnt/nix | ||
</ | </syntaxhighlight> | ||