在 Virtualbox 上安装 Gentoo,startx 失败
我遵循了 Gentoo Linux x86 快速安装指南
< /a> 基本系统安装在 virtualbox 上。我想要侏儒在里面。文档说我需要安装 hal 。但是emerge
说没有ebuilds来满足“hal”
。我执行了eselect profile list
,然后执行了eselect profile set 4
,即[4] default/linux/x86/10.0/desktop/gnome
此论坛帖子说。然后我做了 emerge -e system
花费了几个小时并下载了大量文件。之后我重新启动,startx
失败,甚至 Xorg -configure
也失败。说
(EE) Failed to load module "vmwgfx" (module does not exist, 0)
(EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
(EE) vmware: Unexpected failure while loading the "vmwlegacy" driver. Giving up.
(EE) Failed to load module "vmware" (a required submodule could not be loaded, -1077713160)
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) open /dev/fb0: No such file or directory
我对gentoo很陌生。我不明白我现在应该搬到哪里。
I followed the Gentoo Linux x86 Quick Installation Guide
the base system is installed on virtualbox. I want gnome in it. The docs say I need to install hal
. But emerge
says there are no ebuilds to satisfy "hal"
. I did eselect profile list
and then did eselect profile set 4
which is [4] default/linux/x86/10.0/desktop/gnome
as this forum post says. Then I didemerge -e system
which took several hours and downloaded lots of files. after that I did a restart and startx
fails, even Xorg -configure
fails. saying
(EE) Failed to load module "vmwgfx" (module does not exist, 0)
(EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
(EE) vmware: Unexpected failure while loading the "vmwlegacy" driver. Giving up.
(EE) Failed to load module "vmware" (a required submodule could not be loaded, -1077713160)
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) open /dev/fb0: No such file or directory
I am very new to gentoo. and I cannot understand where should I move now.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
文档说你需要在哪里安装 hal?诚然,快速指南在 USE 标志中提到了 hal,但仅此而已。 hal 现在已经过时,应该完全避免。
您安装了 xf86-video-vmware 吗?这是 X 所需的视频驱动程序。
更新: 抱歉,我很困惑,因为即使您在 VirtualBox 下运行,错误也提到了 VMware。您应该删除 xf86-video-vmware 并emerge virtualbox-guest-additions,这将引入 xf86-video-virtualbox。请参阅此 wiki 页面了解更多信息。
Where do the docs say you need to install hal? Admittedly that quick guide mentions hal in the USE flags but that's all. hal is now obsolete and should be totally avoided.
Did you install xf86-video-vmware? This is the video driver you need for X.
UPDATE: Sorry, I was getting confused because the error mentioned VMware even though you're running under VirtualBox. You should remove xf86-video-vmware and emerge virtualbox-guest-additions, which will pull in xf86-video-virtualbox. See this wiki page for more information.
wiki 上有一个页面描述了这个 http://wiki.gentoo.org/wiki/VirtualBox
请参阅“Linux 来宾”部分
There is a page on wiki describing this http://wiki.gentoo.org/wiki/VirtualBox
Look at part "Linux Guests"
保存文件。运行startx
save the file. run startx