Hello gdpph,Hi:
Tuesday, August 14, 2001, 4:36:34 PM, you wrote:gpggc> caozhong <gdpph@public.guangzhou.gd.cn> writes:
gpggc> 我在woody下,將kernel由2.2.18pre21升級到2.4.7(do like:apt-get install kernel-image-2.4.7-k6),但重新啟動後提示不能mount root fs,不能啟動系統。
gpggc> 請問該如何升級2.2kernel到2.4,以及如何配置?
我也遇到同樣的問題,仍然沒有解決,我從2.2.19到2.4.5,2.4.6,2.4.7都沒有升級成功
我用的是grub引導的,裝在邏輯分區,總是報錯,要指定Root,實際上已經給了root=/dev/ha*的參數
到底為什麼呢? 下面是出錯信息:
"request_module[block-major-3]:Root fs not mounted
VFS: Cannot open root device "hda16" or 03:10
Please append a correct "root=" boot option
kernel panic:VFS:Unable to mount root fs on 03:10"--
Best regards,
slabslab mailto:slabslab@etang.com--
1. Add a line like this 'initrd=/boot/initrd-2.4.x.xx'
in the '/etc/lilo.conf' file.
For the current 2.4.9 kernel,
you should have a section similar to following in the 'lilo.conf':
image=/vmlinuz
label=linux
read-only
initrd=/boot/initrd-2.4.95-386
I assume your kernel image is put in /boot directory.
The '/vmlinuz' at the above 'image' line is a symlink
to '/boot/vmlinuz-2.4.9-386', and you should see a 'initrd-2.4.9-386'
file in the '/boot' directory.
2. run (as root) lilo and you are ok.