help-guix
[Top][All Lists]
Advanced

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

Re: Supergrub2disk helped me to have the choice at startup


From: Joshua Branson
Subject: Re: Supergrub2disk helped me to have the choice at startup
Date: Sat, 19 Jan 2019 11:14:46 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

address@hidden writes:

> Hi Guix :)
>
> A few days ago, I managed to install GuixSD 0.16 next to debian testing on a 
> Packard Bell 'EasyNote TE' laptop.
> At reboot, Grub only offers GuixSD.
> To have the choice at startup, I used the 'supergrub2disk' that I downloaded 
> and put on a USB key, positioned as the first boot device.
> SuperGRUB2disk gives me the choice between GuixSD and debian, and I can start 
> either one without any problem.
>
> For now, I keep the USB key inserted in the computer and everything is fine, 
> having nevertheless planned to address the problem of the restoration of 
> GRUB. 

Hello,

Guix actually supports dual booting.

    (menu-entry
       (label "The Other Distro")
       (linux "/boot/old/vmlinux-2.6.32")
       (linux-arguments '("root=/dev/sda2"))
       (initrd "/boot/old/initrd"))

You can read the relevant information in the guix manual.  The chapter
is titled:  6.2.12 Bootloader Configuration.

>
> Would someone have a track that would enlighten me a bit?
>
> The GRUB originally installed on debian was on /dev/sda1
>
> I installed GuixSD on /dev/sda6 (my-root). As a result, the new GRUB is also 
> on /dev/sda6. In 'config.scm', the bootloader points to /dev/sda
>
> (bootloader (grub-configuration (target "/dev/sda")))
> (file-systems (cons (file-system
>                       (device "my-root")
>                       (title 'label)
>                       (mount-point "/")
>                       (type "ext4"))
>                     %base-file-systems))
>
> Apart from this issue, I will focus on the importance of supergrub2disk in 
> the case of an installation, especially for an end user like me.
>
> The first time it was after the installation of GuixSD 0.14 on my other 
> laptop, it had worked as well and GRUB had been easy to restore.
>
> https://www.supergrubdisk.org/category/download/supergrub2diskdownload/
>
> Hoping it could be useful to other people ...
>
> Thank you in advance for your advice
>
> Hubert
>

-- 
Joshua Branson
Sent from Emacs and Gnus



reply via email to

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