DebianThis forum is for the discussion of Debian Linux.
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.
Hi,
I wanted to mount DVD image like *.iso. I typed
mount -t iso9660 -o loop *.iso /mnt/iso
and received
mount: it is not directory
I thought that something is wrong with the image so i tried to do the same with another file. It looked like *.bin. I typed
mount -t iso9660 -o loop *.bin /mnt/iso
and receive
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
How can I mount CD/DVD images in Linux? I looked through the Internet, man mount and tried all suggested commands. I use Debian etch
Last edited by lord_didger; 11-06-2006 at 10:57 AM.
Hi,
I wanted to mount DVD image like *.iso. I typed
mount -t iso9660 -o loop *.iso /mnt/iso
and received
mount: it is not directory
I thought that something is wrong with the image so i tried to do the same with another file. It looked like *.bin. I typed
mount -t iso9660 -o loop *.bin /mnt/iso
and receive
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
How can I mount CD/DVD images in Linux? I looked through the Internet, man mount and tried all suggested commands. I use Debian etch
Well does the mount (/mnt/iso) point actually exist? As well you should use the real name of the .iso image not a * in it.
/mnt/iso exist and there is no difference between command with full name and command with '*'. I have checked it a few times
Well there certainly is a difference using an * in the command you are telling it to mount all .iso images in the current directory to a single mount point that will not work if more than one is there. As for the other part if the mount point exists I'm out of ideas it works fine on my Etch/Sid mixed install.
Code:
HappyTux:/home/stephen/archives/isoimages# mkdir test
HappyTux:/home/stephen/archives/isoimages# ll
total 306657
-rw-r--r-- 1 root root 1474560 2006-08-16 17:21 av8.iso
-rw-r--r-- 1 stephen stephen 113893376 2006-09-03 11:45 debian-31r2-i386-netinst.iso
-rw-r--r-- 1 stephen stephen 1474560 2004-09-11 13:31 dosboot.img
-rw-r--r-- 1 stephen stephen 1474560 2005-03-11 21:23 fat32.img
-rw-r--r-- 1 stephen stephen 1474560 2004-08-20 19:02 powermax-4.09.img
-rw-r--r-- 1 stephen stephen 193921024 2006-08-16 17:00 sarge-custom-0801.iso
drwxr-xr-x 2 root root 48 2006-11-06 13:27 test
HappyTux:/home/stephen/archives/isoimages# mount -o loop sarge-custom-0801.iso test
HappyTux:/home/stephen/archives/isoimages# ll test
total 85
-r--r--r-- 1 root root 60 2005-06-12 19:11 autorun.bat
-r--r--r-- 1 root root 29 2005-06-12 19:11 autorun.inf
lr-xr-xr-x 1 root root 1 2006-07-22 00:14 debian -> .
dr-xr-xr-x 3 root root 2048 2005-06-12 19:11 dists
dr-xr-xr-x 3 root root 2048 2005-06-12 19:11 doc
dr-xr-xr-x 3 root root 2048 2006-07-22 01:18 install
dr-xr-xr-x 2 root root 4096 2006-08-01 19:53 isolinux
-r--r--r-- 1 root root 34493 2005-06-12 19:12 md5sum.txt
dr-xr-xr-x 2 root root 2048 2005-06-12 19:11 pics
dr-xr-xr-x 3 root root 2048 2005-06-12 19:11 pool
-r--r--r-- 1 root root 10315 2005-06-12 19:11 README.html
-r--r--r-- 1 root root 10016 2005-06-12 18:15 README.mirrors.html
-r--r--r-- 1 root root 7873 2005-06-12 18:15 README.mirrors.txt
-r--r--r-- 1 root root 5271 2005-06-12 19:11 README.txt
dr-xr-xr-x 3 root root 2048 2005-06-12 19:11 tools
HappyTux:/home/stephen/archives/isoimages# umount test
HappyTux:/home/stephen/archives/isoimages# mount -o loop *.iso test
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
I have only one iso in my directory. I did exacly the same what you did
Quote:
lord:/mnt/pocket/download/sth# ls
abc.iso
lord:/mnt/pocket/download/sth# mkdir test
lord:/mnt/pocket/download/sth# ls -l
-rw-r--r-- 1 lorddidger lorddidger 3,6G 2006-11-06 14:54 rzr-nfsc.iso
drwxr-xr-x 2 root root 4,0K 2006-11-06 20:41 test
lord:/mnt/pocket/download/sth# mount -o loop abc.iso test
mount: It is not directory
The file is located on /mnt/pocket. mount says
Quote:
lord:/home/lorddidger# mount
/dev/hda2 on / type ext3 (rw,noatime,nodiratime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hda3 on /home type ext3 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/hdc1 on /mnt/pocket type ext3 (rw,noexec,nosuid,nodev,noatime,nodiratime,user=lorddidger)
I copied the file into ~ and then did the same operations
lord:/home/lorddidger# file abc.iso
abc.iso: ISO 9660 CD-ROM filesystem data 'ABC'
I tried to mount another image.
Quote:
lord:/home/lorddidger# cat /dev/cdrom > ./disk
lord:/home/lorddidger# file disk
disk: ISO 9660 CD-ROM filesystem data 'Debian 3.1 r0a i386 Bin-1 ' (bootabl
e)
lord:/home/lorddidger# mount -o loop disk test
lord:/home/lorddidger# cd test
lord:/home/lorddidger/test# ls
autorun.bat dists isolinux pool README.mirrors.txt
autorun.inf doc md5sum.txt README.html README.txt
debian install pics README.mirrors.html tools
What does it mean?
Last edited by lord_didger; 11-09-2006 at 01:27 PM.
It seems that mount does not like the filesystem that is contained in the rzr-nfsc.iso it will mount the other .iso you created so there is something stopping it from reading the one you want too what that something is I have no idea. A quick search suggest the file is a torrent downloaded most probably made with a windows program so god knows what junk one of them things put into the .iso.
What should I do to open it in Linux? There is a program for windows called "deamon tools" which for sure opens it. Is there any program like that for Linux?
What should I do to open it in Linux? There is a program for windows called "deamon tools" which for sure opens it. Is there any program like that for Linux?
That program from its website seems to be for making/mounting backup copies of windows programs including the copy protection if any, perhaps the .iso you have has the copy protection in there which is stopping mount from seeing a real file system. I would suggest opening the .iso in windows and copying out any files you want from it then once in Linux mount the windows partition and copy the files over.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.