LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   put rescue image on hard disk (https://www.linuxquestions.org/questions/linux-newbie-8/put-rescue-image-on-hard-disk-439552/)

leftPeg 04-27-2006 10:03 PM

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.

Electro 04-27-2006 11:04 PM

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.

leftPeg 04-27-2006 11:12 PM

The first thing I don't get is where do I find the ISO in the first place?

Electro 04-28-2006 08:53 PM

Use dd to make an image of your install/rescue CD.

Example:
dd if=/dev/hdc of=image.iso

AwesomeMachine 04-29-2006 01:33 AM

See Thread
 
Try this:

http://www.linuxquestions.org/questi...06#post1848006

jschiwal 04-29-2006 01:48 AM

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.


All times are GMT -5. The time now is 02:10 PM.