加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

Gentoo安装常见的错误

发布时间:2016-10-29 03:00:59 所属栏目:Linux 来源:网络整理
导读:问题1.安装的上不能查看分区表 (chroot)Gentoo-20121221 / # fdisk -l cannotopen /proc/partitions 解决方法:在livecd上执行命令 mount-t proc none /mnt/gen
副标题[/!--empirenews.page--]

问题1.安装的上不能查看分区表

(chroot)Gentoo-20121221 / # fdisk -l

cannotopen /proc/partitions

解决方法:在livecd上执行命令

mount-t proc none /mnt/gentoo/proc

问题2.安装完以后不能正常引导。grub

cannotopen root device "sda7" or unknown-block(0,0): error-6

pleaseappend a correct root boot option here are the available partitions

kernelpanic - not syncing :vfs:unable to mount root fs onunknown-block(0,0)

不能引导不能打开识别。很有可能是grub菜单辩解的问题双系统启动

vi/boot/grub/grub.conf

default0

timeout5

splashimage=(hd0,6)/boot/grub/splash.xpm.gz

titleWindows 7

rootnoverify(hd0,0) 0 ,0是第一块盘的第一个分区。

makeactive

chainloader+1

titleGentoo Linux 3.7.10-gentoo

root(hd0,6) 6是boot分区,对应的是sda7, sda9 是主分区,根就挂载在sda9上面

kernel/boot/vmlinuz-3.7.10-gentoo ro root=/dev/sda9 quiet

问题3.config_devtmpfs=yis required in your kernel configuration

编译内核的时候没有选上。

cannotstart udev as udev ud-mount not start 没有默认启动。

重新编译内核找到相关选项

DeviceDrivers --->

GenericDriver Options --->

(/sbin/hotplug)path to uevent helper

[*]Maintain a devtmpfs filesystem to mount at /dev

[*]Automount devtmpfs at /dev, after the kernel mounted the rootfs

问题4.Gentoo安装后,无法联网,但Ping地址错误,检查/etc/resolv.conf发现没设置nameserver,但设置之后重启,resolv.conf又会变成原来的样子。

解决方法:在/etc/conf.d/net加上一行,“dns_servers_eht0=xxx.xxx.xxx.xxx",重启之后正常。

问题5.显卡的问题。编译是一般不用编译显卡。使用桌面时,编译安装驱动即可。

Nvidiafb:Unkonwnna_arch

试编译kernel去掉nvidiaframebuffer支持,我编译把nvidia和vesa都加上,结果无论如何分辨率上不去,dmesg看了一下,kernel好像是先加载nvidiaframebufer,于是我去掉nvidiaframebuffer结果就行了。

I810does no support smp

Unableto mount root fs on unkonwn-block(0,0)

问题6.低级问题有连个make.conf 合并一下就ok

!!!Found 2 make.conf files, using both '/etc/make.conf' and'/etc/portage/make.conf'

Calculatingdependencies... done!

默认是寻找/etc/portage/make.conf里面的内容,'把/etc/make.conf合并到/etc/portage/make.conf 里面。

问题Endtarce do_early_param内核编译有问题。

问题6需要升级升级整个系统emerge-avuD world

configfile '/etc/conf.d/xdm' needs updating.?

etc-update //升级一下配置文件

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读