LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2003, 05:37 AM   #1
endicay
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9
Posts: 3

Rep: Reputation: 0
Question I need a virtual cd drive!


I have recently installed Red Hat Linux 9 onto a PC with no CD drive using the nfs method to access CD ISO images across the network.

I have tried to add applications subsequently using gnome's "System Settings - Add/Remove Applications". It tells me '"Red Hat Linux 9" disk 2 needed to install packages. Insert the disk and press OK.' Of course, the PC doesn't have a CD drive... I would like to avoid installing from scratch and having to re-register with the Red Hat Network and update everything again.

I know how to mount an ISO image so I can read it but I would like to avoid having to guess which package components are required to do the job manually in a shell.

Is there a way to mount an ISO image so that it appears to be the system's CD drive, a virtual CD drive? Put differently, can I make the gnome tool see a mounted file system (ISO image, in this case) instead of a physical device (CD drive)?
 
Old 11-25-2003, 08:11 AM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
Most likely the software functions by looking in /mnt/cdrom, rather than accessing the device file directly. Try mounting the .iso to /mnt/cdrom. This may fix the problem. If it doesn't then you will need to find a sources manager which can be used to see/set the path it searches in.
 
Old 11-25-2003, 10:03 AM   #3
endicay
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks nhs. This almost works.

I can now mount the iso on /mnt/cdrom and the browser window pops up showing the contents. However, when I use the gnome tool, it tells me '"Red Hat Linux 9" disk 2 needed to install packages. Insert the disk and press OK,' just as before and also unmounts the CD. So it looks like the gnome tool is addressing /mnt/cdrom. If I mount it again (equivalent to inserting the disc) and click on OK, it tells me "Unable to access disk. The disk was unable to be accessed for reading. Please confirm that it is in the drive and try again.' Permissions all down the /mnt/cdrom path have rx for everyone. The original iso image is also rx for all. I'm logged in as root anyway.

Does anyone have any other ideas?
 
Old 11-26-2003, 10:53 AM   #4
endicay
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9
Posts: 3

Original Poster
Rep: Reputation: 0
Don't worry, I've found the answer elsewhere. In case it's any use to anyone else, here it is.

redhat-config-packages --isodir="/path/to/dir/with/iso/images"

This brings up the same tool as "System Settings - Add/Remove Applications" and it reads the iso images with no further ado.

Hope this helps someone else.
 
  


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
Virtual Drive Kruncher Slackware 6 06-09-2005 06:54 PM
Install from virtual drive? Linunix Fedora - Installation 1 05-19-2005 08:38 PM
Virtual Drive Cyberian Linux - Software 7 12-01-2004 02:30 AM
Virtual CD Drive on Linux timapatel Linux - Hardware 3 01-27-2004 10:58 PM
Virtual CD drive futurist Linux - Software 4 05-29-2003 12:44 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration