Environment Windows Server 2003 R2, ISA Server 2005, Virtual Server 2005 R2, Network access through Loopback Adapters
Problem Creation/Installation of a virtual machine running Gentoo
Steps
- Create Virtual Machine - configure disks
- Under General Properties
- Select Run virtual machine under the following user account and provide username and password
- Make sure it got access to the .vhd and .vnc files (e.g. C:\Documents and Settings\All Users\Documents\Shared Virtual Networks) (details).
If you I got the following error message in the EventLog (Virtual Server): The virtual machine "foo" cannot connect virtual network adapter 1 because either the virtual network is invalid or access was denied. This virtual network adapter will be left disconnected.
The reason were missing privileges of the user on .vnc files.
- Mount the Gentoo ISO image
- Start the VM and follow Gentoo Installation
- Edit make.conf. For my Core2 Duo E6600 Iuse
CFLAGS="-O3 -march=nocona -pipe -fomit-frame-pointer" -
ln -s /usr/portage/profiles/default-linux/x86/2006.1 make.profile
- If you got an existing VM
- copy /etc/kernels/kernel-config-*
-
genkernel --kernel-config=/etc/kernels/kernel-config-* all
- Kernel options to avoid clock skew (details)
clock=pit
- emerge -u logwatch chkrootkit apache netpbm ffmpeg imagemagick ntp gallery virtual/mysql awstats logrotate
- configure rsync mirror server