Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running SuSE 9.3 on my machine. Installed it through the cd-version. Now, I need some packcages which come only with dvd. I downloaded the .iso file and mounted it using the command
mount -o loop -t iso9660 suse93livedvd.iso /media/iso
This was done successfully. Then, I read the contents of the iso and found another image file - cloop.img . I want to mount this file and I had gone through a posting on linuxquestions.org explaining how to mount .img files. I tried using
mount -o loop file.img /mnt/somewhere
but it didn't work. The person who posted the solution (win32sux) said that the above command works only if it is not a compressed image.
Could anybody give me any pointers as to how could I mount/extract this image file.
Copy the file from the iso image to another place on your file system
rename it so that it has the .gz extension (Yes i know , this is not the most elegant way!!)
As (win32sux) stated this should mount your image
mount -o loop file.img /mnt/somewhere
However, I think the problem is that your trying to mount it from within /media/iso. Try moving your .img file to another temporary directory and then try mounting to /mnt/somewhere. Also make sure that /mnt/somewhere exists first.
Read the man pages for 'mount' carefully. Once the first .iso is mounted, it should be possible to mount any part of it to another mount point with the command:
mount --bind olddir newdir
where oldir is the file within the .iso, and newdir is the directory to mount the file. Note that you *may* have to use the full path to the file in the mounted .iso, and the full path to the mount point.
I get permission denied when I try to mount the img file that is on another pc across the network.
Can someone please tell me how you mount an img file that is not on the local machine without having to copy it over first. (coz copying it over first works)
Spaniel is confusing GNU/Linux .img files, which are gzipped ext2 filesystems, with CD images created in Windows, which you cannot directly mount.
See http://linuxreviews.org/howtos/cdrecording/.
It links to an older version of ccd2iso, so you'll need to go to the sourcefourge page, and get version 0.2.
I had to edit the Makefile to use a newer version of automake on my system.
I have done it.
1. I used file.img to be my virutal floppy on Dos.
code: "format b:"
(b: is the file.img on my dos)
2. then "mkdir /mnt/floppy"
3. then "mount -t msdos -o loop file.img /mnt/flopppy"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.