Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to create a GRUB bootable CD?

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 21-01-2009
RMG RMG is offline
Member
 
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??

Reply With Quote
  #2  
Old 21-01-2009
Member
 
Join Date: May 2008
Posts: 2,678
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
Reply With Quote
  #3  
Old 21-01-2009
RMG RMG is offline
Member
 
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?
Reply With Quote
  #4  
Old 21-01-2009
Member
 
Join Date: May 2008
Posts: 2,678
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!
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 01:12 PM.