Qemu Linux
Linux Kernel
First Boot
[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0, 0) ]
rootfs
Log
INSTALL drivers/thermal/intel/x86_pkg_temp_thermal.koINSTALL fs/efivarfs/efivarfs.koINSTALL net/ipv4/netfilter/iptable_nat.koINSTALL net/ipv4/netfilter/nf_log_arp.koINSTALL net/ipv4/netfilter/nf_log_ipv4.koINSTALL net/ipv6/netfilter/nf_log_ipv6.koINSTALL net/netfilter/nf_log_common.koINSTALL net/netfilter/xt_LOG.koINSTALL net/netfilter/xt_MASQUERADE.koINSTALL net/netfilter/xt_addrtype.koINSTALL net/netfilter/xt_mark.koINSTALL net/netfilter/xt_nat.koDEPMOD 5.12.5
Second boot
[ end Kernel panic - not syncing: No working init found. Try passing init= option to Kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]
busybox
menuconfig
Settings --->--- Build Options[*] Build BusyBox as a static binary (no shared libs)
can't run '/etc/init.d/rcS': No such file or directorycan't open /dev/tty3: No such file or directorycan't open /dev/tty4: No such file or directory
./img/etc/inittab
./img/etc/init.d/rcS
/dev /sys /proc
./img/etc/init.d/rcS
评论