Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iso mount, sooo difficult.
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bingobob
Apprentice
Apprentice


Joined: 05 Apr 2004
Posts: 296
Location: Hertfordshire, UK

PostPosted: Wed Aug 18, 2004 8:15 am    Post subject: iso mount, sooo difficult. Reply with quote

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
View user's profile Send private message
tumbak
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 230
Location: supposedly Palestine

PostPosted: Wed Aug 18, 2004 8:18 am    Post subject: Reply with quote

Code:
mount foo.iso -o loop -t iso9660 /mnt/iso/

pay attention to the arguments positions. :wink:
_________________
less QQ more pewpew!
Back to top
View user's profile Send private message
bingobob
Apprentice
Apprentice


Joined: 05 Apr 2004
Posts: 296
Location: Hertfordshire, UK

PostPosted: Wed Aug 18, 2004 8:37 am    Post subject: Reply with quote

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
View user's profile Send private message
bingobob
Apprentice
Apprentice


Joined: 05 Apr 2004
Posts: 296
Location: Hertfordshire, UK

PostPosted: Wed Aug 18, 2004 8:43 am    Post subject: Reply with quote

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
View user's profile Send private message
jardragon901
n00b
n00b


Joined: 03 Jul 2004
Posts: 24

PostPosted: Wed Aug 18, 2004 9:05 am    Post subject: Reply with quote

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
View user's profile Send private message
tumbak
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 230
Location: supposedly Palestine

PostPosted: Wed Aug 18, 2004 9:22 am    Post subject: Reply with quote

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
View user's profile Send private message
bingobob
Apprentice
Apprentice


Joined: 05 Apr 2004
Posts: 296
Location: Hertfordshire, UK

PostPosted: Sun Aug 22, 2004 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
tumbak
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 230
Location: supposedly Palestine

PostPosted: Sun Aug 22, 2004 2:07 pm    Post subject: Reply with quote

looked everywhere for a 2 gig limitation but couldn't find any! :?
The only thing I can think of now is to use losetup(8) to mount the file as /dev/loopX and then mounting /dev/loopX to /mnt/iso .
try it.
_________________
less QQ more pewpew!
Back to top
View user's profile Send private message
hefe
n00b
n00b


Joined: 18 Aug 2004
Posts: 58
Location: Germany

PostPosted: Sun Aug 22, 2004 3:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
bingobob
Apprentice
Apprentice


Joined: 05 Apr 2004
Posts: 296
Location: Hertfordshire, UK

PostPosted: Tue Aug 24, 2004 3:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
tumbak
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 230
Location: supposedly Palestine

PostPosted: Tue Aug 24, 2004 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
xns
n00b
n00b


Joined: 24 Aug 2004
Posts: 2

PostPosted: Tue Aug 24, 2004 6:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
tumbak
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 230
Location: supposedly Palestine

PostPosted: Wed Aug 25, 2004 7:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Wed Sep 22, 2004 12:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Wed Sep 22, 2004 12:59 am    Post subject: Reply with quote

Ok i found the answer...the xbox isos have a different file system! xdvdfs!
_________________
fletto i muscoli...e sono nel vuoto
Back to top
View user's profile Send private message
bk0
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 266

PostPosted: Wed Sep 22, 2004 1:24 am    Post subject: Reply with quote

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
View user's profile Send private message
bingobob
Apprentice
Apprentice


Joined: 05 Apr 2004
Posts: 296
Location: Hertfordshire, UK

PostPosted: Wed Sep 22, 2004 9:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Wed Sep 22, 2004 3:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Sep 22, 2004 4:39 pm    Post subject: Reply with quote

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.

8)
_________________
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
View user's profile Send private message
zpet731
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 133
Location: Sydney Australia / Belgrade Serbia

PostPosted: Sat Sep 25, 2004 4:11 am    Post subject: Reply with quote

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
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Sat Sep 25, 2004 6:52 am    Post subject: Reply with quote

Perhaps you forgot loop in the kernel config
Back to top
View user's profile Send private message
zpet731
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 133
Location: Sydney Australia / Belgrade Serbia

PostPosted: Sat Sep 25, 2004 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Thu Oct 19, 2006 10:50 pm    Post subject: how to mount a xbox .iso file? |solved| Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Oct 19, 2006 10:56 pm    Post subject: Reply with quote

Check out extract-xiso and mountISO

http://www.kde-apps.org/content/show.php?content=11577
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Thu Oct 19, 2006 11:18 pm    Post subject: Reply with quote

extract-xiso works perfect
THANKS
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum