[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dualbooting with guixsd not handling grub installation

From: Oleg Pykhalov
Subject: Re: Dualbooting with guixsd not handling grub installation
Date: Tue, 06 Feb 2018 15:25:34 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

address@hidden (Ludovic Courtès) writes:
  > I think we should keep ‘menu-entry’ bootloader-independent.

What does mean “independent”?  Do you mean that it's working only for
Grub now?  I guess others bootloaders could have this if they need to
generate a configuration file like “/boot/grub/grub.cfg”.

  > I’m actually not sure what problem we’re trying to solve: is it that
  > the ‘root’ variable in GRUB gets set to the wrong partition when you
  > try to dual-boot?

The problem is I cannot get a Grub “menu-entry” in “/boot/grub/grub.cfg”
which should look like:
--8<---------------cut here---------------start------------->8---
menuentry "Another distro" {
  search --label --set another-disk-label
  configfile /boot/grub/grub.cfg
--8<---------------cut here---------------end--------------->8---

Also “linux” and “initrd” fields of “menu-entry” are required to be
defined which prevents from generating the snippet above.



Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]