[Nix-dev] Fwd: Moving /nix/store to another partition
Sergey Mironov
grrwlf at gmail.com
Mon Jul 28 12:35:22 CEST 2014
Sorry, forgot to CC to all.
---------- Forwarded message ----------
From: Sergey Mironov <grrwlf at gmail.com>
Date: 2014-07-28 14:34 GMT+04:00
Subject: Re: [Nix-dev] Moving /nix/store to another partition
To: Luca Bruno <lethalman88 at gmail.com>
2014-07-28 13:59 GMT+04:00 Luca Bruno <lethalman88 at gmail.com>:
> On 28/07/2014 11:54, Sergey Mironov wrote:
> Relocating means rebuilding everything from scratch.
> The other possibility is to bind mount /home/nix/store to /nix/store.
> The problem is that the nix store is needed in initrd. So the bind mount
> is not easy, you may end up with the system not booting.
Interestingly. I didn't think about initrd. In theory, I may try to
customize the initrd script to do bind mount (I hope I have HDD driver
compiled in kernel). What do you think, will it be sufficient? Should
I do the bind mount once again during stage2 ?
Regards,
Sergey
More information about the nix-dev
mailing list