From mboxrd@z Thu Jan 1 00:00:00 1970 From: hub.lombard@free.fr Subject: Re: Supergrub2disk helped me to have the choice at startup Date: Sun, 20 Jan 2019 10:10:13 +0100 (CET) Message-ID: <1718730635.-1594378836.1547975413664.JavaMail.root@zimbra49-e8.priv.proxad.net> References: <87ef98oagz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gl97n-0003bN-1w for help-guix@gnu.org; Sun, 20 Jan 2019 04:10:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gl97e-0006mc-Ml for help-guix@gnu.org; Sun, 20 Jan 2019 04:10:37 -0500 Received: from smtp2-g21.free.fr ([2a01:e0c:1:1599::11]:26367) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gl97V-0006hu-7L for help-guix@gnu.org; Sun, 20 Jan 2019 04:10:23 -0500 In-Reply-To: <87ef98oagz.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Maxim Cournoyer Cc: Help Guix Hello Maxim :) Thank you for your answer, maybe I will make a test like : ;; Operating system configuration for a full ;; "desktop" environment with gnome and ;; gnome-shell (use-modules (gnu) (gnu system nss)) (use-service-modules desktop networking ssh) (use-package-modules certs gnome screen ssh) (menu-entries ;To obtain the releva= nt informations about (list ;label, linux, linux-= arguments and initrd (menu-entry ;I had a look to the = grub.cfg's Debian. (label "Debian GNU/Linux") ;What about the '/old= ' reposiory? (linux "/boot/old/vmlinuz-4.19.0-1-amd64") ;Like the exemple giv= en by Joshua and Maxim, (linux-arguments '("root=3D/dev/sda1")) ;I think to put it = in the same place. (initrd "/boot/old/initrd.img-4.19.0-1-amd64"))) ;Not tested yet (operating-system (host-name "gnu") (timezone "Europe/Paris") (locale "en_US.utf8") ;; Assuming /dev/sda is the target hard disk, and "my-root" is ;; the label of the target root file system, and /dev/sda6 the ;; target partition for the GuixSD's installation. (bootloader (grub-configuration (target "/dev/sda"))) (file-systems (cons (file-system (device "my-root") (title 'label) (mount-point "/") (type "ext4")) %base-file-systems)) ----- Mail original ----- De: "Maxim Cournoyer" =C3=80: "hub lombard" Cc: "Help Guix" Envoy=C3=A9: Samedi 19 Janvier 2019 17:53:16 Objet: Re: Supergrub2disk helped me to have the choice at startup Hello Hubert! hub.lombard@free.fr writes: > Hi Guix :) > > A few days ago, I managed to install GuixSD 0.16 next to debian testing o= n a Packard Bell 'EasyNote TE' laptop. > At reboot, Grub only offers GuixSD. > To have the choice at startup, I used the 'supergrub2disk' that I downloa= ded and put on a USB key, positioned as the first boot device. > SuperGRUB2disk gives me the choice between GuixSD and debian, and I can s= tart either one without any problem. > > For now, I keep the USB key inserted in the computer and everything is fi= ne, having nevertheless planned to address the problem of the restoration o= f GRUB.=20 > > Would someone have a track that would enlighten me a bit? In GuixSD, the way to handle dual (or more) boot is to define a list of menu-entries for the bootloader configuration in your OS config. It's documented here: https://www.gnu.org/software/guix/manual/en/html_node/Bootloader-Configurat= ion.html. For an actual example, this post might give you some idea: https://lists.gnu.org/archive/html/help-guix/2017-04/msg00045.html. Good luck! Maxim