做了一个裁减的Linux,装在一个32M的DOC上面,在硬盘上启动完全没有问题,但是在DOC上启动时提示:
request _module[block_major_100]: Root fs not mounted
VFS: Cannot open root device "6401" or 64:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 64:01
很郁闷不知道如何解决!
不知是否和建立的设备号有关,在DOC驱动自带的说明说里面提及过以下的内容:
Lilo sources assigns major number of DOC device 62, while driver uses 100
by default. You may fix this by:
(a) patching the lilo sources by _doc_linux_dir_/lilo.h.patch
(b) manual editing of _doc_linux_dir_/lilo/lilo-22.3.2/lilo.h: replace string
#define MAJOR_FL 62
by
#define MAJOR_FL 100
(c)create appropriate nodes in /dev/msys by
./mknod_fl 62
and always load the driver with parameter fl_major=62.