LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   help me on a different issue (https://www.linuxquestions.org/questions/linux-software-2/help-me-on-a-different-issue-24410/)

fool_inteligent 06-26-2002 10:47 PM

help me on a different issue
 
i have a question if some one has no cd of redhat linux but all the data of these cds is copied in folders of harddisk and have a boot disk then what is the procedure?
i booted from floppy it asked for the source medium i gave it the path of hda1 where i copied the stuff of that cd.
but it did not worked. i think it can install only from iso image or cdrom.
now can i convert the files of cds of redhat in the shape of a iso image?(remember these files are on harddrive)
i tried ww.linuxiso.org but no help there on thiss issue.

MarcRochkind 06-27-2002 12:06 AM

I would say that this won't work, mainly because the install program can't use the hard disk to hold data needed for the install, because it needs to do rather invasive things to the hard disk (partition, format, etc.). Also, what OS did you use to copy the data to the hard disk? Windows? If so, the install is certainly not going to read a Windows partition during the install. (It could in theory, but I'm sure it isn't designed to do that in practice.) You need to prepare CDs in the form that the install expects them, which is what the ISO images are. How and if you can convert what you have to ISOs I have no idea.

Mik 06-27-2002 06:42 AM

Well it's possible to make an iso file out of it again. At least if you haven't copied all the files to a windows partition. That would make things more complicated since it probably messed up all the permissions then.

Anyways to make an iso you would need a floppy to boot from which supports local loopback. Then you would do something like:

mkdir /mnt/isoimage
dd if=/dev/zero of=isoimage.img bs=1k count=665600
mke2fs -i 1024 -b 1024 -m 5 -F -v isoimage.img
mount isoimage.img /mnt/isoimage -t ext2 -o loop

Then you can just copy the contents of the cd to /mnt/isoimage
Ofcourse I can't guarantee you that it will work. If it does any other sanity checks on the iso file they will probably fail.

But on install it should just mount the image file through a local loopback device and be able to access all the right files in the right location. But you might be better off making an iso image of the original cd.


All times are GMT -5. The time now is 04:59 PM.