Gentoo Archives: gentoo-user

From: Ian Bloss <ianlinkcd@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Boot Gentoo live iso from grub
Date: Fri, 16 Feb 2018 19:37:32
Message-Id: CADopNUc=G3243SWKctKujKBkp-twCPQLFU7nL-VWTPPTnLOm5A@mail.gmail.com
In Reply to: [gentoo-user] Boot Gentoo live iso from grub by zless
1 Probably need to pass a uuid to the real root kernel param
2
3 On Fri, Feb 16, 2018, 11:34 AM zless <zless@×××××.site> wrote:
4
5 > Hello all,
6 >
7 > I'm trying to have the Gentoo Live CD ISO as a recovery media in grub.
8 >
9 > I tried all the options I could think off in a custom grub menu entry like
10 > this:
11 >
12 > menuentry "Gentoo ISO" {
13 > set cmdline="root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs
14 > loop=/image.squashfs cdroot initrd=gentoo.igz BOOT_IMAGE=gentoo"
15 > loopback loop /path/to/iso/install-amd64-minimal-20180206T214502Z.iso
16 > linux (loop)/isolinux/gentoo $cmdline isoloop=/image.squashfs
17 > initrd=gentoo.igz vga=791 BOOT_IMAGE=gentoo
18 > initrd (loop)/isolinux/gentoo.igz
19 > }
20 >
21 > It boots the live CD kernel, it even asks for the keymap but then it fails
22 > to mount the root device.
23 >
24 > Any idea how to properly boot the iso from grub?
25 >
26 >
27 >
28 >
29 >
30 >