Ubuntu 8.10 on Virtual PC 2007

just before lunchtime on Thursday, the 30th of October 2008 by Capt Jake Fortune

Yes, it can be done.

You too can get past the original boot problems because of problems detecting the virtual environment in Ubuntu.

image

How?

I’m not going to go through the whole process, just try to get you past the initial install problem.

On the Install Ubuntu screen, where you have the F1-F6 prompts at the bottom, hit F4 and then select “Safe Graphics Mode”.  Then hit F6, and you’ll see the command line for the install.  Delete quiet splash and add vga=791 noreplace-paravirt at the end.  Then follow the normal install procedure.

Once installed, you’ll need to edit the grub boot loader.  Enter sudo gedit /boot/grub/menu.lst and find the section for the boot options.  You’re most likely looking for the first Ubuntu 8.10, kernel … line.  the kernel option has a list of arguments like ro xforcevesa, etc.  Make sure the end of that line has:  ro xforcevesa noreplace-paravirt quiet splash like so.

image

Now you’re pretty well set except for… screen resolution.  What you’ll need to do is sudo gedit /etc/X11/xorg.conf and make it look like this:

Section “Device”
Identifier    “Configured Video Device”
Driver        “vesa”
Option        “UseFBDev”        “true”
EndSection

Section “Monitor”
Identifier    “Configured Monitor”
Option        “DPMS”
HorizSync        30-70
VertRefresh     50-160
EndSection

Section “Screen”
Identifier    “Default Screen”
Monitor        “Configured Monitor”
Device        “Configured Video Device”
DefaultDepth    16
SubSection “Display”
Depth    16
Modes    “1280×1024″ “1024×768″ “800×600″
EndSubSection
EndSection

Reboot, and you should be all set at this point.

I found the process over at Tech Republic.  Additional info is there on attempts to modify the display options and such, even though the instructions are for Hardy Heron 8.04.  You know, I wrote for Tech Republic, back in 1999 when they still were done in print rather than online.  Too bad they don’t have that old content online anymore.  Here’s a copy of what was printed.

Loading OpenSuSE 11 in Virtual PC is similar.  Except you need the following boot option only when doing the installation:  noreplace-paravirt i8042.noloop clock=pit

After that, OpenSuSE will add that to your boot process automatically.  Video is detected normally and you can change sizes.

Fedora Core 10 also loads with an alternate boot option:  noreplace-paravirt vga=0x32D clocksource=pit psmouse.proto=imps nohz=off

You’ll have to make sure that’s in the grub command line also, you can get instructions here.  Sure it’s for Core 9, but using what I have above will get you there.

[del.icio.us] [Digg] [Facebook] [MySpace] [Sphere] [StumbleUpon] [Technorati] [Windows Live] [Email]
1 Star2 Stars3 Stars4 Stars5 Stars
(20 votes, average: 4.90 out of 5)
Loading ... Loading ...

Related Posts

