Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Boot Gentoo live iso from grub
Date: Sun, 18 Feb 2018 19:10:48
Message-Id: a6e335df-e878-e3cf-29cf-4f744308cfad@gmail.com
In Reply to: Re: [gentoo-user] Boot Gentoo live iso from grub by Neil Bothwick
1 On 02/18/18 10:09, Neil Bothwick wrote:
2 > On Sun, 18 Feb 2018 09:54:07 -0800, Daniel Frey wrote:
3 >
4 >> I'd also tried getting the Gentoo LiveCD to boot via grub (although this
5 >> was almost two years ago) and never got it to boot. I don't remember if
6 >> I tried to get SysRescueCD to work either... on my newer EFI machines
7 >> I've been ditching Grub2 for refind.
8 >
9 > I used the systemd bootloader but I did try with refind, and it turns out
10 > I still have it installed. Here is the sysrescd.conf that I include from
11 > refind.conf
12 >
13 > menuentry "System Rescue Cd" {
14 > icon EFI/refind/icons/os_sysrescd.png
15 > loader /sysrescd/rescue64
16 > initrd /sysrescd/initram.igz
17 > options "subdir=sysrescd setkmap=uk rootpass=XXX"
18 > }
19 >
20 > I mount the sysrescd ISO and copy these files to /boot/sysrescd
21 >
22 > initram.igz
23 > rescue64
24 > sysrcd.dat
25 > sysrcd.md5
26 > version
27 >
28 > The entry for systemd-boot is
29 >
30 > title System Rescue Cd 5.2.0
31 > version 5.2.0
32 > linux /sysrescd/rescue64
33 > options subdir=sysrescd setkmap=uk rootpass=XXX
34 > initrd /sysrescd/initram.igz
35 >
36 >
37
38 Thanks for the tips.
39
40 I started moving away from Grub2 mostly because on my EFI computers it
41 was booting in blind mode so you couldn't see what was going on while
42 booting.
43
44 After messing with that now for an hour or so I've resolved that (on my
45 new laptop which I hadn't bothered moving to refind yet. So maybe I'll
46 go back to grub2.
47
48 The thing I hate is that the grub2 configuration generator generates
49 5000 line config files and if it doesn't do exactly what you want it's a
50 real pain in the arse to do something simple like rename a loader entry.
51
52 So I've been making my own config files that are much more brief. Now
53 that I've addressed the video problem (and I've also managed to boot
54 Windows 7 installed as EFI on a separate nvme drive with a manual
55 config) I'll mess with the booting from ISO again.
56
57 I wonder if I left enough in my /boot partition to do this, though...
58
59 Dan

Replies

Subject Author
Re: [gentoo-user] Boot Gentoo live iso from grub Neil Bothwick <neil@××××××××××.uk>