[Nix-dev] grub 2 and long delays when booting

Eelco Dolstra e.dolstra at tudelft.nl
Sat Apr 24 10:08:47 CEST 2010


Hi,

Marc Weber wrote:

> when trying to boot my system I have to wait maybe a minute until
> I can see the kernel message and NixOS booting.

Try setting

  boot.loader.grub.copyKernels = true;

If you have a large /nix/store directory, GRUB seems to take a long time to
access the kernel and initrd images.  Copying them to /boot makes this much faster.

(However, this applies to GRUB 1 equally, so maybe you have a different problem.)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list