2012-02-07 166 views
1

我跟着Gentoo Linux x86 Quick Installation Guide在virtualbox上安裝了基本系統。我想要它的侏儒。文檔說我需要安裝hal。但emergethere are no ebuilds to satisfy "hal"。我做了eselect profile list,然後做eselect profile set 4這是[4] default/linux/x86/10.0/desktop/gnome,因爲這forum post說。然後,我做了 emerge -e system花了幾個小時,並下載了大量的文件。之後,我做了重新啓動並且startx失敗,即使Xorg -configure失敗。說Virtualbox安裝Gentoo,startx失敗

(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。我不明白現在應該在哪裏移動。

回答

1

文檔說你需要安裝hal?無可否認,快速指南在USE標誌中提到了hal,但僅此而已。 hal現在已經過時,應該完全避免。

您是否安裝了xf86-video-vmware?這是您需要用於X的視頻驅動程序。

更新:對不起,我感到困惑,因爲即使您在VirtualBox下運行,錯誤也會提到VMware。您應該刪除xf86-video-vmware並出現virtualbox-guest-additions,這會添加xf86-video-virtualbox。有關更多信息,請參閱this wiki page

+0

安裝,但仍然得到同樣的錯誤 – 2012-02-07 16:56:23

+0

甚至出現了'應用仿真/開-VM-tools'沒有運氣 – 2012-02-07 18:12:40

+0

對不起,請參閱我上面的更新。 – Chewi 2012-02-07 23:35:06

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-2009
>>> Installing (2 of 5) sys-power/iasl-2009
>>> 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" 
(...) 

保存文件。執行startx