Saturday, November 7, 2009

How to install ubuntu 8.04 on Microsoft Virtual PC 2007?

Download the Ubuntu desktop iso file .

Use the CD menu option to capture the desktop ISO you downloaded from Ubuntu

The first screen to come up, asks for the language.

Select your language, and press Enter to continue. Press F4 to select an alternate starting mode. When it pops up, change to Safe graphics mode, and press Enter

Then press F6 and delete the part that says “quiet splash -” and replace it with “vga=791 noreplace-paravirt” Now choose “Try Ubuntu..” and press enter. (note that you should NOT pick the Install Ubuntu option to install Ubuntu directly)

It will take some time (around 10 minutes) to move the next screen and don’t panic.Once ubuntu boots, you should see the live session trial environment.

Double click the Install icon on the desktop to begin the install process You will see a welcome screen, where you can also change your language, if you want to have ubuntu installed in a different language than you already chose earlier. Press Forward to continue. In the next screen set up your time zone and press Forward Next, choose the appropriate keyboard layout and click Forward Next, choose the option to partition the hard disk (you may leave it as selected) and click Forward It will take time (around 6- 8 minutes) for the disks to be prepared and proceed to the next screen.On the next screen, enter your name, your Ubuntu login name, password and name of the computer and finally click Forward you will find Step 6 missing, but don’t worry. Just click Install to begin the install process.

It will take around 45-60 minutes for ubuntu to install On the Virtual PC menu click CD, and release the cd then click on the Restart now button inside VPC

If the restart does not happen on its own, then in the Virtual PC menu click Action –> Reset. Shut down the Virtual PC 2007 session while saving the state. Start the Virtual PC 2007 session again and it will boot fine.The boot process does take a few minutes.

Once it gets to GRUB, interupt the boot and add the “noreplace-paravirt” to the kernel boot line.

Press “esc” while grub is visible You should now see 3 entries to select from. Leave the first one “Ubuntu 8.04, kernel 2.6.24-16-generic” selected and press “e” On the next page, select the second entry that reads “kernel /boot/vmlinuz…” and press “e” again You will see a command line that ends with “xforcevesa“. Hit “space” and add “noreplace-paravirt” (without the quotes) to that line and press “enter” You will be taken back to the previous selection screen with the entry “kernel /boot/vmlinuz…” still selected. Now press “b” and it should boot correctly

How to permanantly add “noreplace-paravirt” option to grub?

Once Ubuntu has loaded, open a terminal window (Applications –> Accessories –> Terminal) and on the command line enter “sudu nano /boot/grub/menu.lst” Enter your password and page down to near the bottom and locate the “kernel /boot/vmlinuz…” in the “Ubuntu 8.04, kernel 2.6.24-16-generic” section Move the cursor to the end of the line after xforcevesa and add “noreplace-paravirt” (no quotes) Ctrl + O to write out, enter to accept the name, Ctrl + X to close

Fix the sound issue while installing ubuntu 8.04 on Virtual PC 2007: on the command line enter “sudo nano /etc/rc.local” At the end of the # lines, but before “exit 0“, type on a new line (again without quotes) “modprobe snd-sb16“.Ctrl + O to write out, enter to accept the name, Ctrl + X to close Reboot Ubuntu. The reboot should be clean, and the sound icon should come up without an error indication

In System, Preferences, Sound, set the playback options to ALSA. It’s pretty crappy but works better than OSS and certainly better than Auto detect which generates a stream error when you try to play MP3’s or movies.

The above method applies for all versions of Ubuntu..including ubuntu 9.04 and 9.10

Reffered from http://techblissonline.com/

No comments:

Post a Comment