grub2 loopback requires drive uuid in fromiso

Bug #987583 reported by thermionix
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

Using LMDE in a multiboot usb (https://gist.github.com/1840478) currently requires the kernel parameter 'fromiso' to specify the drive the iso is located on, this isn't necessary on most other ISO's that support loopback

set drive_uuid=C89C-7B3A
set isopath=/boot

#works when /dev/disk/by-uuid/ is used in the fromiso parameter
menuentry "Linux Mint 201204-mate-cinnamon-64bit-rc.iso" {
 set isofile="$isopath/linuxmint-201204-mate-cinnamon-64bit-rc.iso"
 loopback loop $isofile
 linux (loop)/casper/vmlinuz fromiso=/dev/disk/by-uuid/$drive_uuid/boot/linuxmint-201204-mate-cinnamon-64bit-rc.iso boot=live config live-media-path=/casper noeject --
 initrd (loop)/casper/initrd.lz
}

#fails with ...Linux Mint 201204-mate-cinnamon-64bit-rc.iso} not found
menuentry "Linux Mint 201204-mate-cinnamon-64bit-rc.iso" {
 set isofile="$isopath/linuxmint-201204-mate-cinnamon-64bit-rc.iso"
 loopback loop $isofile
 linux (loop)/casper/vmlinuz fromiso=$isofile boot=live config live-media-path=/casper noeject --
 initrd (loop)/casper/initrd.lz
}

Revision history for this message
Van Nilla (vanilla-z) wrote :

The fromiso issue may also need fixing in 32-bit Mint 13's...

For sure the mount.ntfs bug needs fixing:
http://forums.linuxmint.com/viewtopic.php?f=46&t=103062&start=20&hilit=mount.ntfs+syntax+error
Linux Mint 13: Grub2 ISO Loopback Not Working?

Revision history for this message
darethehair (darethehair) wrote :

Even though it does not address the fundamental question of this bug (i.e. why the 'fromiso=$isofile' technique doesn't work for LMDE 201204), it is worth noting that their is a better alternative than the 'fromiso=/dev/disk/by-uuid' one suggested above i.e. 'formiso=/dev/disk/by-label':

e.g.

menuentry "Mint Debian Edition" {
    set isofile="/boot/isos/LMDE"

    loopback loop $isofile
    linux (loop)/casper/vmlinuz fromiso=/dev/disk/by-label/yourusblabel/$isofile boot=live config live-media-path=/casper noeject --
    initrd (loop)/casper/initrd.lz
}

This is mentioned in this post:

http://forums.linuxmint.com/viewtopic.php?f=189&t=55543#p585723

...which in turn was inspired by this one:

http://forums.linuxmint.com/viewtopic.php?f=46&t=103062#p585374

I personally consider this to be an acceptable alternative if/until the original technique solution is found.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.