Ubuntu 7.04 and Virtual PC 2007 – No Mouse Issue

Update: October 18, 2007 – The new version of Ubuntu, 7.10 is now out. If you haven’t yet installed Ubuntu, I’d suggest using 7.10. I have step by step instructions at https://arcanecode.wordpress.com/2007/10/18/installing-ubuntu-710-under-virtual-pc-2007/

Last week the folks at Ubuntu released Fiesty Fawn, better known as version 7.04 of the Ubuntu OS. I had planned a new version of the “step by step” to detail how to install under VirtualPC 2007.

Sadly there seems to be a severe error that prevents 7.04 from running in Virtual PC. This error lies somewhere deep in the kernel, and affects the mouse. As you have discovered, Ubuntu won’t recognize the mouse when running inside VPC.

This was actually a much more serious error at first, Ubuntu and several other Linux distros had errors recognizing most PS/2 style mice, as you can see from this bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=223606

They have opened a new bug specifically for Virtual PC, which you can monitor here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234348. (Credit due alert: Thanks to Michael Wexler for first pointing out these links!).

I’ve spent quite a while trying various combinations, but thus far have found no easy solution or workaround to the problem. So for now, my advice is simple.

If you have an existing Ubuntu install under VPC, I recommend you NOT upgrade. You will lose your mouse for sure, and probably keyboard as well. If you want to experiment, start with a fresh virtual machine and go from there.

In the meantime, keep an eye on the second bug I listed. I’m hopeful there will be an update in the near future. At that point I’ll work up some step by step instructions, which should be pretty similar to the 6.06 instructions.

Update: (April 25th, 2007) – I found a work around (of sorts) that will let you use your numeric keypad as a mouse. Not the most pleasant experience, but it does work. See my post on the 25th ( http://shrinkster.com/ocx ) for full details.


15 Responses to “Ubuntu 7.04 and Virtual PC 2007 – No Mouse Issue”

  1. Michael Wexler Says:

    I’ve also added a bug to the Ubuntu specific bug tracker.


    Hopefully, if enough “buzz” happens around these issues, the kernal guys will get together and fix it.

    Other good places to watch for additional info include the Ubuntu Forums, http://ubuntuforums.org/, where people share info around Ubuntu.

  2. mat white Says:

    hi, im just installing now on vpc, same mouse prob, im just a linux noob, but just had a thought. how bout bluetooth and a wiimote? just a thought, good luck to yall too.

  3. Paul Hickman Says:

    The workaround suggested by Chuck Ebbert on the bugzilla item worked for me. I installed 7.04 on Virtual PC as follows:

    1. I downloaded the normal CD ISO image – not a special version.

    2. On the boot menu, press F4 for VGA and choose 1024x768x16 to prevent the graphics corruption problems.

    3. Press F6, remove the option “splash” and add the option “i8042.noloop” – this fixes the mouse.

    4. Run through the install process normally.

    5. During first boot, press Esc in grub, then e to edit the boot option and make the same adjustments as in step 3 to the kernel command line so the mouse works during first boot.

    6. Edit /boot/grub/menu.lst and change the boot options as per step 3 so the mouse works in subsequent boots.

  4. Glen McCormick Says:

    Re: Paul Hickman

    Depending on how you like your pain you can do either the above or just boot up without the mouse and do ALT+F1 and follow the menu into accessories into a terminal then it’s just:

    sudo vi /boot/grub/menu.lst

    to edit your boot options (replace vi with editor of choice of course) save and reboot using ALT+F1 arrow keys to access other menus/items and reboot.

  5. Bailey Says:

    What do you mean by “editor”?

  6. jonas_man Says:

    i installed ubunto and at any time you can do this step:
    you do not need to be in first time.

    “During first boot, press Esc in grub, then e to edit the boot option and make the same adjustments as in step 3 to the kernel command line so the mouse works during first boot.”

  7. Arvy Says:

    remove the option “splash” and add the option “i8042.noloop”

    Works fine. Kernel generic.

    No additional patches needed. Thank you.

  8. David Says:

    I have a different issue – got the mouse working fine, all the install goes well, but when I restart Virtual PC seems to fail to save the virtual HDD image, and I have to restart with the CD each time (like it’s trying to run off the CD rather than install – which implies some sort of install problem).

    Have you run into this?

  9. ShaunO Says:

    Just to confirm that again, at this point, after a software update on ubuntu (inside VPC) mouse stopped…
    Using info in comments here works
    during grub press ESC
    ‘e’ edit
    edit the ‘kernel’ line to add i8042.noloop

  10. 7echno7im Says:

    thanks for the tip! It worked like a charm! I was just about to wipe my Kubuntu 7.10 RC system.


  11. Get Blogged @ Cybergate9.Net » Blog Archive » Virtual PCs now mainstream Says:

    […] and Fedora (7/KDE)  into VirtualBox and Virtual PC. Ubuntu does have a mouse issue which is easily resolved under Virtual […]

  12. keith Says:

    to do a permanant fix for no mouse use these steps as prev dont let you save menu this one will
    Open a terminal and type this:
    gksudo gedit /boot/grub/menu.lst

    edit the line splash with i8042.noloop then alt and f arrow down too save


  13. Ian Crowther Says:

    Hi All,

    Neebie converted from vista – thanks for mouse!!


  14. Mikebruce Says:

    very well written..cheers

  15. Installing OEL 5 on Win 7 Virtual PC « Sean's Oracle Share Says:

    […]     The mouse was not working. The solution was to  Edit /boot/grub/menu.lst and add “i8042.noloop” to the end of the “kernal” line. See https://arcanecode.com/2007/04/23/ubuntu-704-and-virtual-pc-2007-no-mouse-issue/#comment-8249 […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: