I take it you have read
https://forums.gentoo.org/viewtopic-t-790015-highlight-grub2+iso.html.
This did not work for me either, and it would leave me in the same
place: the root filesystem would not be uncompressed and pivoted to.

I can't remember exactly what the change was, but I think I retrieved
the answer from that thread. Try the entry at
https://forums.gentoo.org/viewtopic-p-6348023.html#6348023, which is:

menuentry "Gentoo Linux minimal install" {
  loopback loop /boot/iso/install-amd64-minimal-20100408.iso
  linux (loop)/isolinux/gentoo root=/dev/ram0 init=/linuxrc dokeymap
looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz
isoboot=/boot/iso/install-amd64-minimal-20100408.iso
  initrd (loop)/isolinux/gentoo.igz
}

The difference being a change in parameter name. isoloop is now
isoboot. If that fails look at
https://forums.gentoo.org/viewtopic-p-7719674.html#7719674, but it
seems to contain the same changes.

Having read all of that again this does seem like the fix. If that
*still* doesn't work, recursively grep the unpacked ISO file for
either isoloop or isoboot to find the location in the script you
should be looking at.

Cheers,
     R0b0t1

On Fri, Feb 16, 2018 at 1:34 PM, zless <zl...@dmesg.site> wrote:
> Hello all,
>
> I'm trying to have the Gentoo Live CD ISO as a recovery media in grub.
>
> I tried all the options I could think off in a custom grub menu entry like
> this:
>
> menuentry "Gentoo ISO" {
>     set cmdline="root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs 
> loop=/image.squashfs cdroot initrd=gentoo.igz BOOT_IMAGE=gentoo"
>     loopback loop /path/to/iso/install-amd64-minimal-20180206T214502Z.iso
>     linux  (loop)/isolinux/gentoo $cmdline isoloop=/image.squashfs 
> initrd=gentoo.igz vga=791 BOOT_IMAGE=gentoo
>     initrd (loop)/isolinux/gentoo.igz
> }
>
> It boots the live CD kernel, it even asks for the keymap but then it fails to 
> mount the root device.
>
> Any idea how to properly boot the iso from grub?
>
>
>
>
>

Reply via email to