On Sat, 29 Aug 2015, 宋文武 wrote:
Indeed, I think nixos-install should create the grub.cfg without touch the
MBR when you set 'boot.loader.grub.device' to "nodev".
You need modify your main grub.cfg (the Ubuntu one) to add a
NixOS menuentry with 'chainloader' or 'configfile'.
Ok, I succeeded with the configfile approach. However I have to run
nixos-install twice in order to eventually get a grub.cfg. I have in
/etc/nixos/configuration.nix:
boot.loader = {
grub.enable = true;
grub.version = 2;
grub.device = "nodev";
};
Now I can successfully boot NixOS!_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev