LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-19-2005, 04:33 AM   #1
batev
Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
Mounting iso image


Hi! When I try to mount iso image file on my Slackware 10.2, 2.4.31 I have the following error:
Code:
root@home:/mnt/hd# mount -o loop whatever.iso /mnt/hd/
ioctl: LOOP_SET_FD: Invalid argument
Any suggestions?
 
Old 10-19-2005, 06:11 AM   #2
Keruskerfuerst
Member
 
Registered: Oct 2005
Location: Lat: 482356N, Lon: 104145E
Distribution: Gentoo 2006
Posts: 719

Rep: Reputation: 31
Hello!

Try to mount with following command:

mount /dev/(cdrom) -t iso9660 /mnt
 
Old 10-19-2005, 06:28 AM   #3
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Do you have loop back support compiled into your kernel?
 
Old 10-19-2005, 07:05 AM   #4
batev
Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
Yes, I have it:
CONFIG_BLK_DEV_LOOP=y
 
Old 10-19-2005, 11:04 AM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
Code:
mount -o loop -t iso9660 -r /path/to/file.iso /path/to/mountpoint
 
Old 10-19-2005, 11:17 AM   #6
batev
Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks but:
mount -o loop -t iso9660 -r /path/to/file.iso /path/to/mountpoint
ioctl: LOOP_SET_FD: Invalid argument

If I make it verbose with the -v option I have this:
mount: going to use the loop device /dev/loop0
ioctl: LOOP_SET_FD: Invalid argument
mount: failed setting up loop device
 
Old 10-19-2005, 11:45 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
you can only mount iso's that are stored on a linux filesystem.
if it's on FAT or NTSF it won't work.
maybe that's the case here ?

egag
 
Old 10-19-2005, 03:47 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Quote:
Originally posted by egag
you can only mount iso's that are stored on a linux filesystem.
if it's on FAT or NTSF it won't work.
maybe that's the case here ?

egag
I can loop-mount the ISO files that are on my NTFS partition just fine!

However, if your ISO is located on a SMB of NFS (i.e. network) filesystem, you may get the above error.

Eric

Last edited by Alien Bob; 10-19-2005 at 03:57 PM.
 
Old 10-19-2005, 03:58 PM   #9
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 530

Rep: Reputation: 30
try as root
mount -t iso9660 -o loop=/dev/loop(x) /path/to/iso /mnt/wathever
Ciao
 
Old 10-19-2005, 03:59 PM   #10
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Just a guess - Looking at the first post, it appears that you are in the directory that you want to use as a mount point. Just make a "cd /" and try the command again.
 
Old 10-19-2005, 04:18 PM   #11
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
Quote:
Originally posted by Alien Bob
I can loop-mount the ISO files that are on my NTFS partition just fine!

However, if your ISO is located on a SMB of NFS (i.e. network) filesystem, you may get the above error.

Eric
i could't mount them from NTFS or FAT a while ago
and google gave me a few times that info.
( i can't try, i don't have ntfs anymore )


if you use a recent kernel it might be kernel-development.

egag
 
Old 10-20-2005, 09:24 AM   #12
batev
Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
Yes, I moved the iso image from the ntfs partition to my xfs partition and now it can be mounted! Thanks everybody!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting ISO image satimis Linux From Scratch 12 10-22-2005 07:15 PM
Mounting iso image chadturner Linux - Newbie 11 09-08-2005 10:28 AM
Mounting ISO image CD/DVD fireedo Suse/Novell 9 05-05-2005 03:07 AM
Problems mounting an image .iso kroy Linux - Software 5 04-11-2005 10:15 AM
mounting ISO from an image true_atlantis Linux - Newbie 2 01-20-2004 10:29 AM


All times are GMT -5. The time now is 09:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration