PDA

View Full Version : Can I boot Knoppix with Kernel 2.6 of a USB fob ?



spyhome
08-19-2005, 01:00 PM
Hello,

I was wondering why neither DSL nor Feather Linux use the 2.6 Kernel for booting of a USB fob.
Are there any difficulties with booting a 2.6 kernel?

I tryed to change the kernel Image and the minirt.gz, but wasn't able to boot afterwards.
With the standard ISOs of DSL and Feather Linux with kernel version 2.4 it works.

What I am thinking of is a customized Knoppix with KDE and 2.6 Kernel that boots from my USB fob.

Maybe there is already such a Knoppix. If somebody can give me a hint, that would be great.

CU
Christian

Harry Kuhman
08-19-2005, 05:49 PM
I was wondering why neither DSL nor Feather Linux use the 2.6 Kernel for booting of a USB fob.
Are there any difficulties with booting a 2.6 kernel?
Look at when DSL was made and when it was last updated. This predates 2.6 in Knoppix. I don't know about Feather but I expect it's the same.

spyhome
08-25-2005, 10:05 AM
Hello everybody,

I finally made it to the init process. So I think linuxrc and kernel hopefully do work fine.
Now I have the following message when the init process starts:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,3)

So if I understand the message right, the init process is not able to mount my USB fob. Is that right?
I really don't know what to do now. Can somebody please help me out?

I'm still trying to boot my Knoppix 3.8.2 with syslinux 2.11......

Greatings

Christian

spyhome
08-26-2005, 02:29 PM
Maybe it helps if I give you all some more Information.
I'm still not able to boot up the remasterd version I did.

This is the syslinux.cfg file I'm using:


DEFAULT linux
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=de apm=power-off vga=791 initrd=m
inirt.gz nomce quiet BOOT_IMAGE=knoppix
TIMEOUT 300
KBDMAP german.kbd
PROMPT 1
DISPLAY boot.msg
F1 boot.msg
F2 f2
F3 f3
LABEL knoppix
KERNEL linux26
APPEND ramdisk_size=100000 initrd=minirt.gz vga=normal lang=de BOOT_IMAGE=knoppix


The last lines where the boot process stops after the kernel image linux26 and the initrd.gz have been loaded is


RAMDISK: Couldn't find valid RAM disk image starting at 0.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,3)


My usb stick holds the following files:


drwxr-xr-x 2 root root 16K 2005-08-26 14:53 boot
-rwxr-xr-x 1 root root 147 2005-08-25 14:03 boot.msg
-rwxr-xr-x 1 root root 1,5K 2005-08-25 14:03 f2
-rwxr-xr-x 1 root root 1,7K 2005-08-25 14:03 f3
-rwxr-xr-x 1 root root 256 2005-08-25 14:03 german.kbd
drwxr-xr-x 2 root root 16K 2005-08-25 14:04 knoppix
-r-xr-xr-x 1 root root 8,1K 2005-08-26 14:55 ldlinux.sys
-rwxr-xr-x 1 root root 1,5M 2005-08-25 14:04 linux
-rwxr-xr-x 1 root root 1,5M 2005-08-26 14:52 linux26
-rwxr-xr-x 1 root root 80K 2005-08-25 14:04 logo.16
-r-xr-xr-x 1 root root 1,1M 2005-08-26 14:36 minirt.gz
-rwxr-xr-x 1 root root 338 2005-08-26 14:54 syslinux.cfg

I have also changed the linuxrc inside the minirt.gz image. It loads the usb modules directly at the beginning.


KNOPPIX_DIR="KNOPPIX"
KNOPPIX_NAME="KNOPPIX"
case "$CMDLINE" in *knoppix_dir=*) KNOPPIX_DIR="$knoppix_dir"; ;; esac
case "$CMDLINE" in *knoppix_name=*) KNOPPIX_NAME="$knoppix_name"; ;; esac

INSMOD /modules/scsi/ehci-hcd.o >/dev/null 2>&1
$INSMOD /modules/scsi/usbcore.o >/dev/null 2>&1
$INSMOD /modules/scsi/usb-uhci.o >/dev/null 2>&1
$INSMOD /modules/scsi/uhci.o >/dev/null 2>&1
$INSMOD /modules/scsi/usb-ohci.o >/dev/null 2>&1
$INSMOD /modules/scsi/usb-storage.o >/dev/null 2>&1
$INSMOD /modules/scsi/ub.o >/dev/null 2>&1
ash -c "sleep 4"


But since I dont even reach this point in the booting process .....

Doesn't anybody know what I'm doing wrong?
I almoust can't believe that nobody has done it bevore.

Please help me out !
If I could, I would pay you a beer!

Christian