David Douthitt wrote: > Natanael Copa wrote: >> FYI. I never got your stick.img to boot. First I got the same "no >> operating system" message as previously mentioned. After installing the >> syslinux mbr.bin on the stick it found the kernel and booted it up but >> ended with a kernel panic: >> "Can't open /var/lib/lrpkg/root.dev.own" > > That doesn't sound like a kernel panic; after all, wouldn't it be after > mounting /var and so on? If the kernel panicked, it would give a > different message, I'd think.
You are right. I guess it failed to mount the device where root.lrp were. I don't remember the exact kernel panic message but it was probably "trying to kill init" or something like that. The problem wasn't the kernel panic but that it couldn't find root.dev.own. > If you want to debug it, just give the kernel a parameter of: > > init=/bin/sh > > and root about in the environment after booting... Thanks! I'll keep that in mind. I don't think I'll have the time to debug it. I just wanted to test. I was curious if it worked to distribute usb images. First thing failed was the missing dos mbr. (probaly because my bios require it and Jørn's bios does not?) Second thing was the "kernel panic" (which was not really a kernel panic problem but rather mounting the right device problem) If I'm gonna guess without really debug things, (blue sky....) I would guess that the scsi subsystem detected my SATA disks and placed the usb device as /dev/sdc or something like that. If thats the case, then I would suggest that you scan the scsi bus and fond out what is disks and what is usb and create a symlink, in a similar way that you scan for the cdrom in MKBLKDEV: for file in /proc/ide/hd?/media /proc/scsi/scsi; do [ -r $file ] || continue while read line ; do case $line in *CD-ROM*|*cdrom*) CDDEV=${file#/proc/*/} CDDEV=${CDDEV%/media} [ "$CDDEV" = "scsi" ] && CDDEV=scd0 break 2 ;; esac done <$file done [ -n "$CDDEV" ] && ln -sf /dev/$CDDEV /dev/cdrom But again, I haven't really investigated it. It's just guessing... -- Natanael Copa ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel