Stop Grub2 seraching CD/DVD Drive for bootable OS's

Tom H tomh0665 at gmail.com
Thu Apr 22 18:48:56 UTC 2010


On Thu, Apr 22, 2010 at 9:47 AM, Rashkae <ubuntu at tigershaunt.com> wrote:
> Faizan Kazi wrote:
>>
>> No, I didnt mean that... I mean that when Grub2 loads and shows the boot
>> options (Linux images.... Windows... etc) it also searches the DVD drive! :(
>> or i may be wrong about that...
>
> I've only ever seen the option to stop grub from searching floppies.  I
> don't know how, or if, Grub can distinguish between different SCSI
> devices, especially if the bios does any kind of emulation as part of
> the boot from usb process.  If all else fails, and you really need to
> tame it, you might have to disable searching entirely.  As a quick test,
> in your /boot/grub/grub.cfg file (yes yes, the one you are never
> supposed to edit on pain of death) remove or comment out all the lines
> that start with search.  (suggest you back up the file before editing it.)

It is not necessary to edit grub.cfg, Press "e" when the grub menu
appears and delete it temporarily there.

Deleting the "search ..." line should not prevent the box from
booting. I tested that last October; I could boot with only one of the
"set root=" and "search ..." lines.

They are duplicating each other's work. The "set root=..." line sets
root as a grub device and the "search ..." line sets root as a uuid.




More information about the ubuntu-users mailing list