I have just created ISO using these instructions:
How can I mount this iso image that was created?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Linux has a loopback device which lets you mount files that contain a filesystem on them. This will work for images of partitions (i.e. an ext3 backup image) but also works for cdrom images as well.
This command allows you to mount an iso image. In order of this to work,
/mnt/disk must already exist:
mount -o loop disk.iso /mnt/disk
-o switch is for mount options. The
loop option tells the mount command to find the first
/dev/loopX device and use it.
The following command helped:
mount -o loop -t iso9660 file.iso /mnt/test
You will probably need to create folder first like this.. $ mkdir/mnt/cd/ $ mount -o loop -t iso9660 whatever.iso /mnt/cd/ and think this work $ umount /mnt/cd/ $ mount -o loop -t iso9660 whatever.iso /mnt if you need to mount hardrive , usb .. osv.. find out name and place.. $ fdisk -l Device Start End Sectors Size Type /dev/sdb1 2048 1050623 1048576 512M BIOS boot /dev/sdb2 1050624 18020351 16969728 8,1G Linux filesystem /dev/sdb3 18020352 30365695 12345344 5,9G Linux swap $ mkdir /mnt/sdb2 $ mount /dev/sdb2 /mnt/sdb2 $ cd /mnt/sdb2/
You want to do a loop mount.
Follow the simple steps shown below : Just Create a Directory :
Now mount the iso image using below command.
mount -t iso9660 -o loop /app/file.iso /mnt/isomount/
-t : Used to Indicate the File System Type.
iso9660 : It is an Standard by International Organisation Standardiztion (ISO) for Medias (CD/DVD).
-o : Options are specified with a -o flag followed by a comma separated string of options.
loop : It is a pseudo-device or a fake device that is allow you to mount a file and makes a file accessible as a block device. Loop devices are often used for ISO images. We can check the mounted devices by below command.