[Nix-dev] fsck.btrfs on boot (Was: On /nix off the root partition)
roconnor at theorem.ca
roconnor at theorem.ca
Wed Mar 24 19:33:32 CET 2010
On Wed, 24 Mar 2010, Lluís Batlle wrote:
> Roconnor mentioned some problems on irc about that...
>
> I've had /nix off the /root partition in many computers. You simply
> need to mark in fileSystems the partition as:
> neededForBoot = true;
>
> I also had the 'nix' directory inside the /home partition, and then I
> bind-mounted /home/nix to /nix, also using the neededForBoot mounts.
Thanks for this. After adding the secret dependecy "crc32c" to the
initrd.kernelModules I got my system booting.
One question remains, how do I get fsck.btrfs available on bootup?
btrfsprogs provides btrfsck on my system profile. Do I have to use
boot.initrd.extraUtilsCommands to copy it by hand to the initrd?
--
Russell O'Connor <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''
More information about the nix-dev
mailing list