Troubleshooting: Mouse pointer moving erratically in Linux!

If you are trying new distribution/version of Linux and founds mouse pointer is moving erratically at the time of installation or after installation then I think its time to scream eureka!

I got this problem while installing Fedora Core 4! While I searched exhaustively I ended up with no good and feasible solution! After long time I got same problem while installing OpenSuse 10.2 but this time I got solution there itself!

The key is to use boot option

psmouse.proto=bare

If you are getting this problem during installation then instead of starting normal installation type above at shell and just hit enter!

If you have already installed Linux and getting this problem, then edit /boot/grub/menu.lst file. It will have alongwith many lines one or more line(s) containing something like follows:

kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hda11

Note that the non-highlighted text in above line may slightly differ!
Once u find the line(s) like above add psmouse.proto=bare at the end of them! So final line may look like…

kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hda11 psmouse.proto=bare

Just save the file and reboot Linux!
If you still have problem lemme know!

Hot Tip: U can also edit /boot/grub/menu.lst from windows if u have windows on same machine by accessing Linux files from windows!