Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-08-2003, 04:17 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: sweden
Distribution: redhat 9
Posts: 24
Rep:
|
mount cd images in redhat 9
Hi there.
I want to mount a cd image in linux but I just cant get it to work. I have tried to type:
mount -t iso9660 -o loop IMAGE.img /mnt/diabloii
But it just wont work. I get:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
What am I suppose to do? And please speak so a newbie understands =P
//Greggen
|
|
|
07-08-2003, 04:55 PM
|
#2
|
LQ Newbie
Registered: Jul 2003
Location: Ukraine
Distribution: Mandrake Debian
Posts: 15
Rep:
|
use this
mount -t iso9660 -o ro,loop=/dev/loop0 image.iso /mnt/diabloii
are you sure that directory /mnt/diabloii present ?
sorry for bad english
|
|
|
07-08-2003, 05:30 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Location: sweden
Distribution: redhat 9
Posts: 24
Original Poster
Rep:
|
Thanks
Tried that one now but without results =/ Still:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
And yes, im sure that the directory is there (its even got "chmod 777").
//Greggen
|
|
|
07-08-2003, 07:08 PM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Is something already mounted on that directory, to check use the 'mount' command:
mount
And it will display all your mounted devices and their mount points. Also, make sure you are doing this as root, normally users cannot mount things unless they are specified in /etc/fstab specifically.
One more thing, loopback support is in the kernel, I doubt you are having a problem with support from the kernel, but that's always something to look at.
Cool
|
|
|
07-08-2003, 07:25 PM
|
#5
|
LQ Newbie
Registered: Jul 2003
Location: sweden
Distribution: redhat 9
Posts: 24
Original Poster
Rep:
|
Nope, nothing mounted in that dir. And I have tried to mount as root to. And well about the kernel I might add that Im on 2.4.20-18 becuz i cant get the nvidia drivers to work on 2.4.20-18.9. (if that helps with something i dont know)
|
|
|
07-08-2003, 10:53 PM
|
#6
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
yah i get the same error when i try to mount iso images also...i can't figure it out.
|
|
|
07-08-2003, 11:12 PM
|
#7
|
Member
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Rep:
|
The nvidia prob is easily fixed, justy reinstall the driver again and it will rebuilf for the new kernel.
The mounting iso should be simple too, i did it a fair bit to install the redhat docs and some other stuff.
Stupid question, is the iso on a cdrom, and if so did u mount the cdrom first?
Just for stupidity sake, i tried the above instructions on my copy of redhat 9, mounted the redhat9 cd3 iso and they do work.
su
mount cd:
mount -t iso9660 /dev/hd? /mnt/cdrom
mkdir /iso-temp
cd /mnt/cdrom
mount -t iso9660 -o loop <imagename> /iso-temp
and it works ok.
Last edited by v00d00101; 07-08-2003 at 11:27 PM.
|
|
|
07-08-2003, 11:19 PM
|
#8
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
by that comment, does the iso have to be on the cdrom...i was almost positive that it didn't have to be and this was the whole point to mounting an iso, but if i am wrong then enlighten me.
|
|
|
07-08-2003, 11:24 PM
|
#9
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
You have to specify the full path for the image. Also did you create the directory /mnt/diabloii .
dd or mkisofs doesn't work with copyrighted protection CDs. You have to use something else to copy it.
It could be a bad image.
|
|
|
07-08-2003, 11:25 PM
|
#10
|
Member
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Rep:
|
It should not matter where it is, i was just asking, since its a mistake some people may make.
But no, the iso can be anywhere. I just mounted a copy the docs.iso that was on my hdd, and had no probs.
|
|
|
07-08-2003, 11:26 PM
|
#11
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
oh well, i just get the same error as that other d00d, when it says:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
|
|
|
07-08-2003, 11:33 PM
|
#12
|
Member
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Rep:
|
does /dev/loop0 exist?
also if the extension is .img try renaming it to .iso
For testing purposes, try mounting an iso on a cd. See if it works, if not you are gonna need to update your kernel.
OT: when u updated the kernel last time, why could you not rebuild the nvidia driver.
Last edited by v00d00101; 07-08-2003 at 11:38 PM.
|
|
|
07-08-2003, 11:37 PM
|
#13
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
brw-rw---- 1 root disk 7, 0 Aug 30 2002 /dev/loop0
and the file is an iso.
|
|
|
07-08-2003, 11:39 PM
|
#14
|
LQ Newbie
Registered: Jul 2003
Location: sweden
Distribution: redhat 9
Posts: 24
Original Poster
Rep:
|
v00d00: No, the img is on my fat32 partition (mounts on boot). And fot the nvidia thing i will try that now. But anyway the thing you said didnt work...same old error =/
//Gregg
|
|
|
07-08-2003, 11:51 PM
|
#15
|
LQ Newbie
Registered: Jul 2003
Location: Ukraine
Distribution: Mandrake Debian
Posts: 15
Rep:
|
hm ....
first copy iso to ext2 or other linux partition
i think constructins
/mnt/ /mnt/
can't work fine
sorry morning income i want sleep
|
|
|
All times are GMT -5. The time now is 10:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|