Click to See Complete Forum and Search --> : Install packages after installation process


KZaq
03-19-2003, 03:13 PM
Hi,
During Red Hat 8.0 installation i had the 3 ISO images on a vFat partition on hard disk and everything went ok. Now i want to remove some packages and install some others using the same 3 ISO images from the same partition but the Package Installer looks for a disk in the CD-ROM. I don't want to burn 3 CDs, i tried to mount the directory where the images are as /dev/cdrom but it didn't work. I couldn't find any info on any of the documents provided on this web site. I know I could use RPM, but i was trying to do it using the Package Installer.
How can I make this work ?

Thanks

Mike

mdwatts
03-19-2003, 07:51 PM
Try some of these suggestions from the G4L search for 'mount iso loopback' (http://www.google.com/linux?hl=en&lr=lang_en&ie=ISO-8859-1&q=mount+iso+loopback).

You may need to specify the loopback mounted device in the RPM package manager to be able to access.

KZaq
03-19-2003, 09:38 PM
Thanks for your answer.
I mounted the ISO image as a CD-ROM with :

mount /mnt/c/Temp/Linux/psyche-i386-disc3.iso /mnt/cdrom -t iso9660 -o ro,loop=/dev/loop0

where /mnt/c/Temp/Linux is the dir on the vFat partition and psyche-i386-disc3.iso is the 3rd image of Red Hat 8.0 the one that the Package Management is looking for, but it still tells me that is looking for a CD in the CD-ROM drive. If I try to mount it after I get the message, it shows:

ioctl: LOOP_SET_FD: Device or resource busy

There is no option to configure the Package Management to get the source of the installation somewhere else. There may be a configuration file somewhere where the Package Management gets its configuration. Possibly changing manually this file will solve the problem.
Any idea ?

Thanks.

Mike

mdwatts
03-20-2003, 07:18 AM
Originally posted by KZaq
If I try to mount it after I get the message, it shows:

ioctl: LOOP_SET_FD: Device or resource busy



The iso image is already mounted under /mnt/cdrom so of course you cannot mount the same device again.

Access the contents of the iso by

cd /mnt/cdrom
or
ls -al /mnt/cdrom

etc.

I rarely use a package manager as I prefer the commandline rpm instead.