Update: October 18, 2007 – Ubuntu 7.10 was released today, and I’ve now posted step by step instructions for installing it. If you haven’t yet installed Ubuntu, you may prefer to start with the instructions on 7.10, found here: http://arcanecode.wordpress.com/2007/10/18/installing-ubuntu-710-under-virtual-pc-2007/
OK, one of my readers “John” (thanks John!) shared a link to an unsupported patch that fixed the Ubuntu 7.04’s mouse under Virtual PC. Let me give you the quick summary of what I did:
- Fired up a new VirtualPC with the Fiesty Fawn “Live CD” in the drive. Booted up in safe graphics mode.
- Once up, I activated the keyboard mouse using the fix I described in my post “Ubuntu 7.04 and Virtual PC 2007 – Mouse Issue Workaround (sort of)” at http://shrinkster.com/p2u.
- I then installed Ubuntu, it was pretty straightforward although a bit annoying using the numeric keypad as a mouse. One hint, sometimes it didn’t recognize my mouse click until I moved the mouse off a button then back on.
- After the install I rebooted, then in my new install repeated step 2 to activate the keyboard mouse in my new install. Setting this in the Live CD didn’t carry over to the new install.
- I then opened firefox and went to the link John provided, https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/87262/comments/13. Since that’s a lot of typing, I shrinksterized it to make it very easy to type, http://shrinkster.com/p2t.
- Joe Soroka has posted a script, I downloaded it using the “shell script” link at the very top of the message and saved it to my home folder.
- I opened my File Browser (use Left Alt+F1 select Places, Home Folder). I moved the mouse (again using the numeric keypad) and clicked once on the sh file I’d saved.
- Now in the browser, with the file highlighted, hit left alt+enter or select File, Properties on the File Browser menu.
- In the dialog that appears, move to the Permissions tab, and check on the box that says “Allow executing file as program”. Click the close button to close the dialog.
- Now double click the sh file or press enter. You should see a dialog appear that asks if you want to open in a text editor or run the script. Select the “run in terminal” option. (Update, added “in terminal” based on feedback.)
- While the script executes it will ask for your admin password, give it.
- At one point it will also stop to ask if you want to skip or configure grub manually, or let it do it for you. I pressed enter to let the script do it for me.
- That ended the app, when the terminal window closed I rebooted (still using the numeric keypad as my mouse).
- When Ubuntu came back up, it flashed a quick message from the grub asking which kernel I wanted to load, I just took the default.
- I logged in and what do you know, my mouse worked!
Just FYI, I’m running Virutal PC 2007 under Vista, using the standard desktop version of Ubuntu 7.04.
The real hero here is Joe Soroka for posting such a simple fix. I encourage you to give it a try. If you are concerned about messing up your Ubuntu install, simply copy the VHD/VPC files to a backup location before running the fix.
A big thanks to Joe Soroka, and to “John” for posting the link. Now I can actually start playing with Ubuntu 7.04.


