LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How emulate a CD DRIVE w/ ISO file? (https://www.linuxquestions.org/questions/linux-newbie-8/how-emulate-a-cd-drive-w-iso-file-303435/)

guest 03-19-2005 12:48 AM

How emulate a CD DRIVE w/ ISO file?
 
I need to emulate the ISO drive so I can install parts of RHEL, mounting doesn't make it like a cd drive... wondering if there's a way?

Thoreau 03-19-2005 12:55 AM

export SETUP_CDROM=/mnt/iso
mount -t iso9660 /myiso.iso /mnt/iso

What is an ISO drive by the way? Is that new? :/

guest 03-19-2005 01:15 AM

lol.. that is something new isn't it.. typo.. but i want Linux to see my ISO as a cddrive.. not as a folder.. can this be done?

Thoreau 03-19-2005 01:42 AM

It's the same thing. You are thinking inside windows. That is not how linux or unix thinks. Everything is a directory. It does not give one drop a shit what somebody else calls it. It's a directory in linux.

guest 03-19-2005 04:00 AM

hmm why can't i add RHEL components? strange.. it keeps on asking me for the cd.... maybe there's an etc file i can edit?

Boow 03-19-2005 09:45 AM

AFIAK you can mount an iso but don't you have to boot a kernel to run the setup program since its inside a livecd.

mount -t iso9660 image.iso /mnt/whatever -o loop

guest 03-19-2005 12:29 PM

Let me explain what I'm trying to do. I've successfully installed RHEL 4 AS. Now that I want to install additional components.. such as KDE Desktop within the Add/Remove Applications program, it asks me for RHEL CD 1 - 4. I have no control over where to point the Source is, it just asks me for CD 1 - 4. I've also successfully mounted the ISO image, but the Add/Remove Applications program still asks me for the CD, it doesn't look for the mounted ISO image directory. Is there a way to make RHEL look at the mounted directory instead of /dev/cdrom ?


All times are GMT -5. The time now is 02:15 AM.