LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-27-2006, 10:03 PM   #1
leftPeg
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Rep: Reputation: 0
put rescue image on hard disk


I've installed Red Hat 9 via the installation CD, and created a boot diskette.


When I need to get into rescue mode I see that I can get to the installation boot prompt in one of these ways:
Quote:
*

By booting your system from an installation boot diskette made from the boot.img image. This method requires that the Red Hat Linux CD-ROM #1 be inserted as the rescue image or that the rescue image be on the hard drive as an ISO image. [1]
How to I put the "rescue image on the hard drive as an ISO image"?

I'd like to have this in case I don't have access to the installation CD, but do have the boot diskette.

Thanks.

D.
 
Old 04-27-2006, 11:04 PM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
There is a few ways. One is use isoemu, but it needs FAT32. Another way is to use existing kernel and initrd file to mount the ISO. Then use the chroot command.
 
Old 04-27-2006, 11:12 PM   #3
leftPeg
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Original Poster
Rep: Reputation: 0
The first thing I don't get is where do I find the ISO in the first place?
 
Old 04-28-2006, 08:53 PM   #4
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Use dd to make an image of your install/rescue CD.

Example:
dd if=/dev/hdc of=image.iso
 
Old 04-29-2006, 01:33 AM   #5
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,591

Rep: Reputation: 162Reputation: 162
See Thread

Try this:

http://www.linuxquestions.org/questi...06#post1848006
 
Old 04-29-2006, 01:48 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Look in the installation disk for a file called rescue.iso. You can also check if you have an /sbin/mkrescue command. Note that you might not, or it may assume that you are using lilo for a boot loader and need a valid /etc/lilo.conf to work. This command can create a rescue.iso file which you can save somewhere or burn to CDROM.

Check "man mkrescue" for details.
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hard-disk rescue iacopop Linux - General 4 01-30-2006 12:45 PM
Making a boot disk using rawritent need to know which image to put simmi Slackware 4 01-08-2006 04:43 PM
what entries to put into fstab for new hard disk? chuck_notorious Linux - Hardware 1 04-21-2004 03:37 AM
How to put a live CD distro onto hard disk ? qwijibow Linux - Distributions 3 02-25-2004 10:58 AM
How make disk image and put it on my new hdd jimdaworm Linux - Hardware 5 12-16-2003 11:58 AM


All times are GMT -5. The time now is 06:09 AM.

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