Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692456 - iso images can't be booted via grub
Summary: iso images can't be booted via grub
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: InstallCD (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-18 16:34 UTC by Toralf Förster
Modified: 2019-08-18 21:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-08-18 16:34:58 UTC
I do have these grub entries 
tfoerste@t44 ~ $ cat /etc/grub.d/40_custom 
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Gentoo Minimal" {
  set isofile='/home/Downloads/minimal.iso'
  loopback loop $isofile
  set root=(loop)

  linux  /isolinux/gentoo root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot isoboot=$isofile vga=791 dokeymap
  initrd /isolinux/gentoo.igz
}

menuentry "Gentoo Admin" {
  set isofile='/home/Downloads/admincd.iso'
  loopback loop $isofile
  set root=(loop)

  linux  /isolinux/gentoo root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot isoboot=$isofile vga=791 dokeymap
  initrd /isolinux/gentoo.igz
}




which worked flawlessly with admincd-amd64-20180320T214502Z.iso and install-amd64-minimal-20170907.iso.

However with admincd-amd64-20190814T214502Z.iso and install-amd64-minimal-20190814T214502Z.iso I do get:

error: file '/isolinux/gentoo' not found.
error: you need to laod the kernel first.

Press any key to continue ...





How can I boot latest ISO images too at my notebook?
Comment 1 Francesco Turco 2019-08-18 20:33:55 UTC
You probably need to replace "/isolinux/gentoo" with "/boot/gentoo", and "/isolinux/gentoo.igz" with "/boot/gentoo.igz". But I have not personally tested that...
Comment 2 Toralf Förster gentoo-dev 2019-08-18 21:31:33 UTC
(In reply to Francesco Turco from comment #1)
> You probably need to replace "/isolinux/gentoo" with "/boot/gentoo", and
> "/isolinux/gentoo.igz" with "/boot/gentoo.igz". But I have not personally
> tested that...

OMG - life can be so easy...

Thx !