Welcome, Guest. Please login or register.
Did you miss your activation email?
September 05, 2010, 12:26:44 AM
Home Help Search Login Register

+  AtvSoftware Forum
|-+  General Category
| |-+  General Discussion
| | |-+  Ubuntu 9.10 on Virtual PC 2007
« previous next »
Pages: [1] Print
Author Topic: Ubuntu 9.10 on Virtual PC 2007  (Read 184 times)
Yu.Atavin
Newbie
*
Posts: 33


View Profile
« on: May 23, 2010, 05:37:58 PM »

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:
Code:
sudo nano /boot/grub/grub.cfg

Find the following text:
Code:
### 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:
Code:
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:
Code:
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:
Code:
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:
Code:
sudo nano /etc/modprobe.d/options
Add the line:
Code:
options psmouse proto=imps

3. Sound
Code:
sudo nano /etc/modules
Add string:
Code:
snd-sb16

4. All done.
Reboot Ubuntu:
Quote
sudo reboot

5. If sound still does not work.
Go to the System->Administration->Users and Groups
Add current user to groups:
Code:
pulse
pulse-access
Then go to the Applications->Accessories->Terminal.
Remove .pulse folder:
Code:
sudo rm .pulse
sudo reboot
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC