Sunday, December 20, 2009

How to mount iso files in Linux

ISO files are disk image. The standard is provided by International Standard Organization as it is named. Accessing an iso file may be important sometimes in Linux to upgrade/repair the system.

Open a terminal. To acquire root privilege type
# su
Password:

Provide password and hit enter.

Now create a mount point.
# mkdir /mnt/isotemp

Mount the iso file to mount point.
# mount -o loop /path to iso/filename.iso /mnt/isotemp

Display the file list.
# ls

Now you can access those files in read-only mode. To unmount use this command

# umount /mnt/isotemp

No comments:

Post a Comment