Today spent a whole day in the virtual machine installed a Gentoo, because it is a colleague's computer, you can only install in the virtual machine, but in the virtual machine installation Gentoo is really looking for abuse ah, trouble, as the physical machine installed smoothly.
Where to look.
Configuration of/etc/make.conf
video_cards= "VMware VESA VGA"
input_devices= "Evdev Keyboard mouse Vmmouse"
Use mark yourself to mark as needed
Kernel configuration
Linux Kernel Configuration: VMware Tools Configuration |
Loadable Module Support---> [*] Enable loadable Module Support---> [*] Module Unloading |
Linux Kernel Configuration: Intel Pci/isa Bridge |
Bus options (PCI etc.) ---> [*] PCI Support [*] ISA Support [*] EISA Support <*> Support for PCI Hotplug Support for PCI Hotplug---> <*> SHPC PCI Hotplug Driver |
Linux Kernel Configuration: IEEE 1394 |
Device Drivers---> IEEE 1394 (Firewire) Support---> <*> Stable Firewire Stack <*> OHCI-1394 Controllers <*> Storage Devices (SBP-2 protocol) |
Linux Kernel Configuration: Parallel Port |
Device Drivers---> <*> Parallel Port Support---> <*> Pc-style Hardware |
Linux Kernel Configuration: Parallel ATA |
Device Drivers---> <*> Serial ATA (PROD) and Parallel ATA (experimental) Drivers---> <*> PCMCIA PATA Support |
Linux Kernel Configuration: I2c |
Device Drivers---> <*> I2C Support---> I2C hardware bus Support---> <*> Intel PIIX4 and compatible (ATI/SERVERWORKS/BROADCOM/SMSC) |
Linux Kernel Configuration: Backplane |
Device Drivers---> Sonics Silicon Backplane---> <*> Sonics Silicon backplane Support |
Linux Kernel Configuration: LSI Logic SCSI Adapter |
Device Drivers---> [*] Fusion MPT Device Support---> <*> Fusion MPT scsihost drivers for SPI <*> Fusion MPT scsihost drivers for FC <*> Fusion MPT scsihost drivers for SAS SCSI Device Support---> <*> SCSI Device Support <*> SCSI Disk Support SCSI Low-level Drivers---> <*> sym53c8xx Version 2 SCSI support |
Linux Kernel Configuration: BusLogic |
Device Drivers---> SCSI Device Support---> <*> SCSI Device Support <*> SCSI Disk Support SCSI Low-level Drivers---> <*> BusLogic SCSI Support |
Linux Kernel Configuration: HID Support |
Device Drivers---> [*] HID Devices---> <*> USB Human Interface Device (full HID) support [*] USB Support---> <*> Support for Host-side USB <*> SL811HS HCD Support |
kernel Configuration: CDROM |
Device drivers ---> <*> ata/atapi/mfm/rll support ---> ; <*> Enhanced ide/mfm/rll disk/cdrom/tape/floppy support <*> Include ide/atapi CDROM support [*] PCI IDE chipset support <*> Intel PIIXN chipsets support File systems ---> cd-rom/dvd filesystems ---> <*> ISO 9660 CDROM file system support [*] Microsoft Joliet CDROM Extensions |
We have to disable IPV6, VMware does not support Ityet.
Linux Kernel Configuration: Network |
Networking---> [*] Networking Support Networking Options---> <*> Packet Socket <*> Unix domain sockets [*] TCP/IP Networking < > The IPV6 protocol---> <*> 802.1d Ethernet Bridging You are need to builds the network drivers as modules to is able to unload them and load VMware later optimized. Device Drivers---> Network Device Support---> [*] Network Device Support Ethernet (100Mbit)---> [*] Ethernet (or 100Mbit) [*] EISA, VLB, PCI and on board controllers <M> AMD PCnet32 PCI Support Ethernet (1000Mbit)---> [M] Intel (R) pro/1000 Gigabit Ethernet Support |
VMware virtual Machine emulates a Creative Labs SOUNDBLASTER®AUDIOPCI device. If you are like to have sound into your virtual gentoolinux, you'll need to add support for it. The following section.
Linux Kernel Configuration: Audio |
Device Drivers---> Sound---> <M> Sound Card Support ---Advanced Linux Sound architecture <M> Sequencer Support < > Sequencer Dummy Client <M> OSS Mixer API <M> OSS PCM (digital audio) API [*] OSS PCM (digital audio) Api-include plugin system [*] OSS Sequencer API [*] Dynamic Device File Minor numbers [*] Support Old ALSA API [*] Verbose PROCFS Contents [*] Generic Sound Devices---> [*] PCI Sound Devices---> <M> (Creative) Ensoniq AudioPCI 1371/1373 [*] USB Sound Devices---> [*] PCMCIA Sound Devices---> |
Linux Kernel Configuration: Gameport |
Device Drivers---> Input Device Support---> Hardware I/O ports---> <*> Gameport Support |
Linux Kernel Configuration: Graphics |
Device Drivers---> Graphics Support---> <*>/dev/agpgart (AGP Support)---> <*> Intel 440LX/BX/GX, i8xx and E7X05 chipset support |
Linux Kernel Configuration: Device Mapper Support |
Device Drivers---> [*] Multiple Devices driver Support (RAID and LVM)---> <*> Device Mapper Support <*> Snapshot Target <*> bad block relocation Device Target (experimental) |
These other things might are useful for udev. Note:ifyour kernel has problems mounting udev, you could need to emergesys-apps/portage, sys-fs/baselayout, and Sys-fs/udev To their most currentstable versions.
Linux Kernel Configuration: udev Support |
File Systems---> Pseudo filesystems---> -*-/proc File system support < >/proc/kcore Support <*> Virtual Memory File system support (former SHM FS) |
Code 1.1: Establish a symbolic connection Net.eth0 point to Net.lo |
# cd/etc/init.d
# ln-s Net.lo net.eth0
|
Code 1.3: Start and stop network scripts |
#/etc/init.d/net.eth0 Start
#/etc/init.d/net.eth0 stop
|
Code 1.4: Configure the network interface to load it at boot time |
# rc-update Add net.eth0 default
# RC
|
Installation of Xorg-server
may be black screen
Solutions
Need to add in xorg.conf.new section "Serverlayout"
Option "AutoAddDevices" "false"
To disable this feature now don't xorg-config ~/xorg.conf.new-retro
Online is said Xorg-config ~/xorg.conf.new-retro
, but I have no effect, and my things must be put to cp/root/xorg.conf.new/etc/x11/xorg.conf, only to do
The manual says to download the following two, but he did not, the same success
LiveCD CONF.D # emerge DHCPCD (if you use a DHCP client)
LiveCD CONF.D # emerge PPP (if using PPPoE ADSL connection)
Code 4.1: Modify the screen paragraph in/etc/x11/xorg.conf |
Section ' Screen '
Identifier ' Default screen '
Device ' S3 Inc prosavage KN133 [twister K] '
Monitor "Generic Monitor"
Defaultdepth
# for easy searching and reading please skip some content
subsection "Display"
Depth
Modes " 1024x768 "
endsubsection
endsection
|
Run X (STARTX) to see if it enables the resolution you need:)
Code 4.2: Changing the keyboard layout |
section "InputDevice"
Identifier " Generic keyboard"
Driver " keyboard"
option " Corekeyboard "
option" xkbrules " " xorg "
option " XkbModel " " pc105 "
option " Xkblayout "Be"
endsection
|
Code 4.4: Changing the mouse settings in xorg |
section "InputDevice"
Identifier " TouchPad Mouse"
Driver " Mouse"
option " Corepointer "
option" Device " "/dev/input/mouse0 "
option " Protocol "" imps/2 "
option "zaxismapping" "4 5"
endsection
|
And then it's OK, ... Go to bed