Friday, February 13, 2009

Workaround for mouse pointer not working with Linux 2.6.17, 2.6.18, .. kernel on Virtual PC 2007 SP1

If you are using Linux kernel version 2.6.17 or 2.6.18, running under Virtual PC 2007 SP1, the mouse pointer may not work properly.You will see it as frozen in the middle of the screen.

You can make the mouse work by adding the kernel parameter "i8042.noloop".
This was tested on RedHat Linux 5.3 using grub as boot loader.

How to do this?

Testing first to make sure this works:

  1. After PC starts, and before Linux is starting, press escape to go to go to grub menu
  2. On menu, Press "e" to start editing.
  3. Find the line starting like "kernel..." and press "e" to edit this line. Go to the end of line and enter "i8042.noloop" without the quotes. Make sure there is a space after the last parameter and the new. The line, after editing, should now look like "kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL=/ rhgb quiet i8042.noloop"
  4. Press Enter to accept the editing.
  5. Press "b" to boot with the updated kernel parameter

Making a permanent change once happy the above is working
  1. On a command prompt, edit file /boot/grub/menu.lst (vi /boot/grub/menu.lst)
  2. Find the line starting like "kernel..." and enter "i8042.noloop" at the end of line without the quotes. Make sure there is a space after the last parameter and the new. The line should now look like "kernel /boot/vmlinuz-2.6.18-128.el5 ro root=LABEL=/ rhgb quiet i8042.noloop"
  3. Save the file and reboot PC

No comments:

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...