我已经从OpenWRT下载了个人电脑的OpenWRT站点文件。我已经安装了DHCP和TFTP (在我的局域网中),并且可以从它们启动(其他)内核。
现在我想引导这些OpenWRT文件。
我用PXE配置写的
DEFAULT minimallinux
SAY Now booting Minimal Linux...
LABEL minimallinux
MENU LABEL Minimal Linux
KERNEL vmlinuz
INITRD rootfs-squashfs.img.gz它引导,加载内核,然后加载映像,然后启动引导打印,最后在内核恐慌和重新启动时崩溃。
VFS:Cannot open root device "(null)" or unknown-block(0,0): error-6
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown un-blokc(0,0)我也试过
KERNEL vmlinuz
APPEND initrd=rootfs-squashfs.img.gz boot=live toram=rootfs-squashfs.img.gz和其他一些组合但失败了。
任何提示均获赏识:)
发布于 2019-08-30 23:23:38
尝试泛型-rootfs.tar.gz( https://downloads.openwrt.org/releases/18.06.4/targets/x86/64/openwrt-18.06.4-x86-64-generic-rootfs.tar.gz )
这对我来说很管用
LABEL openwrt
KERNEL openwrt/openwrt-x86-64-generic-vmlinuz
APPEND initrd=openwrt/openwrt-x86-64-generic-Generic-rootfs.tar.gz(调整文件名)
https://unix.stackexchange.com/questions/537107
复制相似问题