Public bug reported:

Binary package hint: iso-scan

Booting lucid desktop iso 20100210 64 bit from usb-stick via grub2 loopback 
does not work. It says "mounting /dev/sda5 on /isodevice failed: Invalid 
argument" and I get dropped to the shell. /dev/sda5 is not where the iso is. It 
happens to be a crypt-luks partition.
Using Bug #454456 as recipe I was able to continue the boot process by using 
the following commands:
(initramfs) mount -t ext4 /dev/disk/by-label/verbatim /isodevice
(initramfs) echo 
"LIVEMEDIA=/isodevice/boot/isostick/ubuntu/lucid-desktop-amd64.iso /" >> 
/conf/param.conf
(initramfs) echo "LIVEMEDIA_OFFSET=0" >> /conf/param.conf
(initramfs) exit

Booting the iso via loopback from the hard disk works fine, as does booting via 
loopback from this usb-stick on a different computer with a far simpler 
partition layout (no crypt-luks partiton among other things).
I have then gone and made a luks partition on the computer with the simpler 
layout. Booting from the stick still worked.
I have then overwritten the offending luks partition on the first computer with 
an ext4 filesystem. Now booting from the stick works.

suspicion:
iso-scan/filename=/boot/isostick/ubuntu/lucid-desktop-amd64.iso does give the 
wrong partition to the boot process, getting stuck on that particular 
crypt-luks partition.

the first bit of casper.log after boot with manual help:
Begin: Running /scripts/casper-premount ...
Done.
Begin: ...waiting for devs... ...
Done.
stdin: error 0
mount: mounting /dev/sda5 on /isodevice failed: Invalid argument
Cannot mount /dev/sda5 on /isodevice
Done.
Done.
Begin: Creating debconf-communicate fifo mechanism ...
Done.
Begin: Running /scripts/casper-bottom ...
Begin: Moving mount points... ...
Done.
Begin: Adding live session user... ...

The layout:
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=       63, size= 36419292, Id=83, bootable
/dev/sda2 : start=        0, size=        0, Id= 0
/dev/sda3 : start= 36419355, size=276157350, Id= 5
/dev/sda4 : start=        0, size=        0, Id= 0
/dev/sda5 : start=114543513, size= 60998742, Id=83
/dev/sda6 : start=175542318, size= 86879457, Id=83
/dev/sda7 : start= 36419481, size=  5012154, Id=82
/dev/sda8 : start=262421838, size= 20322162, Id=83
/dev/sda9 : start=282744063, size= 19534977, Id=83
/dev/sda10: start= 41431698, size= 45062262, Id=83

** Affects: iso-scan (Ubuntu)
     Importance: Undecided
         Status: New

-- 
booting iso from stick via grub2 loopback gets stuck on particular crypt-luks 
partition
https://bugs.launchpad.net/bugs/520500
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to