Hi,
I have a custom linux environment with a 2.6 kernel downloaded from kernel.org with a simple busybox shell as init. The system boots off a SATA drive with root=/dev/sda with lilo, and it works perfectly.
I recently tried to achieve the same thing on a USB flash drive by simply dd-ing the SATA drive partition contents to the flash drive, but I'm getting the following error when booting up:
I only have a single flash drive plugged into the USB port, with no other SATA/IDE drives connected. AFAIK, that makes the flash drive /dev/sda, which translates to 801, so why isn't it booting up correctly?
My aim is to have a USB stick that boots up very quickly to a busybox shell, with nothing displayed to the screen till the shell, and with no GUI at all. All the Linux distros that I've seen for USB sticks are too complex.
Thanks.
I have a custom linux environment with a 2.6 kernel downloaded from kernel.org with a simple busybox shell as init. The system boots off a SATA drive with root=/dev/sda with lilo, and it works perfectly.
I recently tried to achieve the same thing on a USB flash drive by simply dd-ing the SATA drive partition contents to the flash drive, but I'm getting the following error when booting up:
Code:
VFS: Cannot open root device "801" or unknown-block(8,1)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
Pid: 1, comm: swapper not tainted 2.6.35.14 #1
I only have a single flash drive plugged into the USB port, with no other SATA/IDE drives connected. AFAIK, that makes the flash drive /dev/sda, which translates to 801, so why isn't it booting up correctly?
My aim is to have a USB stick that boots up very quickly to a busybox shell, with nothing displayed to the screen till the shell, and with no GUI at all. All the Linux distros that I've seen for USB sticks are too complex.
Thanks.