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
pisit
n00b
n00b


Joined: 16 Jul 2011
Posts: 1

PostPosted: Sat Jul 16, 2011 9:37 am    Post subject: 大家帮忙看看,新手安装gentoo,启动不了 Reply with quote

https://lh4.googleusercontent.com/-YX7pMr5EBCw/TiFA-J5unFI/AAAAAAAAEQw/av6HBo1V3oY/w402/2011-07-16%2B00.33.30.jpg
Back to top
View user's profile Send private message
gj313
n00b
n00b


Joined: 11 May 2011
Posts: 9

PostPosted: Sat Jul 16, 2011 11:18 am    Post subject: Reply with quote

好像提示无法挂载ROOT的

我在安装的时候,使用手册里面
Code:
make && make modules_install
似乎一直都不成功的,需要借助用genkernel工具,initramfs好像有时候也不顺利
Back to top
View user's profile Send private message
tianqingfei
n00b
n00b


Joined: 11 Sep 2011
Posts: 14

PostPosted: Sun Sep 11, 2011 2:53 pm    Post subject: Reply with quote

主要是gentoo默认的内核安装时没有选择支持ext2文件格式,而按照官方的文档,boot分区被格式化为了ext2.结果启动时要挂载boot分区时,内核不认识ext2格式,导致无法挂载。


解决方法是

在编译内核时选中对ext2文件格式的支持,好像在driver选项里面。


或将boot分区直接格式化为ext3格式,即
mkext2 -j /dev/sda1
Back to top
View user's profile Send private message
zzj666
n00b
n00b


Joined: 14 Sep 2011
Posts: 4
Location: Heifei,China

PostPosted: Wed Sep 14, 2011 6:04 pm    Post subject: Reply with quote

给你解释一下,从
Quote:
Root-NFS:no NFS server address

开始。错误也是从这里开始的。
Quote:
VFS: Unable to mount root fs via NFS, trying floppy.

虚拟文件系统通过‘网络文件系统’来加在根文件系统,但是没有设定网络文件系统的地址。
Quote:
VFS: Cannot open root device "sda4" or unknow-block(2.0)

虚拟文件系统不能打开sda4分区(挂载点),未知的块设备。
再后面一句就是告诉你要在grub.conf文件中,需要加上正确的根文件系统所在分区(挂载点)

建议:
1、检查内核编译情况,是否加入了相应文件系统的支持;
2、检查/etc/fstab和/boot/grub/grub.conf文件,看看挂载点是否正确。另外grub.conf文件中
根文件系统位置必须正确,否则无法加载系统;
3、如果你的机子是服务器,检查网络文件系统设置是否正确,另外目标系统是否正常工作。

贴两个例子给你:
Quote:

# /boot/grub/grub.conf
title Gentoo Linux
root (hd0,2)
kernel (hd0,1)/kernel-genkernel-x86-2.6.39-gentoo-r3 root=/dev/sda5
initrd (hd0,1)/initramfs-genkernel-x86-2.6.39-gentoo-r3

# vim:ft=conf:
title Windows 7
root (hd0,0)
makeactive
chainloader +1


Quote:

# /etc/fstab
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda2 /boot ext3 noatime 1 2
/dev/sda5 / ext3 noatime 0 1
/dev/sda6 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# Mount windows fs Here
UUID=B45CD2CF5CD28B8C /media/sys ntfs defaults,user,rw,iocharset=utf8,umask=000,nls=utf8 0 0
UUID=1C332BCD5CDE3CBD /media/Soft ntfs defaults,user,rw,iocharset=utf8,umask=000,nls=utf8 0 0
UUID=542998BD30B58186 /media/Entertain ntfs defaults,user,rw,iocharset=utf8,umask=000,nls=utf8 0 0


希望对你有帮助。
Back to top
View user's profile Send private message
QTTg
n00b
n00b


Joined: 29 Nov 2011
Posts: 11

PostPosted: Thu Dec 22, 2011 3:05 am    Post subject: Reply with quote

我刚开始的时候也遇到了这个问题的,可是我忘记是怎么处理的了,真的十分抱歉,我试一下知道后一定与大家分享
Back to top
View user's profile Send private message
thomasmrmark
n00b
n00b


Joined: 09 Jan 2012
Posts: 7

PostPosted: Mon Jan 09, 2012 7:31 am    Post subject: Reply with quote

貌似我没有碰到这种问题,算幸运的
Back to top
View user's profile Send private message
s4426565
n00b
n00b


Joined: 27 Feb 2008
Posts: 13

PostPosted: Sat Jan 14, 2012 3:38 pm    Post subject: Reply with quote

应该好好检查 grub.conf 文件。我以前的内核 mount /dev/sda5 /boot 不能运行(检查内核配置)但是系统还是能启动的。问题可能是grub.conf里面哪里写错了。
Back to top
View user's profile Send private message
wgwnxu
n00b
n00b


Joined: 15 Jan 2012
Posts: 20

PostPosted: Sun Jan 15, 2012 5:16 am    Post subject: Reply with quote

一般是内核编译问题,/boot分区可以是ext2,也可以是ext4,但我也遇到另外一个问题,内核磁盘设备驱动没选对也会出现这个错误。
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