Linux Notice App

Mounting an iso file in Linux

 


You can enter the command below.

mount -o loop XXXX.iso /media/cdrom

You must have already created the cdrom folder in the media folder.

You must login as a root user, if not root user then switch to root user using following command:
$ su 

Create the directory i.e. mount point:
# mkdir -p /media/cdrom

Use mount command as follows to mount iso file called disk1.iso:
# mount -o loop XXXX.iso /media/cdrom

Change directory to list files stored inside an ISO image:
# cd /media/cdrom
# ls -l

another example
mkdir /mnt/iso
mount -t iso9660 -o loop movie.iso /mnt/iso

 

No comments

Powered by Blogger.