Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo 新手装机启动不了
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
roby2009
n00b
n00b


Joined: 22 Aug 2010
Posts: 1

PostPosted: Sun Aug 22, 2010 10:29 am    Post subject: gentoo 新手装机启动不了 Reply with quote

我用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
View user's profile Send private message
hjhee
n00b
n00b


Joined: 14 Feb 2008
Posts: 6
Location: Canton, PRC

PostPosted: Sun Aug 22, 2010 1:28 pm    Post subject: Reply with quote

用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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum