LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-25-2004, 05:55 PM   #1
rdmenotte
Newbie
 
Registered: Apr 2004
Posts: 24

Rep: Reputation: 15
Problem with mounting *.iso


I have seen many documents on mounting iso's with a simple command of:
mount -o loop <iso filename> <mount point>

but I get an error message of:
mount: could not find any device /dev/loop#

What is the cause/resolution of this??

ps. Is it really true that to make an iso... just type:
cp /mnt/cdrom/* /home/username/myfile.iso
 
Old 04-25-2004, 06:22 PM   #2
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Rep: Reputation: 15
Re: Problem with mounting *.iso

Quote:
Originally posted by rdmenotte
but I get an error message of:
mount: could not find any device /dev/loop#
Look at the output of
ls /dev/loop*

Do the devices exist?
If not, you might have a kernel without this loop support.
Try, as root,
lsmod | grep "loop"

can you see something?
If not, try, as root,
modprobe loop

and see if it's loaded.

Quote:
ps. Is it really true that to make an iso... just type:
cp /mnt/cdrom/* /home/username/myfile.iso
No. The cp command just cannot be used this way. If you input more than two arguments, the last HAS to be a directory.
Use "mkisofs" to create iso files.

Guldo
 
Old 04-25-2004, 06:44 PM   #3
rdmenotte
Newbie
 
Registered: Apr 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Ok... doing the lsmod and ls both as user and root do not return anything... Where in the kernel config is loop located (gentoo linux)?
 
Old 04-25-2004, 07:07 PM   #4
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Rep: Reputation: 15
Quote:
rdmenotte
Where in the kernel config is loop located (gentoo linux)?
Notice that distro is not important in this case.
It's in the "Block Devices" group.
You could check out your current configuration; look for a file called
config<your_version> in the /boot/ directory.
Your kernel version is given by the command
uname -a

Guldo
 
Old 04-25-2004, 08:12 PM   #5
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
when u fix the loop problem there is an easier way to mount an iso
just download a script called "Mount ISO image" that will let u just right click on the iso and select mount iso

http://www.kde-apps.org/content/show...36900e41ef1296
 
Old 08-10-2004, 12:17 PM   #6
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Rep: Reputation: 15
not a directory

hello
do you know what does this error mean?
Code:
# mount -o loop ./my.iso /mnt/iso
mount: Not a directory


Thanks
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting an *.iso... darkarcon2015 Slackware 14 10-25-2005 06:01 PM
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
problem mounting an iso weepenguin Linux - Newbie 14 04-07-2005 10:19 PM
Mounting ISO problem! c0nsur Debian 3 09-16-2004 12:50 PM
iso mounting enis2002 Slackware 4 04-16-2002 09:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration