PDA

View Full Version : [ubuntu] grub2 detection of other os



kathmary
May 2nd, 2010, 08:22 PM
I was wondering how to prevent grub2 from detecting operating systems on other hard drives. I have Ubuntu Lucid on the second hard drive with windows 7 on the primary (unplugged for now).

frantid
May 2nd, 2010, 08:41 PM
If you really don't want it to find others, take away the execute bit from /etc/grub.d/30_os-prober


sudo chmod 644 /etc/grub.d/30_os-prober

kathmary
May 3rd, 2010, 02:05 AM
Thank you very much! I googled and searched the forums but could not find this info. Appreciate your answer!