View previous topic :: View next topic |
Author |
Message |
bingobob Apprentice


Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Wed Aug 18, 2004 8:15 am Post subject: iso mount, sooo difficult. |
|
|
OK, this problem has been bugging the hell out of me for weeks.
I would like to mount an iso file.
Code: |
ess iso # mount -o loop -t iso9660 foo.iso /mnt/iso
mount: Not a directory
ess iso #
ess iso # ls -al /mnt/iso
total 8
drwxr-xr-x 2 root root 4096 Jul 17 18:06 .
drwxr-xr-x 8 root root 4096 Jul 17 17:26 ..
|
Anyone help, I am really stuck.
I am root, the iso and the mount point exist.
The iso is valid (I tried with several).
Loopback IS enabled in the kernel. |
|
Back to top |
|
 |
tumbak Apprentice


Joined: 10 Jan 2004 Posts: 230 Location: supposedly Palestine
|
Posted: Wed Aug 18, 2004 8:18 am Post subject: |
|
|
Code: | mount foo.iso -o loop -t iso9660 /mnt/iso/ |
pay attention to the arguments positions.  _________________ less QQ more pewpew! |
|
Back to top |
|
 |
bingobob Apprentice


Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Wed Aug 18, 2004 8:37 am Post subject: |
|
|
tumbak - i luv u !
did u see the other thread on this, talking like 10 posts - noone spotted it.
U ARE THE BEST!!! |
|
Back to top |
|
 |
bingobob Apprentice


Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Wed Aug 18, 2004 8:43 am Post subject: |
|
|
hmmm, maybe a bit quick to congratulate.
Works with a small ISO.
Doesn't work with a huge one, 3 gig+.
wierd. plenty of disk space available.
"mount: Not a directory" is the error. |
|
Back to top |
|
 |
jardragon901 n00b


Joined: 03 Jul 2004 Posts: 24
|
Posted: Wed Aug 18, 2004 9:05 am Post subject: |
|
|
are you sure you have the directory made that you are mounting to? i.e. does /mnt/iso/ exist?
edit: it also could be a filesystem problem, is it a dvd iso you are trying to mount? You might want to check your kernel config to make sure you have all the filesystems compiled in that you need. |
|
Back to top |
|
 |
tumbak Apprentice


Joined: 10 Jan 2004 Posts: 230 Location: supposedly Palestine
|
Posted: Wed Aug 18, 2004 9:22 am Post subject: |
|
|
glad I could help you with the first issue.
the second one
Quote: | mount: ... : Not a directory
The local path is not a directory. Check the spelling in your command, and run ls to check if local path is a directory or not. |
Quote: | mountpoint: Not a directory
The mountpoint exists but it is not a directory. Check the spelling and pathname of the mount point. |
also post the exact command that gave you the error  _________________ less QQ more pewpew! |
|
Back to top |
|
 |
bingobob Apprentice


Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Sun Aug 22, 2004 12:48 pm Post subject: |
|
|
i used exactly the command u specifed. two ISOs mount and two dont. The top two mount ok.
Am I encountering the 2 gig limit on file sizes?
Code: |
rupert@ess iso $ ls -al *
-rw-r--r-- 1 rupert users 558200832 Aug 21 03:53 linspire-full-4.5.439.iso
-rw-r--r-- 1 rupert users 1527808 Jul 19 21:27 ps2.exe.iso
-rw-r--r-- 1 rupert users 3409313792 Aug 8 12:57 r-corefbb.iso
-rw-r--r-- 1 rupert users 2426994688 Aug 5 08:54 wam-rsba.iso
rupert@ess iso $
rupert@ess iso $
rupert@ess iso $ file *
linspire-full-4.5.439.iso: ISO 9660 CD-ROM filesystem data 'Linspire ' (bootable)
ps2.exe.iso: ISO 9660 CD-ROM filesystem data 'CDROM ' (bootable)
r-corefbb.iso: ISO 9660 CD-ROM filesystem data
wam-rsba.iso: ISO 9660 CD-ROM filesystem data
rupert@ess iso $
rupert@ess iso $
rupert@ess iso $
|
|
|
Back to top |
|
 |
