|
This describes how to get the mouse and graphics working correctly for Ubuntu Linux 7.04 Fiesty Fawn running in Virtual PC 2007. This is written assuming
you know a little about how to navigate around in Ubuntu and can make some use of the terminal. This is my first revision and it is quick and dirty and from memory. I will
attempt to clean it up if I get time.
We'll start from the beginning, installing Ubuntu. Fire up the virtual machine with your ISO image set as the optical drive or put the Live CD in your CD-ROM,
depending on what you have. When you see the boot screen, press F4. Switch from VGA to 800x600x16.
Then start Ubuntu using safe graphics mode.
After Ubuntu gets up and running, you won't be able to use the mouse. Instead, temporarily enable 'mouse keys' to use your number pad as a mouse.
This is done by pressing Left Alt+F1 to select the Applications menu. Press the right arrow key twice to get to the System menu. Then press down, right, right, down
to select Keyboard Accessibility, and press Enter to activate it.
When the accessibility window opens, press Space Bar to check the box for 'Enable keyboard accessibility features'. Press the Tab key once, then the
right arrow twice, then Tab again, which should put focus on the 'Enable mouse keys' option. Press Space Bar to select it. Now you can use the number pad on your
keyboard to move the mouse cursor. The number 5 acts as a click, and the other numbers move the cursor in the same direction as they are located relative to the '5' key.
Move the cursor to the 'Close' button and click it to close the window.
Now you can click on the desktop item for installing Ubuntu. Follow the instructions to install as normal. When it is finished and asks if you want to
restart or keep using the Live CD, select keep using the Live CD.
Ubuntu should now be installed and you are still running in your Live CD environment. Start a new terminal window. This will be used to edit a few files
to get the mouse and graphics working. The first step is to mount the Linux partition for the installed OS so you can access the files in the Live CD environment. Put these
commands in the terminal window:
- sudo mkdir /mnt/linux
- sudo mount /dev/hda1 /mnt/linux/
NOTE: change hda1 to your linux partition if it is not hda1
Get the mouse working first. Edit Grubs menu.lst file, changing the kernel argument 'splash' to 'i8042.noloop'. Use nano to open the file and make the change.
After the change has been made, save and exit nano by pressing Ctrl+X, Y, then Enter.
- sudo nano -w /mnt/linux/boot/grub/menu.lst
- Make the changes mentioned above. Save and exit.
Now to fix the graphics. Edit the xorg.conf file and remove the entire 24-bit Display Subsection. Change the line 'DefaultDepth 24' to 'DefaultDepth 16'.
Save the file and exit nano, pressing Ctrl+X, Y, then Enter. The partition can be unmounted now.
- sudo nano -w /mnt/linux/etc/X11/xorg.conf
- Make the changes mentioned above. Save and exit.
- umount /mnt/linux
Close the terminal window and shutdown the Live CD OS. Take out your Live CD or stop using the ISO image as your optical drive in VPC. Start the virtual
machine again and boot up as normal. The graphics should work correctly as well as the mouse!
|