How to solve the linux kernel panic for unable to mount root fs on unknow-block(0,0)?
Here is the debug info(sorry for no embed image cause i have no enough reputations):
kernel panic debug info image
My plan is this: build a minimal linux on portable devices (e.g. USB flash disk) by linux kernel,extlinuxsyslinux and busybox.
And my build process is this:
- compile and install kernel to bzImage, just add debug info and ext23 support features based on default configure.
- compile and install busybox, and modified it to looks like root file system.Basically rely on this website.
- made msdos disk label to usb flash disk which partitioned by only one part with ext4 fs and boot flag.
- install extlinux on usb flash disk and config the syslinux.cfg(here it is).
PROMPT 1 TIMEOUT 50 DEFAULT linux LABEL linux LINUX ./bzImage APPEND init=/sbin/init root=/dev/sdb1 rw INITRD ./rootfs.img
Since i have modified the syslinux.cfg file many times, even now i still suspect the config have problem.
btw, i have been suffered by this issue for days, please help me out.
linux kernel version : linux-4.19.65
busybox version : busybox-1.32.0