+ -
当前位置:首页 → 问答吧 → genkernel编译的内核不能启动

genkernel编译的内核不能启动

时间:2005-10-24

来源:互联网

amd64-universal-2005.1,用genkernel all编译的内核,reiserfs,装在sda10的分区上,grub在mdk2006-X64的分区上,内容为:
root (hd0,9)
kernel (hd0,9)/boot/bzImage root=/dev/sda10


fstab:
/dev/sda10 / reiserfs defaults 0 0

开机错误为:
VFS:Cannot open root device "sda10" or unknown-block(0,0)
please append a correct "root=" boot option
kernel panic -not syncing:VFS:unable to mount root fs on unknown -block(0,0)

第一次装amd64,配置为AMD300+E3,盘正9NPAJ,sata硬盘。请问要怎么办呀?

作者: inkscape   发布时间: 2005-10-24

Grub.conf中的root=/dev/hdaX 写错了
修改一下,或者就是你的fstab写错了

作者: wangxudong   发布时间: 2005-10-24

引用:
作者: wangxudong
Grub.conf中的root=/dev/hdaX 写错了
修改一下,或者就是你的fstab写错了
MDK2006里的也是这么写的,MDK在sda9上面,她写的是root=/dev/sda9,我的gentoo在sda10上面,所以就写的root=/dev/sda10。

作者: inkscape   发布时间: 2005-10-24

有可能是你把文件系统编译成模快了,root的文件系统要编译进内核。还有就是你没有编译VFS支持。

作者: yetop   发布时间: 2005-10-25

reiserfs编时内核了,VFS没注意。

sata的硬盘需要编译什么支持,还是跟IDE硬盘一样用?
盘正9NPAJ的主板集成的网卡和声卡在内核里该怎么选?

作者: inkscape   发布时间: 2005-10-25

引用:
作者: inkscape
reiserfs编时内核了,VFS没注意。

sata的硬盘需要编译什么支持,还是跟IDE硬盘一样用?
盘正9NPAJ的主板集成的网卡和声卡在内核里该怎么选?
ext2 ext3最好也编译进内核
下边这个必须。[*] Virtual memory file system support (former shm fs)
[*] Support for SATA (deprecated; conflicts with libata SATA driver)

网卡声卡你要看芯片,在内核里找对应的。

作者: yetop   发布时间: 2005-10-26

又重装了一遍,从MDK2006-X64开始装,自已编的内核,这次启动多一点了,但启动到Mounting network filesystem [ok]时卡住了,上面说到的两个内核的地方都选了,ext2没编进内核。记得上次在其它电脑上装,自已编的内核也在mount network filesystem时卡住的,用genkernel编的就能进,进去后再自已编内核就可以了,这回还没有用genkernel来编,内核基本上是按默认的,再加上网卡、声卡和使用的FS,其它的没什么选的了。卡在mounting network filesystem这里怎么办?

作者: inkscape   发布时间: 2005-10-26

* Kernel compiled successfully!
*

* Required Kernel Parameters:
*
real_root=/dev/$ROOT
*
*
Where $ROOT is the device node for your root partition as the
*
one specified in /etc/fstab
*

* If you require Genkernel's hardware detection features; you MUST
*
tell your bootloader to use the provided INITRAMFS file. Otherwise;
*
substitute the root argument for the real_root argument if you are
*
not planning to use the initrd...


* WARNING... WARNING... WARNING...
*
Additional kernel cmdline arguments that *may* be required to boot properly...
*
add "vga=791 splash=silent" if you use a bootsplash framebuffer

*
Do NOT report kernel bugs as genkernel bugs unless your bug
*
is about the default genkernel configuration...
*

* Make sure you have the latest genkernel before reporting bugs.

这是要做什么?

作者: inkscape   发布时间: 2005-10-26