Results 1 to 8 of 8

Thread: Howto: Boot CD/DVD Using Grub

  1. #1
    Join Date
    Mar 2006
    Beans
    Hidden!

    Howto: Boot CD/DVD Using Grub

    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:
    sbm.tar
    and untar

    then copy them to your boot directory:
    Code:
     sudo cp memdisk sbm.bin /boot
    then open up menu.lst in your editor (I have used nano here)
    Code:
     sudo nano /boot/grub/menu.lst
    and add this to the bootable options (not in the magic section)
    Code:
    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
    Last edited by Jose Catre-Vandis; December 27th, 2007 at 04:05 PM. Reason: added new links for files
    No longer participating......

  2. #2
    Join Date
    Jul 2005
    Location
    Lennik, Flanders
    Beans
    285
    Distro
    Ubuntu Development Release

    Re: Howto: Boot CD/DVD Using Grub

    Ahh, nuts, you can't get those files anymore ...

    Got another link?

  3. #3
    Join Date
    Aug 2007
    Beans
    11

    Re: Howto: Boot CD/DVD Using Grub

    hey cool. i'll give it a try

  4. #4
    Join Date
    Jun 2009
    Beans
    1

    Re: Howto: Boot CD/DVD Using Grub

    thank you, it works

  5. #5
    Join Date
    May 2009
    Beans
    7

    Re: Howto: Boot CD/DVD Using Grub

    Very cool tip! Now I'm curious to know if there's a way to do the same with bootable USBs........

  6. #6
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: Howto: Boot CD/DVD Using Grub

    Quote Originally Posted by black plague View Post
    Very cool tip! Now I'm curious to know if there's a way to do the same with bootable USBs........
    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
    No longer participating......

  7. #7
    Join Date
    Apr 2011
    Beans
    1

    Re: Howto: Boot CD/DVD Using Grub

    it keeps telling me no file or directory exsists

  8. #8
    Join Date
    Feb 2011
    Beans
    391

    Re: Howto: Boot CD/DVD Using Grub

    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:

    Code:
    #!/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?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •