PDA

View Full Version : Bug Found! Booting Gusty RC1 From USB stick


mburris
October 17th, 2007, 07:15 AM
I am unable to boot the stock filesystem.squashfs (found on the Gusty RC1 CD at /casper) or a custom filesystem.squashfs I have created from my Gusty installation.

Through various different tests and troubleshooting methods I have isolated the problem to the initrd.gz that accompanies the Gusty RC1 CD.

If I take the initrd.gz and vmlinux files from a feisty install CD, my Gusty squashed filesystem will start (with some pretty major hardware issues, ie. no touchpad)

Basically I am using Grub on my USB stick to boot to {usb_stick}/casper/initrd.gz
from there the {usb_stick}/casper/filesystem.squashfs should be called but isn't.

Here is the casper.log file that shows the errors:
+ PREREQ=
+ . /scripts/casper-functions
+ . /scripts/functions
+ prereqs
+ echo
+ exit 0
+ PREREQ=
+ . /scripts/casper-functions
+ . /scripts/functions
+ . /scripts/lupin-helpers
+ . /scripts/casper-helpers
+ [ Ubuntu = Ubuntu ]
+ MP_QUIET=-Q
+ [ ! -x /bin/fstype ]
+ iso_path=
+ cat /proc/cmdline
+ [ ]
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
/init: /init: 1: cannot open /dev/scd0: No medium found
Unable to find a medium containing a live file system

So as you can see for some reason it is not looking for the live filesystem on my USB stick which is shows up in /dev as sda1

bikeboy
October 17th, 2007, 07:41 AM
Has your bug report been confirmed or assigned to anyone?

mburris
October 17th, 2007, 08:56 AM
hmm looks like I just needed to have the hidden folder .disk on the root of my USB stick. Appearently the new UUID stuff used by casper calls for it.

So as long as the file "casper-uuid-generic" contains the same UUID as referenced in {initrd_archive}\conf\uuid.conf then all should work well.

bromix
October 17th, 2007, 09:00 AM
I'm not trying to be rude... but if you have an issue....try the searching these forums and posting if you don't have an answer. If you feel it's a bug, register at launchpad...the instructions are found on Ubuntu's testing page, and file a formal bug report. Please try not to include BUG FOUND!! before posting problems you have. Be sure to mark this post as solved. You can do that by clicking the Thread Tools, and choosing mark as solved. Thanks :)