An ISO file is an archive file that usually contains the complete image of a CD or DVD. For example, most operating systems like Windows, Linux, and macOS are distributed as ISO images.
ISO files can be extracted using common archive software, installed on a loop device, and written to a blank USB flash drive or CD.
In this tutorial, we will explain how to upload ISO files to Linux.
How to mount ISO files using command line
mount It allows you to upload an ISO file at a specified mount point in the directory tree.
The instructions in the section will work on any Linux distribution, including Ubuntu, Debian, and CentOS.
- Start by creating an anchor point, which can be anywhere you want:
sudo mkdir /media/iso
- Mount the ISO file to the mount point by typing the command
sudo mount /path/ke/image.iso /media/iso -o loop
What matters here are the options
-o loop. This option will tell the command to set the ring device to the specified ISO file and mount the device at the specified mount point.
Do not forget to replace
/path/ke/image.isoWith the path to your ISO file.
- To display the content of the ISO image, use the command
You can also open a file manager to view the contents of the ISO file.
- Unmount the ISO file with the command
umountIt is followed by the guide where the image is installed:
sudo umount /media/iso
If the ISO file is in use or opened by another application, command
umountWill fail to separate ISO file.
Mounting ISO files using Gnome
If you are running a Linux distribution that uses Gnome as a desktop environment, you can mount ISO files with the Gnome disk image mount app.
Find the ISO file you want to upload, and right click it. In the context menu, click the option “Open with Disk Image Mounter“.
Once the image is installed, the device icon will appear on the desktop. Double click on it and the Gnome File Manager will open the ISO file.
To unmount the ISO file, right-click on the device’s icon and select ‘Offload’.
You don’t need an extra app to download the ISO file, so you can view the contents of the ISO file without burning to USB / CD or extracting the contents.
The two easiest ways to download an ISO file are via the commands
mount. Desktop users can use a graphical tool like Gnome Disk Image Mounter.
Originally posted 2020-11-18 13:15:17.