问题:Debian内核升级为2.4.20后,旧的内核无法启动
我在Virtual Pc 中编译方式升级Debian内核,更改lilo,新的内核能正常启动,可是旧的内核启动后,提示:request_module:Root fs not mounted
Please append a correct "root=" boot option
Kenel panic:VFS:Unable to mountroot fs on 03:01
怎样加 root= 的参数?加在哪里?
谢谢!
具体启动过程如下:
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
devfs: v1.10 (20020120) Richard Gooch ([email protected])
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_
RQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a TI16750
ttyS01 at 0x02f8 (irq = 3) is a TI16750
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
Linux IP multicast router 0.06 plus PIM-SM
request_module: Root fs not mounted
VFS: Cannot open root device "301" or 03:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:01 请搜索有关lilo配置的帖子。 如果系统根分区在 /dev/hdax
在 lilo.conf 里面加上 root = /dev/hdax 可能你没有看清楚它的安装提示:
1. 在/etc/lilo.conf中加入这一行: install=menu
2. 在此文件的image=/vmlinuz节段,加入如下一行: initrd=/initrd.img
3. 存盘退出,然后运行lilo
4. 在/etc/kernel-img.conf中加入这一行: do_initrd=Yes
然后应该OK了,至少在我的机子可行。
建议安装的时候要看清系统提示,可能对你很有帮助的哦!
页:
[1]