Linux

Linux | How to easily mount or unmount an ISO image

In Linux we not only have graphical applications, but we also have the option of using the command console which makes everything faster and more practical.

With a few commands you will not only learn how to mount and unmount an image. But we are also going to teach you how to burn or burn an ISO image in Linux in a matter of seconds.

Pay close attention, the tutorial is quite simple and in a matter of a few minutes you will be able to mount any .iso file to make use of its content, whether you want to burn it or not and then simply disassemble it, it is a very simple process.

burn linux iso image

What is an ISO image?

An ISO image is simply a compressed or compact file. It is found under the ISO 9660 standard, which is where the name comes from. This class of packages can be used to share files of almost any class. You can even use programs like WinRAR to be able to unzip them and use its content.

In turn, the ISO format is the most popular to be burned to DVD, for example. It is the most used format for making backup copies, leaving aside the cloud storage.

Without going any further, attempts have been made to create different image formats (especially companies that have popular recording programs) but the .iso format does not seem to want to disappear and is by far one of the most popular compared to others such as: .img,. cue, .bin; etc.

burn an iso to a pendrive

How to mount and unmount an ISO image in Linux

To mount an ISO in Linux we are going to use the same native options that the operating system provides us. In case it is too complicated and you want something simpler, you can also use apps like Furious ISO or AcetoneISO that have graphical interfaces which makes everything easier.

However, we are going to start with three commands:

  • sudo mkdir / media / iso : with this command what you do is mount the image called “iso” in the “media” directory. After this command we can now access the content of the ISO file.
  • sudo mount -t iso9660 -o loop /home/user/image.iso / media / iso : this is to give it an ISO 9660 format. The full command allows us to use a virtual device known as a loop or loop device to mount the ISO in any kind of directory and access its content.
  • sudo umount / media / iso : with this command what we do is basically unmount the ISO image once we finish manipulating its content.

How to burn or burn an ISO image in Linux

In case you want to burn or burn an ISO image on a DVD or BlueRay, the commands are too simple and you can do it in a matter of a few seconds. For this we will need an app like wodim, xorriso or cdrskin among others and if you already have them installed then simply use these commands:

  • wodim -v dev = / dev / cdrom -dao /home/user/image.iso
  • cdrskin -v dev = / dev / cdrom -dao /home/user/image.iso
  • xorriso -as cdrecord -v dev = / dev / cdrom -dao /home/user/image.iso

A small curiosity is that in few cases the bone optical device your recorder can get another name that is not “/ dev / cdrom”. In such cases it can be “/ dev / dvdrom” or “/ dev / sr0 “, and so on.

It is not difficult at all to learn how to mount or unmount an ISO image easily. In this way you can take advantage of any ISO image to manipulate its content, make backup copies, etc. Remember that if you have any kind of doubt you can leave it a little further down in the comments section.

Leave a Reply

Your email address will not be published.

Back to top button