我格式化了 USB 驱动器并复制了我的 rootfs 文件。并修改了 u-boot 引导参数:root=/dev/sda1。然后内核恐慌:
[ 5.910995] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[ 5.918354] Please append a correct "root=" boot option; here are the available partitions:
[ 5.926748] 0100 100000 ram0 (driver?)
[ 5.931416] 1f00 2048 mtdblock0 (driver?)
[ 5.936505] 1f01 2048 mtdblock1 (driver?)
[ 5.941594] 1f02 12288 mtdblock2 (driver?)
[ 5.946682] 1f03 2048 mtdblock3 (driver?)
[ 5.951772] 1f04 13312 mtdblock4 (driver?)
[ 5.956857] 1f05 507904 mtdblock5 (driver?)
[ 5.961945] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
尝试挂载 rootfs 时,内核似乎没有加载 USB 驱动器。如何将 USB 驱动器用作 rootfs?