42 Responses to “Ubuntu 8.10 on Virtual PC 2007”

  1. SLeepdepD Says:

    It’s working. Thanks.

  2. Ixpe Says:

    It’s working too ! Thanks.
    But, when I select French language, some labels still are in English…

  3. Chris Byrne Says:

    Duuuuuude, you wrote for TR too? Jack Wallen recruited me over there.

  4. Chad Says:

    Writing for Tech Republic, I worked with Scott McCord and a few others. My article with them occurred right about the time they changed their name from Narrowcast, so that’s been a while (1998/1999). Back then the rate was $150 a printed page which was pretty sweet. Writing for Windows NT Magazine (way back then too) was a little more lucrative. Cobb Group was the best though!

  5. Chad Says:

    After 24 hrs just a quick update. I’ve got dual monitors on my primary desktop, and now I have Ubuntu 8.1 running on the secondary monitor in full screen mode. Except for not being able to directly slide the mouse between screens, it looks completely native.

    Next up, trying to get sound working!

  6. Chris Byrne Says:

    I’m having trouble getting my wireless working with 8.1.

    It’s a discrete chipset (intel 4965agn), and the driver loads, everything identifies activates and configures properly.

    It wont find the SSID when I scan, but I can enter the SSID manually and it will configure and show me signal strength.

    Then when I try to connect, it tries for about a minute, and fails with no error.

    Very frustrating.

  7. Chad Says:

    I was having the same problem with an old laptop. Although it used the broadcom drivers in a Linksys WPC-54Gv1 card.
    Using the fwcutter software, it connected great, even using WPA2, only the throughput would drop to 1-2mbps according to the router.
    Moving over to ndiswrapper, it would do exactly what you’re saying. Realized it was the WPA settings, only to find out the ndiswrapper driver wouldn’t do WPA. Turned off WPA and could connect great.
    Decided that WPA2 on the 4-5 wireless devices I’m using is more important than connection speed on an old PIII and went back to the fwcutter style wireless.
    Anyway, what I saw that mirrored the issue you’re having was the WPA. Having the intel chipset is beautiful so you don’t have to mess with the firmware, but there’s a WPA “helper” process that may be causing your issue.

  8. Beanpole136 Says:

    This site shows how to fix audio in Ubuntu 8.04. It might work for 8.10 too:
    http://helpdeskgeek.com/virtualization/fixing-audio-in-ubuntu-when-running-in-virtual-pc/

  9. concatto Says:

    Hi, I’m a ubuntu newbie and I got mine to work with VPC2007, thanks to your instructions above…then I changed the screen resolution, and now the screen is all scrambled. I cannot see the screen now to reset the screen resolution. How do I restore the screen resolution settings within ubuntu? thanks.
    -concatto

  10. pingouinos Says:

    Hi, I tried to install ubuntu 8.10 on VPC07.
    Problem is that installation is blocked on ubuntu install screen.
    Any idear ? I tried to install directly on first boot. Maybe I’ve to do it in two times ?

    Thanks in ad.

  11. Ixpe Says:

    Did you had same options when you tried to install directly on first boot ?

  12. SLeepdepD Says:

    Since my original reply, I’ve switched to using VirtualBox http://www.virtualbox.org/. I didn’t have to do anything special to get it running, Ubuntu seems to run faster, and VirtualBox supports “snapshots”. Here’s a tutorial with lots of pictures: http://www.psychocats.net/ubuntu/virtualbox

  13. Chad Says:

    For help troubleshooting the sound issue, I loaded the same virtual image into VMWare Player, and I got sound to work automatically.

    So good advice for anyone is that there are so many virtual machine solutions now, if one doesn’t work for you try another.

  14. Chad Says:

    With the virtualbox solution, did you have to select any special startup options? Were you able to change display resolution, sound, etc properly or did you have to do anything special?

  15. SLeepdepD Says:

    Check that tutorial–but I didn’t have to press F4 or F6 and put in any special commands–further, once the virtualization tools are installed, the Ubuntu desktop will resize to how big you make the window–maximize the window, and Ubuntu’s desktop size will increase to match it.

    Further, my sound works without anything special, although there’s an occasional lag in the playback.

  16. Stupidonpc Says:

    UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUH MYYYYYYYY God, When I try to edit the “Menu.lst file it says I dont have enough rights to do that, anyone got an idea to fix it? send it to Guthian@gmail.com

  17. Stupidonpc Says:

    nvm, fixed it :P had to go via terminal

  18. Stupidonpc Says:

    although now sound wont work, how to fix that. Hmm, time for some research

  19. L Says:

    I can’t get sound to work either. A SB16 is detected, but the modprobe snd-sb16 command won’t work (there is no error message; it just doesn’t seem to do anything). Has anyone solved this problem?

  20. stupidonpc Says:

    okay this is how you get sound to work:

    add modprobe snd-sb16 to that file, save and then do this.

    Now when done that go here:
    system->administration
    now you see different options. Choose the first one, users and groups or something,
    a popup will come.
    click “unlock” button, enter password and lock everything up. now click the user account you currently are on.
    homecatalog: /home/”account name”
    dubble click it.
    another popup comes, now click the “userprivalegies tab”

    CHECK ALL the options…
    then click okay and then exit out.
    Restart and now the sound should work without problems. (atleast it did the trick for me)

    (sorry for the long time it took to give response)
    yes this is crappy sound lol… sooooooooooo crappy…

  21. stupidonpc Says:

    okay this is how you get sound to work:

    add modprobe snd-sb16 to that file, save and then do this.

    Now when done that go here:
    system->administration
    now you see different options. Choose the first one, users and groups or something,
    a popup will come.
    click “unlock” button, enter password and lock everything up. now click the user account you currently are on.
    homecatalog: /home/”account name”
    dubble click it.
    another popup comes, now click the “userprivalegies tab”

    CHECK ALL the options…
    then click okay and then exit out.
    Restart and now the sound should work without problems. (atleast it did the trick for me)

    (sorry for the long time it took to give response)
    yes this is crappy sound lol… sooooooooooo crappy…

  22. stupidonpc Says:

    w00pz two comments X-D

  23. Willaim Says:

    Chad Says:
    After 24 hrs just a quick update. I’ve got dual monitors on my primary desktop, and now I have Ubuntu 8.1 running on the secondary monitor in full screen mode. Except for not being able to directly slide the mouse between screens, it looks completely native.

    If you go under action–>Install or update virtual machine additions and go through the process, it will prompt you to reboot the VM. after rebooting, you will not have to capture or release you mouse.

  24. Brandon Says:

    I just got 8.10 loaded on Virtual PC and everything seems to be working except the wireless. I have told virtual pc to use the wireless card installed on my pc but it still won’t work in Ubuntu. Any ideas on something else I could try. thanks.

  25. Krycek Says:

    Great,

    Thank You for help

    Brandon: Try to select in Virtual PC NAT option

  26. Krycek Says:

    Great,

    Thank You for help

    Brandon: Try to select in Virtual PC NAT option and restart VM

  27. Robert Says:

    Got Ubuntu 8.10 to boot, but for some reason I don’t have permission to save /boot/grub/menu.lst

    Any help?

  28. Robert Says:

    Ok, I got it.. you need to use terminal.

    Now i tried resolution and got it stuck at a resolution where it has several shifted pixel rows, many of which reapeat each other. Printscreen isn’t working… :( so I can’t actually show you a picture.

    How do I default back to the regular screen resolution without re-installing

  29. Dan Goertz Says:

    After Install, click on system media and disk will appear on desktop. then go into applications, terminals. this command worked for me to find the installed menu.lst and edit it.

    sudo gedit /media/disk/boot/grub/menu.lst

    ..and find the section for the boot options. You’re most likely looking for the first Ubuntu 8.10, kernel … line. the kernel option has a list of arguments like ro xforcevesa, etc. Make sure the end of that line has:
    ro xforcevesa noreplace-paravirt quiet splash

    now boots. Thanks for the info on this page.

  30. bacco Says:

    Hi there, thanks for the hints. I am almost there BUT I am using MS Virtual Server and Ubuntu 8.10 Server and not succeeding!!
    Any more tips for this kind of installation?

  31. Blue Says:

    I get 1600×1200. How can I set it lower?

  32. Siggy Says:

    Once I got it running, a lot of things worked. I got the network, setup a browser, downloaded a document, and opened it with the Open Office package. Thanks!

  33. Ricardo Says:

    Hi, does anyone know?

    I done the first commands:

    Delete quiet splash and add vga=791 noreplace-paravirt at the end

    But i get i black screen, without any text, seems forever.. anybody has any clue?

    All the best,

    Ricardo

  34. Bacco Says:

    Hi all,
    browsing here and there I collected all the necessary info to succeed installing:
    Ubuntu 8.10 Server on a MS Virtual SERVER.
    Following those steps:

    1. Start MS VS and create a new guest OS (will be Ubuntu Server) and point the CD drive to the UBUNTU image in your disk.
    2. Start the Virtual Machine and Click on Remote Control.
    3. dont change selection and press F6
    here delete quite and replace it with “vga=791 noreplace-paravirt” (of course with no “”)
    4. press enter. After a little bit of blank screen, the installation will start.

    At the end of the installation you will be prompt for username and password.
    Do login with the given credentials.

    At this point you want to make the changes permanent.
    Follow the steps:
    Reboot the machine (make sure you add the http address in the trusted zones of IE or you will have to login every time and the following steps will not work)

    1. Press ESC quickly when you reboot. You should drop to a command mode interface.
    2. Select “Ubuntu 8.10, kernel x.x.xx-xx-generic” from the menu and press “e” to edit.
    3. Select “kernel /boot/” etc, from the menu and press “e” to edit.
    4. replace “quiet splash” with “vga=791 noreplace-paravirt” so the end of the line now reads “vga=791 noreplace-paravirt xforcvesa”.
    [in my test I forgot the xforcevesa and that gave me some issue when installing xserver..]

    Now you want to install the graphical interface, the Desktop and the web admin for the servers you installed during setup!!
    1) Install desktop Environment

    2) Install Webmin

    Do the following:

    sudo apt-get update
    sudo apt-get install kubuntu-desktop

    This last part will take A LOT OF TIME
    AND
    it will not work at first.
    Type the same sudo apt-get install kubuntu-desktop one more time after the end when you (most probably) will see:
    99% Working…
    but never ending!!
    Stop the operation, you get the propt again and type: sudo apt-get install kubuntu-desktop
    One more time.

    Once this is done, lets install the Webadmin:
    Follow those steps:

    sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

    Now download the latest webmin using the following command or from here

    wget http://garr.dl.sourceforge.net/sourceforge/webadmin/webmin_1.441_all.deb

    Now we have webmin_1.441_all.deb package install this package using the following command

    sudo dpkg -i webmin_1.441_all.deb

    This will complete the installation.

    Now you can access the web admin:
    https://your-server-ip:10000/

    HOWEVER, on my first part, when installing the desktop, I still have problems has looks like the xorg is not configured very well and as I dont have enough experience, I do not know how to fix this. The web admin works great.
    REMEMBER, I did not add the xforcevesa as I explained earlier. I will do that in my next reboot!!

    The credits of those steps do not go entirely on my as I have picked the most out of the following sites. I only replaced ‘quite’ and not add the info mentioned above. Moreover, most of the articles are for Ubuntu 8.04 and in a MS Virtual PC (I use Virtual Server).
    Here are the source of my info:

    1) http://arcanecode.wordpress.com/2008/04/24/installing-ubuntu-804-under-microsoft-virtual-pc-2007/

    2) http://www.ubuntugeek.com/ubuntu-serverinstall-gui-and-webmin-in-ubuntu-810-intrepid-ibex-guide.html

    Have fun!!

  35. MacBook air Says:

    I got 1600*1200 too!
    and
    does anyone know how to install virtual machine
    additions?

  36. Bacco Says:

    Did you manage to have Ubuntu 8.10 Server installed on a MS VM and have a fully working desktop? (not Virtual PC)
    I tried about anything is out there and it does not work.
    I am unable to create a correct manual configuration for X and I gave up this project.

  37. Joot Says:

    To those who want to have a virtual Ubuntu, just use VirtualBox. It’s free and compatible with Ubuntu. Tried and tested. ;p Ubuntu/VirtualBox and XP/VirtualPC

  38. Nemo700 Says:

    Saddly, I’ve tried all week end long without success… (VirtualPC 2007+ubuntu 8.10)

    If I add the vga=791 line I get a black screen that last forever and the leds on my keyboard show something went wrong, and if I don’t add vga (but still put noreplace-paravirt) here’s what I can read : kernel panic not syncing : vfs : unable to mount root fs on unknown block (8,3)
    and it stays like that until I shut down the VM

    any ideas why I get that message ? how could I fix it ?

  39. Nemo700 Says:

    Just to let you know I found a way :
    I installed on another computer (XP) : it worked with vga=791 noreplace-paravirt.
    After completing the installation and updating I copied the vhd file to my other computer and then I could create a new VM with that vhd… then I could install cairo dock which works fine under virtual PC as long as you also install xcompmgr and make it start with ubuntu. In the end I just had a little more work to make the sound ok :
    the rc.local file wasn’t found from the Terminal windows
    I could locate it with gedit but couldn’t save the edited file (not allowed to). So I had to use the sudo -s command in the Terminal then launch gedit from the Terminal… This way I was allowed to save the edited rc.local and after rebooting the sound was ok. Thanks for the great tutorial !

  40. Ali Says:

    I suggest trying Sun virtual Box. pretty easy install on Windows Vista, faster, and more features.

    http://www.virtualbox.org/wiki/Downloads

  41. mdebusk Says:

    Chad, the link to your article is broken. It appears you’ve let bluestream.org go.

  42. tae Says:

    Hi, you tried to start VMware Workstation and it won’t sync its disk
    if you Choose Retry, it doesn’t attempt the operation again.
    if you Choose Abort, it terminate this session.
    if you Choose Continue, it forwards the error to the guest operating system.
    and when you restart the system it works
    if you go to recovery mode it will start owrking
    fsck 1.4.1 (27-Jan-2009) and the kjournald will start
    you go to /usr/share/fonts and get the directory.
    then batang_mono.ttf was in there.
    you remove the font and batang_mono.ttf is removed. and if you use fc-cache BatangChe will disappear

    and if oyu try it it works

Leave a Reply

“Well it’s a complex thing, bypassing Windows security. I mean you’ll have to boot from a CD…” “Yes, and then?” “That’s pretty much it.”

-- BOFH

Recent Posts

    Poll

    Are people dumber now than before?
    View Results

Search

Captain's Logs

The Sites

Syndication

Stats

  • Comments: 6943
  • Pingbacks: 49
  • Trackbacks: 172