我按照Gentoo Linux x86 Quick Installation Guide
在virtualbox上安装了基本系统。我想要gnome。文档说我需要安装hal
。但是emerge
说there are no ebuilds to satisfy "hal"
。我做了eselect profile list
然后eselect profile set 4
[4] default/linux/x86/10.0/desktop/gnome
emerge -e system
,forum post说。然后我做了
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
失败。说
{{1}}
我对gentoo很新。我无法理解我现在应该搬到哪里。
答案 0 :(得分:1)
文档说你需要安装hal?不可否认,快速指南提到了USE标志中的hal,但这就是全部。 hal现在已经过时,应该完全避免。
您安装了xf86-video-vmware吗?这是X所需的视频驱动程序。
更新抱歉,我感到困惑,因为即使您在VirtualBox下运行,错误也提到了VMware。你应该删除xf86-video-vmware并emerge virtualbox-guest-addeds,它将引入xf86-video-virtualbox。有关详细信息,请参阅this wiki page。
答案 1 :(得分:0)
# eix xf86-video -S virtual
* x11-drivers/xf86-video-virtualbox
Available versions: 4.1.4 ~4.1.6-r1 ~4.1.8 {dri kernel_linux}
Homepage: http://www.virtualbox.org/
Description: VirtualBox video driver
# emerge x11-drivers/xf86-video-virtualbox
* Last emerge --sync was Wed Jan 11 10:35:01 2012.
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 5) sys-devel/bin86-0.16.17
>>> Installing (1 of 5) sys-devel/bin86-0.16.17
>>> Emerging (2 of 5) sys-power/iasl-20090123
>>> Installing (2 of 5) sys-power/iasl-20090123
>>> Emerging (3 of 5) sys-devel/dev86-0.16.17-r6
>>> Installing (3 of 5) sys-devel/dev86-0.16.17-r6
>>> Emerging (4 of 5) dev-util/kbuild-0.1.9998_pre20110817
>>> Installing (4 of 5) dev-util/kbuild-0.1.9998_pre20110817
>>> Emerging (5 of 5) x11-drivers/xf86-video-virtualbox-4.1.4
>>> Installing (5 of 5) x11-drivers/xf86-video-virtualbox-4.1.4
>>> Recording x11-drivers/xf86-video-virtualbox in "world" favorites file...
* Messages for package x11-drivers/xf86-video-virtualbox-4.1.4:
* You need to edit the file /etc/X11/xorg.conf and set:
*
* Driver "vboxvideo"
*
* in the Graphics device section (Section "Device")
*
* To use the kernel drm video driver, please add:
* "vboxvideo" to:
* /etc/conf.d/modules
*
vim /etc/X11/xorg.conf (or some other text editor)
Section "Device"
Identifier "Fake card"
Driver "vboxvideo"
VendorName "VirtualBox"
BoardName "Fake board"
EndSection
Section "Screen"
# Removed Option "metamodes" "DFP: nvidia-auto-select +0+0"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP: 1680x1050_60 +0+0"
Identifier "BottomDisplay"
Device "Fake card"
(...)
答案 2 :(得分:0)
维基上有一个描述此http://wiki.gentoo.org/wiki/VirtualBox
的页面查看“Linux Guest”部分