[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Boot .iso with GRUB2



__________
I'm using this express-made address because personal addresses aren't masked enough at this mail public archive. Public archive administrator should fix this against automated addresses collectors.
El 05/04/18 a les 11:16, Luca Boccassi ha escrit:
On Thu, 2018-04-05 at 10:01 +0200, Narcis Garcia wrote:
Has anybody reached to boot a Debian ISO image?
For example, installing GRUB2 on a USB stick with .iso files.

I've tried this with no luck*:*

submenu "debian-live-9.4.0-amd64-gnome.iso" {
    iso_path="/debian-live-9.4.0-amd64-gnome.iso"
    search --set=root --file $iso_path
    loopback --delete loop
    loopback loop $iso_path
    root=(loop)
    menuentry "Debian GNU/Linux Live (kernel 4.9.0-6-amd64) [grub]" {
      linux  /live/vmlinuz-4.9.0-6-amd64 boot=live components
"${loopback}"
      initrd /live/initrd.img-4.9.0-6-amd64
    }
}

Results in*:*

[...] ... mounted filesystem...
[...] random: crng init done
Busybox ...
(initramfs) Unable to find a medium containing a live file system
How are you installing the ISO on the USB stick? Did you build the
image yourself, if not where is it from?

Original .ISOs from Debian torrent downloads.
$ cp debian-live-9.4.0-amd64-gnome.iso /media/user/MyStick
$ grub-install "--root-directory=/media/user/MyStick" /dev/sdX


Reply to: