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 |
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 |
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 |
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 |
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)
|
yah i get the same error when i try to mount iso images also...i can't figure it out.
|
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. |
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.
|
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. |
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. |
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 |
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. |
brw-rw---- 1 root disk 7, 0 Aug 30 2002 /dev/loop0
and the file is an iso. |
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 |
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 01:46 AM. |