Jonatan Liljedahl wrote:
> I'm trying to install GoboLinux onto a USB stick (not LiveCD on USB, but
> a real install). The installation goes fine, but the system kernel
> panics at boot.
> It complains that it can't mount the root fs. Right after that the
> console outputs info about found usb device. May it be that usb-storage
> is a module so that the rootfs on the stick can't be accessed before the
> module has loaded (which of course is impossible since it's on the
> rootfs)? (in case I need to replace the kernel)

It seems usb-storage and stuff is already compiled in. But google tells
me the problem is the delay before detection of usb stick, and that one
needs to use an initrd.

Just for testing, I created an initramfs with an /init script like this:

#!/bin/sh
echo "Starting initramfs /init script..."
/bin/busybox sh

and in GRUB I say:

title GoboLinux - Graphic Desktop
root (hd0,0)
kernel /System/Kernel/Boot/kernel root=/dev/sdb1 vt.default_utf8=0 vga=0
Boot=Graphic
initrd /boot/initramfs.img

the initramfs is packed with find . | cpio -o -c | gzip -9 > ~/initramfs.img

At boot, the initrd is detected and the kernel starts booting, but then
it panics at "no file system could mount root". Since the point with
initrd is that the kernel should *not* mount the root fs, I guess it's
referring to the initramfs image?? Any ideas?

-- 
/Jonatan         [ http://kymatica.com ]
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to