[Nix-dev] NixOS installation on multi-boot system with GRUB
Joel Moberg
joel.moberg at gmail.com
Sat Aug 29 08:25:56 CEST 2015
I think you can use chain-loading. Then two GRUBs will be installed, one
will load the other. See this example for the config option in NixOS
http://hydra.nixos.org/build/25232900/download/2/nixos/options.html#opt-boot.loader.grub.extraEntries.
And here is GRUBs manual about it
https://www.gnu.org/software/grub/manual/html_node/Chain_002dloading.html.
This is exactly what iyzsong suggested. If you installed NixOS you edit
/etc/nixos/configuration.nix.
On Sat, Aug 29, 2015 at 1:48 AM, Henning Thielemann <
lemming at henning-thielemann.de> wrote:
>
> On Fri, 28 Aug 2015, Anderson Torres wrote:
>
> > 2015-08-28 12:38 GMT-03:00 Henning Thielemann <
> lemming at henning-thielemann.de>:
> >>
> >> I find no /boot/grub/grub.cfg on the NixOS partition, not even a 'grub'
> >> directory. Am I supposed to write a grub.cfg myself or should
> nixos-install
> >> create one for me? If the latter one, how can I make nixos-install
> create a
> >> grub.cfg for me but not install a boot-loader?
> >
> > Do you need NixOS controlling the boot of other OSes on your machine?
>
> No, I want to keep Ubuntu managing GRUB.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150829/d6d7b156/attachment.html
More information about the nix-dev
mailing list