How to configure GRUB to boot from CD-ROM?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sun Aug 19 14:25:26 UTC 2007


Adalbert Prokop wrote:
> Mikkel L. Ellertson wrote on Sunday 19 August 2007:
> 
>> You may want to control when you boot off a CD - maybe even password
>> protect that menu option in grub.
> 
> That's exactly my intention. :) I don't like to have CD-ROM as primary 
> boot device on my laptop all the time. But sometimes booting a CD is very 
> handy and I do not like fiddling within the BIOS all the time. 
> Unfortunately my BIOS does not offer a separate boot menu where you can 
> quickly select a boot device.
> 
I just had a strange thought - I don't know if it will work. There
is a floppy image called oldbios that will allow you to boot from a
CD on systems that do not support booting from CDs. I have only seen
it as an .exe file that burns a floppy under DOS/Windows. But you
could burn a floppy, use dd to copy the image to your hard drive,
and then chainload the image when you want to boot from a CD.

For example, if you have an image file called cd_boot.img in /boot,
and /boot is its own partition, something like:

title CD_Boot
	rootnoverify (hd0,0)
	chainload cd_boot.img

You will probably have to play with it a bit, because this is off
the top of my head, and I am only on my second cup of coffee...

http://ebcd.pcministry.com/download/oldbios.exe

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070819/bd04fddb/attachment-0002.bin 


More information about the users mailing list