PDA

View Full Version : Howto: Boot CD/DVD Using Grub


Jose Catre-Vandis
March 2nd, 2007, 06:32 PM
To avoid using the bios option to set boot from CD/DVD, or to help get incalcitrant bootable CDs or DVDs to boot, you can add Smart Boot Manager/MemDisk to your boot options in Grub and boot from Grub instead of using your bios.

You need a working grub loader installed.

First off, download these files attached:
54347
and untar

then copy them to your boot directory:
sudo cp memdisk sbm.bin /boot

then open up menu.lst in your editor (I have used nano here)
sudo nano /boot/grub/menu.lst
and add this to the bootable options (not in the magic section)
title=SBM-Boot a CD
kernel /boot/memdisk
initrd /boot/sbm.bin

Next time you reboot into grub, you will see a new entry "SBM-Boot a CD"

With your CD/DVD in the drive, select this option, and you will get the Smart Boot Manager menu.
Scroll down to the CD-Rom option, press "Return", and then "Return" again out of the confirmation dialogs.

Your CD/DVD should now boot.

Tested on Ubuntu Edgy 6.10
Thanks to the Gentoo Wiki for guidance
Just retrace your steps to remove this option.

Enjoy

Skerit
December 23rd, 2007, 07:15 AM
Ahh, nuts, you can't get those files anymore ...

Got another link?

sheepdogj15
January 3rd, 2009, 12:30 PM
hey cool. i'll give it a try

shadinata
June 9th, 2009, 10:23 AM
thank you, it works :)

black plague
June 9th, 2009, 11:49 PM
Very cool tip! Now I'm curious to know if there's a way to do the same with bootable USBs........:D

Jose Catre-Vandis
June 11th, 2009, 04:07 PM
Very cool tip! Now I'm curious to know if there's a way to do the same with bootable USBs........:D

I vaguely remember trying it but don't think it worked, so

You need to see my other post about booting USB installs from a PC that doesn't boot from USB

http://ubuntuforums.org/showthread.php?t=992426

mutantbabboo
April 26th, 2011, 01:38 PM
it keeps telling me no file or directory exsists

DGINSD
April 30th, 2011, 07:05 PM
I'm running into some issues I'm running Maverick 10.10 but I don't have a file "menu.lst" in /boot/grub/. I'm assuming I'm not supposed to be creating it.

I did find this in /etc/grub.d/40_custom which is an executable and reads:

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.

So I thought perhaps following your instructions up to adding the entry into "menu.lst" and instead adding it to the end of "40_custom" instead might work, but no cigar. What am I doing wrong or what different steps need to be taken for Maverick?

I really need this option as using the bios boot option is really hit or miss and sometimes totally unusable. Some help please? :)