Kernel panic when booting off USB flash drive
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?
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 22.214.171.124 #1