View previous topic :: View next topic |
Author |
Message |
roby2009 n00b
Joined: 22 Aug 2010 Posts: 1
|
Posted: Sun Aug 22, 2010 10:29 am Post subject: gentoo 新手装机启动不了 |
|
|
我用genkernel编译的内核,启动的时候机子先是停在wd7000.....的位置后来加上 noload=pata_qdi可以通过,但到了加载模块的时候
checking root filesystem...
fsck.ext3: No such file or directory while trying to open /dev/hda4
/dev/hda4:
the superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext3 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
* Filesystem couldn't be fixed
Give root password for maintenance
(or type Control-D to continue)
我看了一下/dev/fstab 应该没有问题啊
============================
/dev/hda0 hpfs/ntfs
/dev/hda1 /root ext3
/dev/hda2 / ext3
/dev/hda3 none ext2 sw
============================================
我分了四个主区 /dev/hda0 是win server的
grub里面可以引导,请指教 |
|
Back to top |
|
|
hjhee n00b
Joined: 14 Feb 2008 Posts: 6 Location: Canton, PRC
|
Posted: Sun Aug 22, 2010 1:28 pm Post subject: |
|
|
用fdisk -l看看磁盘分区吧。
fsck.ext3: No such file or directory while trying to open /dev/hda4
是说/dev/hda4无法读取或者根本不存在。
也许grub.conf的root=/dev/hda?参数不对,而且/etc/fstab也写错了。grub把第一个分区标记为(hd,0),而Linux将第一个分区标记为hda1,没有hda0。
所以上面的/dev/hda0变成/dev/hda1,/dev/hda2变成/dev/hda3 |
|
Back to top |
|
|
|