May 18, 2007 at 10:09 am
You can always just copy the text from the host and paste it into the virtual machine using RIGHT ALT+V
May 18, 2007 at 10:46 am
(the above is just useful for copying the link – and great fun to watch virtual pc’s method of pasting)
> Step 10 should say to select the Run In Terminal option as Run does not seem to do anything
> Also, as an alternative to parts of steps 6 and 7, it is probaly easier to save to the desktop so you don’t have to open a seperate file browser
May 18, 2007 at 3:21 pm
I worked fine for me, with VPC2007 on Vista32. Only problem was, because I got sick of using the keypad as a mouse really quick, I had no patience to figure out why my network wasn’t up. I used the trick to paste from the host. You have to wait for VPC to enter the entire script, one character at a time. That takes several minutes. Then you will probably have to enter your own carriage returns and tabs to make the script identical to the one displayed on the page from which you download the script. Once again though, it worked fine the first time! Oh yeah, and do select the “Run in Terminal” option for step 10, because the “Run” button does nothing at all.
May 19, 2007 at 5:20 am
Thanks for the feedback, I updated the instructions with the “in terminal” text. Glad it worked for you.
On the network issue, I had some as well when I was at work, although not at home. To fix while at work I set VPC to use “Shared Networking (NAT)” option under Networking.
I then clicked on the network icon in the upper right area of the bar (near the clock) and picked “wired”. Ubuntu refreshed itself and connected to the internet.
You may or may not have to do this, as I said when I got home that night Ubuntu connected to the internet with no problems, so I guess it’s something in the way the connections are setup externally to VPC/Ubuntu.
–Arcane
May 19, 2007 at 10:43 am
When I try to run this script I get numerous errors that say kernel.gz cannot be found.
May 21, 2007 at 3:03 pm
Thanks for the guide, I was installing Xbuntu so not all of the steps worked but I often another way of installing it which maybe easier. I think it should also work for Ubuntu.
1. Hit control-alt-F1
2. Login
3. sudo bash
4. apt-get install lynx
5. lynx http://shrinkster.com/p2t
6. hit ‘d’ on the “shell script” link and save it
7. chmod +x
8. ./
9. reboot
Worked for me
May 21, 2007 at 3:05 pm
Sorry steps 7 and 8 are missing the name of the shell script.
7. chmod +x scriptname.sh
8. ./scriptname.sh
May 22, 2007 at 10:16 am
Dino’s method worked perfectly for me. Thanks!
May 24, 2007 at 12:56 am
Even simpler:
1. reboot in recovery mode by pressing ESC on the GRUB screen
2. wget http://librarian.launchpad.net/7583925/unsupported-patch-for-87262.sh
3. chmod +x unsupported-patch-for-87262.sh
4. ./unsupported-patch-for-87262
5. reboot
May 24, 2007 at 1:14 pm
paperino’s simple approach worked like a charm. Only change is in step 4. Be sure to add the .sh to the end of the filename.
May 26, 2007 at 6:31 pm
Paperino’s method worked fine for me on Ubuntu Studio.
May 28, 2007 at 6:55 am
Wow! That was easy! Just to summarize what I did using paprino’s easy script adding the .sh per dax to the file name. And using the Right ALT + V per Russ:
Use the RIGHT ALT + V to paste the below lines into Ubuntu. Much easier than typing it out.
1. reboot in recovery mode by pressing ESC on the GRUB screen
2. wget http://librarian.launchpad.net/7583925/unsupported-patch-for-87262.sh
3. chmod +x unsupported-patch-for-87262.sh
4. ./unsupported-patch-for-87262.sh
5. reboot
May 28, 2007 at 8:01 pm
I tried the script but it failed becasue I used the server CD insted of the desktop. Any suggestions?
May 30, 2007 at 7:43 am
John again. This morning my Ubuntu upgraded itself to 2.6.20-16, which killed the mouse. I had to reboot to the 2.6.20-15 patched version. I do not know linux well enough to know where to patch -16, although it would be nice of somebody to fix the source.
Anyway, just a heads up.
john
May 30, 2007 at 3:31 pm
Hi,
Great page, but could you please spell “Feisty” properly…?
Mark
May 30, 2007 at 5:53 pm
[...] http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007… [...]
May 30, 2007 at 11:04 pm
[...] Courtesy of the comments at Arcanecode: [...]
May 31, 2007 at 12:14 am
[...] http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007… [...]
May 31, 2007 at 12:26 pm
There is another way to fix this and it does not go away. Just add a “kernal paramater” of “i8042.noloop” (without quotes). If your like me and scratch your head when you see “kernal paramater”, go here http://grumpymole.blogspot.com/2007/05/ubuntu-how-to-edit-grub-boot-parameters.html Thanks to Phillip Lougher for showing me how.
June 6, 2007 at 1:06 am
Would love to see an updated source or instructions on how to make this work when the kernel is updated to 2.6.20-16
June 6, 2007 at 6:49 am
worked perfectly. Thanks alot
June 6, 2007 at 6:01 pm
As John reported above upgrading to 2.6.20-16 breaks the mouse again – does anyone have a fix for this yet? Is this likely to be fixed properly any time soon or have PS/2 mice been written off as unsupported?
June 7, 2007 at 3:31 pm
Actually Indianabeck’s solution of adding i8042.noloop to the kernel parameters works just fine with 2.6.20-16.
June 8, 2007 at 11:17 am
Thank you Indianabeck, i8040.noloop fixed the problem. Now I need to figure out why I have to tell Ubuntu that it has a wired network everytime I reboot.
June 11, 2007 at 9:06 am
[...] The mouse didn’t work (possible solution) [...]
June 14, 2007 at 7:04 pm
There must be something different when running Windows XP PRO SP2 and Virtual PC 2007 – I tried the instructions above but had no luck.
Any ideas?
fastmachine@gmail.com
June 20, 2007 at 3:20 pm
Thank you for the mouse fix. I had been using Hoary hedgehog in Virtual PC, finally decided to upgrade, didn’t know about this mouse issue. Awesome that you have this not-too-difficult fix for us! I hope the ubuntu folks are paying attention and stick this into the next build(s).
Thanks a lot!
June 20, 2007 at 4:40 pm
I should have mentioned that Hoary is v 5.04, and installed very easy, and everything (network, mouse, etc.) just worked without problem in Virtual PC. So I expected the same for 7.04. Both network and mouse took some effort to get going, but now it is working fine. Thanks again.
June 27, 2007 at 11:01 pm
[...] Fixing Ubuntu 7.04 Fiesty Fawn Mouse under Virtual PC 2007 ที่บอกขั้นตอนการติดตั้ง Ubuntu [...]
July 1, 2007 at 6:26 pm
Thanks a bunch! I now have a mouse to use!
July 7, 2007 at 11:12 pm
This worked great for me until Ubuntu installed several updates, and when I rebooted the mouse died again. I tried the script again but it didn’t work that time. Any ideas?
(Also, I am a brand-new Linux user, so I’m afraid I can’t give much technical information…)
July 10, 2007 at 8:38 am
Oops, never mind, somehow I missed one of the above posts…
July 11, 2007 at 3:18 pm
It worked for me! Thanks for the tip!
July 14, 2007 at 4:51 pm
I have translate yours post in Italian. Thanks
http://nicopi.wordpress.com/2007/07/15/guida-utilizzare-il-mouse-in-virtual-pc-2007-con-ubuntu-fiesty-fawn/
July 15, 2007 at 11:28 am
Thx to everybody who participated in this solution. Works for me!
July 18, 2007 at 2:41 pm
For an easy fix, do this:
At boot option screen, press F6 and erase “splash”. Put in “i8042.noloop” (w/o quotes). This should fix it, but you’ll have to type it in every time
August 17, 2007 at 2:45 pm
[...] Resource Links: Fixing Ubuntu 7.04 Fiesty Fawn Mouse under Virtual PC 2007 http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007… [...]
August 17, 2007 at 3:32 pm
NICE! This worked perfect! Thanks a million!
August 22, 2007 at 6:19 am
hi guys i test it this solutions but it does not working i got the server version
i get the msg:
md5sum: /boot/vmlinuz-2.6.20-15-generic: No such file or directory unexpected version of /boot/vmlinuz-2.7.20-15-generic
sombody have solution for my problem?
August 29, 2007 at 11:00 am
Kubuntu? can i use this same script?
September 4, 2007 at 6:00 am
To fix mouse you simply start vpc 2007 then when you have option to do safe graphics go to that do not click it press F6 and type at the end i8042.noloop Then press enter The mouse will work!!!
September 7, 2007 at 6:46 am
Thanks to mumblymoo for the tip!
September 26, 2007 at 7:06 pm
[...] most of the tips here myself – thanks to ArcaneCode for a series of posts about the mouse issues, culminating with indianabeck’s tip about the boot parameter. And thanks to my friend Marc Teale who [...]
October 6, 2007 at 7:09 pm
[...] Source : http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007… [...]
October 16, 2007 at 3:14 pm
Tried the fix on xp running on an old laptop and it didn’t work
. Pitty I had high hopes.
October 16, 2007 at 8:05 pm
É isso ae o meu funcionou perfeitamente estou usando o Windows Vista com Virtual PC 2007 e Ubuntu 7.04
Valew
Tk´s
October 18, 2007 at 5:42 pm
Kbunutu 7.10 on Virtual PC 2003
Tested i8042.noloop in grub boot, mouse works
In /boot/grub/menu.lst
Replacing:
kernel …… splash
with:
kernel …… i8042.noloop
boots fine with mouse enabled…. now onwards to get my eth0 working and install some packages, but first bed!
R
October 18, 2007 at 9:44 pm
Russell, that worked like a charm. One question is do I have to make that change each time? It didn’t save it once I shut down and restarted.
October 18, 2007 at 10:11 pm
Dean, I just posted instructions on how to install Ubuntu 7.10. (See my post for October 18 2007). The last few steps on editing the menu.lst should also work under 7.04.
By the way I said it in the October 18 post, and I’ll say it again here, thanks to all the wonderful folks who added comments here, made the install for 7.10 much easier.
Arcane
October 19, 2007 at 4:42 pm
Arcane,
Thanks very much!
Dean
October 20, 2007 at 10:05 pm
Hi all.. i’m running Ubuntu 7.04 in Ms Virtual server and have same mouse problem. But, if I connect using VNC, my mouse work perfectly fine. I hope this help you in using the mouse to fix the mouse issue
Currently upgrading to 7.10. willl try the patch later . should work. Only issue I observed is the CPU utilizaton goes higher. Not an issue if you have a fast one like Intel core2duo e6750.
October 20, 2007 at 10:20 pm
Ooops.. btw mine was a working linux migrated to virtual server…and remote desktop was enabled. In case of installing a new one, the remote desktop will be still disabled. so..not pretty useful. I have tried editing grub. Will let you know once I restart.
October 21, 2007 at 1:56 am
[...] from unknown [...]
October 27, 2007 at 5:40 pm
[...] http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007… [...]
November 7, 2007 at 4:02 pm
[...] 2)and kernel patch. [...]
January 6, 2008 at 10:02 am
[...] ‘videoYouTubeBig’, ”, false);How-ToAdding a Second Hard Drive to VirtualPC Step by StepFixing Ubuntu 7.04 Fiesty Fawn Mouse under Virtual PC 2007Networking TutorialHow does networking work under Virtual PC / Virtual Server?Exploiting Virtual PC [...]
February 19, 2008 at 9:48 am
[...] Fixing Ubuntu 7.04 Fiesty Fawn Mouse under Virtual PC 2007 [...]
April 17, 2008 at 8:48 am
Bailey said:
At boot option screen, press F6 and erase “splash”. Put in “i8042.noloop” (w/o quotes).
This worked for me and it also cured my graphics problem. In normal mode graphics were corrupt, in safe mode everything was too big so I couldn’t see the whole screen.
This is in MS VPC2007 under a Vista x64 host.
June 16, 2008 at 5:25 pm
[...] Fixing Ubuntu 7.04 Fiesty Fawn Mouse under Virtual PC 2007 [...]
September 14, 2008 at 12:46 pm
[...] • June 15, 2007 Wer Ubuntu auf Virtual PC inkl. Mausbedienung installieren will, findet unter http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007… eine Schritt-für-Schritt Anleitung. So läuft nun Ubuntu auf meinem Windows Vista 64bit Notebook [...]
May 11, 2009 at 6:31 pm
Hmm Didnt Quite Work For Me On Ubuntu 9.04
Is There A Newer Version Of This Somewhere?
May 11, 2009 at 8:07 pm
I did a set of install instructions for 8.10, but have not had time to look into 9.04 yet.
October 8, 2009 at 12:51 am
any news on 9.04? i can’t seem to get it to work…
Im using the windows 7 virtual pc