Tech Today

Linux Tip : mounting iso files in Linux

August 24, 2008 · 2 Comments

Mounting iso files in windows requires you to install Daemon tools,alcohol software etc but things are different and better in linux.Say you have a file called myfile.iso now to mount it on your system all you have to do is make a folder for mounting it say you name it miso.Here are the commands…

**Create a folder called miso **

$mkdir miso

**(assuming both myfile.iso and folder miso are in the same directory) now mount the file called myfile.iso in miso**

$sudo mount -o loop myfile.iso miso

**if miso is in /mnt directory and myfile.iso is in the downloads directory of your home directory**

$sudo mount -o loop ~/Downloads/myfile.iso /mnt/miso

Congrats ! Your iso file is mounted in miso directory

If you don’t have root access that is sudo then you can try this command

$mount -o loop -t iso9660 myfile.iso miso

Enjoy!

Categories: HowTo · Linux · Opensource
Tagged: , , ,

2 responses so far ↓

  • Boo Radley // August 28, 2008 at 2:06 am

    Be nice if you expanded on the article and explained what the options were for -o, -t, loop…

  • Abhishek // August 30, 2008 at 12:37 pm

    @Boo Radley :mount -t is used to specify the filesystem type after the -t flag..that means -t flag is used to specify filesystem type..
    loop is used for specifying loop devices.
    If no explicit loop device is mentioned (but just an option ‘-o loop’ is given), then mount will try to find some unused loop device and use that.Options are specified with a -o flag followed by a comma separated string of options.
    (the above info i took directly form the manual for mount …try man mount for more info)

Leave a Comment