LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount cd images in redhat 9 (https://www.linuxquestions.org/questions/linux-newbie-8/mount-cd-images-in-redhat-9-a-71072/)

v00d00101 07-09-2003 12:37 AM

LOL, im still a newbie, of sorts. But my first distro was slackware, and redhat is so easy compared to slackware.

Greggen 07-09-2003 12:40 AM

hehe but atleast you helpt me =)

and about the iso...yes i guess that would work but what prog should i use? clonecd dont seem to work (thats what made this file so=

Greggen 07-09-2003 12:45 AM

DAMNIT! i typed rpm -i kernel-2.4.20-18.9.src.rpm and i get (translated from swedish):

error: cannot create %sourcedir /usr/src/redhat/SOURCES

v00d00101 07-09-2003 12:46 AM

If the iso is messed up, you need to re-download it, preferably using a decent download manager. If the game works in win98, then just copy the cd to a directory in said os.

v00d00101 07-09-2003 12:47 AM

remember to do

su

before u install it

DrOzz 07-09-2003 12:48 AM

this maybe a stupid questino, but when you issued that command, where you logged in as root?

Greggen 07-09-2003 12:49 AM

still same error

v00d00101 07-09-2003 12:53 AM

:(

Im all out of answers. When i install redhat i always install development tools, so i have kernel source installed by default.

Is it possible for you to install the rpm from gnome or kde?

Greggen 07-09-2003 12:59 AM

no i run the file and get to type the root pass then nothing happens..

if i run it from the (again translated from swedish) add/remove program it says that i need: krb5libs and openssl

MasterC 07-09-2003 01:15 AM

Whew, what a mouthful in this thread... ;)

Ok, so post up:
cat /proc/devices
You'll probably wanna pipe that to less, or to a text file, let's choose less for the example:
cat /proc/devices

If loop is listed, then we've now taken care of that, the loop device exists, so we move on.
Are you mounting as root? You must be root to mount. If you are root, we move on.
Your syntax, make sure it follows this format:
mount -t iso9660 -o loop /path/to/file.iso /path/to/mount/point
For me, here's what I get:
Code:

bash-2.05a# mount -t iso9660 -o loop test.iso /mnt/cdrom
bash-2.05a# ls /mnt/cdrom/
cdi  ext  mpegav  segment  vcd
bash-2.05a#

Again, make sure you are root.

Check all those steps, if you have loopback support in your kernel, which you most likely do, this has got to work (without the requirement of a kernel upgrade).

Cool

v00d00101 07-09-2003 01:19 AM

http://www.mirror.ac.uk/sites/ftp.re....7-14.i386.rpm

http://www.mirror.ac.uk/sites/ftp.re....6b-6.i386.rpm

Greggen 07-09-2003 01:22 AM

MasterC: well i still get the same error but i seems that it was a bad iso file (cant really understand that becuz it works in win98).

Greggen 07-09-2003 01:50 AM

v00d00: well i installed the rpm files but i still cant install the source...and the openssl was the wrong one (i think, but it was my bad didnt give you all the facts) so i downloaded openssl 0.9.7a-5 that should be the one...but i STILL cant install the source...

v00d00101 07-09-2003 02:05 AM

im not sure if you can add the development section of the cd after you have installed, let me check it out and get back to you.

MasterC 07-09-2003 02:07 AM

Yes you can, it's just a whole lotta work, outside the gui anyway. Some of the graphical tools which are front ends for RPM have it split up into sections, you just check everything in your "dev" section to get it all installed.

:)

Cool


All times are GMT -5. The time now is 06:44 PM.