[Nix-dev] ZFS root boot
Ricardo M. Correia
rcorreia at wizy.org
Fri Nov 8 13:13:34 CET 2013
Sorry, a few corrections:
On Fri, Nov 8, 2013 at 1:06 PM, Ricardo M. Correia <rcorreia at wizy.org>wrote:
> $ zpool set mountpoint=/ rpool
>
The correct command is "zfs set mountpoint=/ rpool"
To install NixOS, you have to mount the root pool and /boot under /mnt.
> This is what I did:
>
> $ zpool export rpool
> $ zpool import -o altroot=/mnt rpool
>
You also need to run "mkdir /mnt/boot" before mounting /mnt/boot.
> $ mount /dev/sda1 /mnt/boot (instead of /dev/sda1, put whatever
> partition you used for /boot).
>
Cheers,
Ricardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131108/c189b72b/attachment.html
More information about the nix-dev
mailing list