Results 1 to 4 of 4

Thread: How to create a GRUB bootable CD?

  1. #1
    Join Date
    Dec 2008
    Posts
    30

    question How to create a GRUB bootable CD?

    I had installed linux OS which had grub as a bootloader. i messed with some configuration and now i'm stuck. my computer won't load. i know the changes which i made and i can fix it through grub bootable [did that several time before]. but i've misplaced my grub bootable cd. can anybody help me with this??

  2. #2
    Join Date
    May 2008
    Posts
    2,684

    Re: How to create a GRUB bootable CD?

    GRUB supports the no emulation mode.This means that you can use the whole CD-ROM from GRUB and you don't have to make a floppy or hard disk image file, which can cause compatibility problems.For booting from a CD-ROM, GRUB need to have stage2_eltorito and optionally a config file.

    Here is an example of procedures to make a bootable CD-ROM image. First, make a top directory for the bootable image.

    Code:
    $ mkdir iso
    Make a directory for GRUB:

    Code:
    $ mkdir -p iso/boot/grub
    Now copy the file stage2_eltorito:

    Code:
    $ cp /usr/lib/grub/i386-pc/stage2_eltorito iso/boot/grub
    If desired, make the config file menu.lst under iso/boot/grub.
    Code:
    # Sample boot menu configuration file
    
    # By default, boot the first entry.
    
    default 0
    
    # The first entry as counting starts with number zero, not one.
    
    # Boot automatically after 30 secs.
    timeout 30
    
    # GRUB will boot automatically in 30 seconds, unless interrupted with a keypress.
    Finally, make a ISO9660 image file like this:
    Code:
    $ mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \ -boot-load-size 4 -boot-info-table -o grub.iso

  3. #3
    Join Date
    Dec 2008
    Posts
    30

    Re: How to create a GRUB bootable CD?

    Hey thanks man! i'll try it out as soon as i get on my PC. Actually i'm not very familiar with linux OS, wanna know why "load size 4" option is used to make bootable image? is it necessary?

  4. #4
    Join Date
    May 2008
    Posts
    2,684

    Re: How to create a GRUB bootable CD?

    No. You can ignore it if u have a newer computer, but some old computers need it for bios compatibility. All the Best!

Similar Threads

  1. How to create a Bootable USB Key?
    By MurTuza in forum Guides & Tutorials
    Replies: 7
    Last Post: 17-01-2012, 06:46 AM
  2. Create a bootable ISO with Chameleon V2
    By Keane in forum Windows Software
    Replies: 4
    Last Post: 16-08-2011, 08:57 PM
  3. How to create a bootable CD/DVD from a DMG?
    By Shakirah in forum Operating Systems
    Replies: 5
    Last Post: 18-09-2010, 04:07 PM
  4. Create Bootable Cd for windows Xp sp3
    By msi_1985 in forum Operating Systems
    Replies: 5
    Last Post: 14-03-2009, 01:02 AM
  5. Create Your Own Bootable Cds
    By Kuldeep S in forum Guides & Tutorials
    Replies: 1
    Last Post: 28-04-2008, 04:58 PM

Posting Permissions

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