LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-02-2009, 06:43 PM   #1
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Rep: Reputation: 33
How to I make a bootable CD that contains grub2?


If I'm running legacy grub now, how do I make a boot CD with grub2?

I can't use the tips I have found so far because my running system is using legacy grub.
See this link:
http://www.justlinux.com/forum/showthread.php?t=152790

That's good info, but it seems to require that you already been booted up with grub2 active. I don't want to touch my existing HDD. I just want to make a grub2 bootable CD.
 
Old 11-02-2009, 06:52 PM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
seems you can use Ubuntu 9.10 livecd to make either rescue floppy or cd...

Quote:
May be there is a better way but I used a Grub2 floppy or a Grub2 CD. Each can only be made from a Live CD that has been shipped with Grub2, like Ubuntu 9.10. All you need to do is to boot up such a Linux Live CD, get into a root terminal, put a floppy into the drive and issue the following commands (originated from FranklinPiat/grub-mkrescue.manpage - GRUB Wiki)
Code:

grub-mkrescue --image-type=floppy /tmp/grub-rescue.flp
dd if=/tmp/grub-rescue.flp of=/dev/fd0 bs=1024

Basically the grub-mkrescue copies Grub2 image into the specified file and you use the dd command to write the same onto a floppy. For a bootable Grub2 CD the instructions are
Code:

grub-mkrescue --image-type=cdrom /tmp/grub-rescue.iso
wodim /tmp/grub-rescue.iso
that what you mean?
 
Old 11-02-2009, 07:30 PM   #3
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Original Poster
Rep: Reputation: 33
Thank you. Yes, that's what I had in mind. I was hoping to not have to download a Ubuntu LiveCD. I thought maybe there was something like Super Grub Disk for Grub2. But I will give the LiveCD method a try. That seems like the only choice for now, and it should accomplish what I had in mind. Thanks.
 
Old 08-06-2010, 02:28 AM   #4
Paul G.
LQ Newbie
 
Registered: May 2006
Location: Auckland, New Zealand
Distribution: ArtistX 0.9
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by Mountain View Post
Thank you. Yes, that's what I had in mind. I was hoping to not have to download a Ubuntu LiveCD. I thought maybe there was something like Super Grub Disk for Grub2. But I will give the LiveCD method a try. That seems like the only choice for now, and it should accomplish what I had in mind. Thanks.
You could also use Synaptic to install grub-rescue-pc which contains an ISO image [grub-rescue-cdrom.iso] that you burn to CD to create a bootable CD from. This is only 850.0 KB so it is not a large download. You could keep this image on a USB flash drive and boot it from there. For really old machines there is also an image [grub-rescue-floppy.img] to write to a floppy disk, being only 1.4 MB in size.

Both will boot you into a grub command-line environment with all the tools you need to repair a GRUB-PC installation.

Other links : --

http://www.gnu.org/software/grub/gru...tation.en.html

GRUB 2 bootloader - Full tutorial

Paul
 
  


Reply

Tags
booting, grub2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
use dd to make bootable disc linuxqueric Linux - Software 4 07-22-2008 05:55 PM
make your own bootable DVD hoover93 Linux - Software 1 09-27-2007 01:34 AM
How to make HD bootable? malangbaba Puppy 2 08-30-2007 02:38 PM
How to make HD bootable? malangbaba Linux - Newbie 5 08-30-2007 07:30 AM
how to make slackware bootable CD? slackman Linux - General 4 12-01-2003 06:58 AM


All times are GMT -5. The time now is 08:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration