Installation of Ubuntu 9.10 on Vistual PC is a simple and straightforward process.
If you are not familiar with Ubuntu and/or Virtual PC, you can find a lot of step-by-step instructions on the internet.
I would like to post installation steps to make Ubuntu work well.
So, you have a fresh installation of Ubuntu 9.10 on your Virtual PC.
After the first rebooting you can see that mouse is not working.
To fix that press Alt+F1 and select Applications->Accessories->Terminal
1. To Enable Mouse.
Run the next command:
sudo nano /boot/grub/grub.cfg
Find the following text:
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-21-generic-pae" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set d50877b2-513e-40d2-93dd-474800ee5700
linux/boot/vmlinuz-2.6.31-21-generic-pae root=UUID=d50877b2-513e-40d2-93dd-474800ee5700 ro quiet splash
Append to the end of the last line of the text above:
vga=791 noreplace-paravirt elevator=noop i8042.noloop=1
(ie. at the end of the line that reads linux/boot/vmlinuz...)
2. Setup a screen of 1024x768 resolution and enable the mouse wheel.
Create a config file for the X server:
sudo Xorg -configure
sudo cp xorg.conf.new /etc/X11/xorg.conf
sudo nano /etc/X11/xorg.conf
Fix the sections InputDevice, Monitor, and Screen.
Apply the following configuration:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
Option "CorePointer"
Option "Emulate3Buttons" "true"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-120
VertRefresh 50-90
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1025x768"
EndSubSection
EndSection
Then update options file:
sudo nano /etc/modprobe.d/options
Add the line:
options psmouse proto=imps
3. Sound
sudo nano /etc/modules
Add string:
snd-sb16
4. All done.
Reboot Ubuntu:
sudo reboot
5. If sound still does not work.
Go to the System->Administration->Users and Groups
Add current user to groups:
pulse
pulse-access
Then go to the Applications->Accessories->Terminal.
Remove .pulse folder:
sudo rm .pulse
sudo reboot