|
发表于 2011-2-28 12:53:32
|
显示全部楼层
这个问题曾经困扰我几天,后来一次次编译内核后发现,
因为没有选择合适的硬盘驱动
有几个选项是必选的
Support for large (2TB+) block devices and files
(虽然我的硬盘只有500G,但是不选这个就会出现你说的VFS:unable to mount root fs on unknown-block(0,0))
Block devices --->
<*> Loopback device support
-*- SCSI device support
legacy /proc/scsi/ support
<*> SCSI disk support
<*> SCSI generic support
Probe all LUNs on each SCSI device
Asynchronous SCSI scanning (这个非常重要,貌似你的问题和这个有关,必选!)
我的是sata硬盘,amd系列主板,所以
<*> Serial ATA and Parallel ATA drivers --->
ATA ACPI Support
SATA Port Multiplier support
<*> AHCI SATA support
ATA SFF support
ATA BMDMA support
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
<*> AMD/NVidia PATA support
<*> ATI PATA support
除了最后那几个amd ati相关的选项,那几个都是必选的,你编译一个看看 |
|