casper finds devices not by looking for /casper/filesystem.squashfs, but
rather by checking .disk/casper-uuid.

in initramfs, scripts/casper:matches_uuid() looks like:
...
for try_uuid_file in "$mountpoint/.disk/casper-uuid"*
 ...

 extract an initramfs with zcat | cpio -i, if you want to look at /init
or scripts/casper....

 If you didn't copy .disk from the CD, casper won't use
filesystem.squashfs.  There's a script called isotostick.sh linked to
from https://help.ubuntu.com/community/Installation/FromUSBStick.  It
sets up syslinux and everything, though, so if you already have grub on
your USB, use that.  The .disk thing should be all you need.

Also note that you can copy a .iso to a USB stick and boot vmlinuz+initrd.gz 
with
boot=casper iso-scan/filename=/intrepid/intrepid-desktop-amd64.iso

 That makes it easier to have multiple bootable CDs on a USB stick at
the same time.

 but watch out for linux not detecting your USB drive before it creates
the list of devices to scan for the .iso.  I put break=mount in my
syslinux.cfg, to pause while stuff is detected.
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/158976


** Changed in: casper (Ubuntu)
       Status: New => Invalid

-- 
[Hardy] 2.6.24 does not boot from USB
https://bugs.launchpad.net/bugs/216565
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