tumbak Apprentice


Joined: 10 Jan 2004 Posts: 230 Location: supposedly Palestine
|
Posted: Sun Aug 22, 2004 2:07 pm Post subject: |
|
|
looked everywhere for a 2 gig limitation but couldn't find any!
The only thing I can think of now is to use losetup( to mount the file as /dev/loopX and then mounting /dev/loopX to /mnt/iso .
try it. _________________ less QQ more pewpew! |
|
Back to top |
|
 |
hefe n00b

Joined: 18 Aug 2004 Posts: 58 Location: Germany
|
Posted: Sun Aug 22, 2004 3:28 pm Post subject: |
|
|
just to make sure: the dir where you keep your iso images isnt the /mnt/iso?
if it isnt, excuse my question. .... just to make sure
try passing -t udf as filesystem to mount... |
|
Back to top |
|
 |
bingobob Apprentice


Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Tue Aug 24, 2004 3:11 pm Post subject: |
|
|
i dunno!
it did something.
Code: |
ess iso # losetup /dev/loop
loop loop0 loop1 loop2 loop3 loop4 loop5 loop6 loop7
ess iso # losetup /dev/loop0
/dev/loop0: [0303]:1065193 (r-corefbb.iso)
ess iso # mount /dev/loop0 -o loop -t iso9660 /mnt/iso/
mount: Not a directory
ess iso # mount /dev/loop0 -o loop -t udf /mnt/iso/
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
ess iso #
|
|
|
Back to top |
|
 |
tumbak Apprentice


Joined: 10 Jan 2004 Posts: 230 Location: supposedly Palestine
|
Posted: Tue Aug 24, 2004 3:56 pm Post subject: |
|
|
I dont have free space on this machine to create a +3 GB file, I'll do it at home tonight and tell you what happens  _________________ less QQ more pewpew! |
|
Back to top |
|
 |
xns n00b

Joined: 24 Aug 2004 Posts: 2
|
Posted: Tue Aug 24, 2004 6:58 pm Post subject: |
|
|
Just an idea, but those large .iso files you're trying to mount as iso9660, probably arent really using the iso9660 format, wouldn't you think?
Consider what they're for, and then you'll understand why its not working. |
|
Back to top |
|
 |
tumbak Apprentice


Joined: 10 Jan 2004 Posts: 230 Location: supposedly Palestine
|
Posted: Wed Aug 25, 2004 7:00 am Post subject: |
|
|
xns wrote: | Just an idea, but those large .iso files you're trying to mount as iso9660, probably arent really using the iso9660 format, wouldn't you think?
Consider what they're for, and then you'll understand why its not working. |
Code: | r-corefbb.iso: ISO 9660 CD-ROM filesystem data
wam-rsba.iso: ISO 9660 CD-ROM filesystem data |
I doubt `file` will be giving faulty information, don't you think!
@bingobob
I created two big files yesterday, one that is 3.3 GB and the other 6.7 GB, I formatted them in reiserfs and they mounted succefully without even a warning!
please give us the full path to the iso images and the full path of the mount point, maybe this is the problem. _________________ less QQ more pewpew! |
|
Back to top |
|
 |
Josuke Veteran


Joined: 07 May 2003 Posts: 1175 Location: Italy - Bolzano
|
Posted: Wed Sep 22, 2004 12:37 am Post subject: |
|
|
same problem here..the iso is an xbox game iso
The dir /mnt/iso exists i give this command
Code: | mount dnl-swbf.iso -o loop -t iso9660 /mnt/iso/ |
I'm in the dir where dnl-swbf.iso is
i try -t auto e udf too
The error:
Code: | minosse ~ # mount dnl-swbf.iso -o loop -t auto /mnt/iso/
mount: Not a directory |
_________________ fletto i muscoli...e sono nel vuoto |
|
Back to top |
|
 |
Josuke Veteran


Joined: 07 May 2003 Posts: 1175 Location: Italy - Bolzano
|
Posted: Wed Sep 22, 2004 12:59 am Post subject: |
|
|
Ok i found the answer...the xbox isos have a different file system! xdvdfs! _________________ fletto i muscoli...e sono nel vuoto |
|
Back to top |
|
 |
bk0 Apprentice

Joined: 04 Jan 2004 Posts: 266
|
Posted: Wed Sep 22, 2004 1:24 am Post subject: |
|
|
DVDs and xbox game images aren't isos, since they aren't ISO9660 filesystems. DVDs use UFS (Universal File System).
Code: |
# mount -o loop -t ufs ./image.ufs /mnt/dvd
|
|
|
Back to top |
|
 |
bingobob Apprentice


Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Wed Sep 22, 2004 9:34 am Post subject: |
|
|
None of that did it for me.
I hacked around with it for ages but got no-where mounting them.
In the end this did it for me....
Code: |
emerge -s xiso
Searching...
[ Results for search key : xiso ]
[ Applications found : 1 ]
* app-cdr/extract-xiso [ Masked ]
Latest version available: 2.4_beta2
Latest version installed: 2.4_beta2
Size of downloaded files: 201 kB
Homepage: http://sourceforge.net/projects/extract-xiso
Description: Tool for extracting and creating optimised Xbox ISO images
License: BSD
|
|
|
Back to top |
|
 |
Rainmaker Veteran


Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Wed Sep 22, 2004 3:46 pm Post subject: |
|
|
you can also try mounting it under antoher kernel.
From past exprience, I can say mm-sources, ck, love and nitro all have problems mounting a DVD iso I have.
Using the standard gentoo-dev-sources, it works great. I don't get any errors though, linux just crashes if I mount it  _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Wed Sep 22, 2004 4:39 pm Post subject: |
|
|
Code: | #mount -o loop RoryII.iso /mnt/iso |
works here, I dont even need to give it -t iso9660 , though i dont see why not!
If is use -t it can be before or after the -o , the order has to be, as it says in mount --help:
mount something somewhere.
 _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
 |
zpet731 Tux's lil' helper


Joined: 24 Mar 2004 Posts: 133 Location: Sydney Australia / Belgrade Serbia
|
Posted: Sat Sep 25, 2004 4:11 am Post subject: |
|
|
Ummm,
Guys where do I check if my loop device isn't working. it doesn't exist in the /dev directory? The thing is I was able to successfully mount iso files about a week ago.
Thanks,
Zoran |
|
Back to top |
|
 |
genstef Retired Dev


Joined: 13 Jun 2004 Posts: 668 Location: M/Bay/Germany
|
Posted: Sat Sep 25, 2004 6:52 am Post subject: |
|
|
Perhaps you forgot loop in the kernel config |
|
Back to top |
|
 |
zpet731 Tux's lil' helper


Joined: 24 Mar 2004 Posts: 133 Location: Sydney Australia / Belgrade Serbia
|
Posted: Sat Sep 25, 2004 12:45 pm Post subject: |
|
|
Yep you are right. I might have been mounting iso's while I was in 2.4 kernel cause I recently switched.
BTW any other modules I should enable while I am at it? (that is related to the loopback or other mounting utilities)
Thanks,
Zoran _________________ " Invention is the most important product of man's creative brain. The ultimate purpose is the complete mastery of mind over the material world, the harnessing of human nature to human needs."
Nikola Tesla |
|
Back to top |
|
 |
pieter_parker Veteran

Joined: 07 Aug 2006 Posts: 1488 Location: 127.0.0.1
|
Posted: Thu Oct 19, 2006 10:50 pm Post subject: how to mount a xbox .iso file? |solved| |
|
|
hi guys
anyone know how to mount a .iso file from a xbox cd/dvd
?
mount -t ... but which file format? i think it is not iso9660
Last edited by pieter_parker on Fri Oct 20, 2006 12:58 am; edited 1 time in total |
|
Back to top |
|
 |
Headrush Watchman


Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
|
Back to top |
|
 |
pieter_parker Veteran

Joined: 07 Aug 2006 Posts: 1488 Location: 127.0.0.1
|
Posted: Thu Oct 19, 2006 11:18 pm Post subject: |
|
|
extract-xiso works perfect
THANKS |
|
Back to top |
|
 |
|