Results 1 to 3 of 3
Hi,
I found this information about mounting iso file in Linux:
Create the directory i.e. mount point:
# mkdir -p /mnt/disk
3) Use mount command as follows to mount iso ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-05-2009 #1
Mount ISO file
Hi,
I found this information about mounting iso file in Linux:
Create the directory i.e. mount point:
# mkdir -p /mnt/disk
3) Use mount command as follows to mount iso file called disk1.iso:
# mount -o loop disk1.iso /mnt/disk
4) Change directory to list files stored inside an ISO image:
# cd /mnt/disk
# ls -l
But when I type
mount -o loop disk1.iso /mnt/disk
nothing happens, I just get information about mount command.
Thanks
- 10-05-2009 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
That sounds like your syntax is bad. From looking at it you should at least specify what filesystem type you're using.
The -t switch is specifying that it is an iso9660 filesystem, i.e. CD/DVD.Code:mount -o loop -t iso9660 disk1.iso /mnt/disk
- 10-05-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,143
I do this for mounting iso images without problems. However, you must either be root or sudo the mount since mount is a privileged command. Ie,
if you are not root. If you are root, then executing mount without sudo should be just fine. As bigtomrodney said, you might need the type information, but on my RHEL/CentOS system you don't.Code:sudo mount -o loop disk1.iso /mnt/disk
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
