- Как смонтировать ISO-файл в Linux
- Как смонтировать файлы ISO с помощью командной строки
- Монтирование файлов ISO с помощью Gnome
- Выводы
- How to Create an ISO File in Linux
- From Files
- From a CD
- Community Q&A
- You Might Also Like
- How to Mount ISO Images Files in Linux
- Mount Command
- Mount / Extract Using Archive Managers
- GNOME Disks
- P7zip-full
- Conclusion
- About the author
- Nitesh Kumar
Как смонтировать ISO-файл в Linux
Файл ISO — это архивный файл, который обычно содержит полный образ компакт-диска или DVD. Например, большинство операционных систем, таких как Windows, Linux и macOS, распространяются в виде образов ISO.
Файлы ISO можно извлечь с помощью популярных архивных программ, смонтировать на устройстве с петлей и записать на USB-накопитель или пустой компакт-диск.
В этом руководстве мы объясним, как монтировать файлы ISO в Linux.
Как смонтировать файлы ISO с помощью командной строки
Команда mount позволяет прикреплять (монтировать) файлы ISO в определенной точке монтирования в дереве каталогов.
Инструкции в этом разделе должны работать с любым дистрибутивом Linux, включая Ubuntu, Debian и CentOS.
- Начните с создания точки монтирования, это может быть любое место, которое вы хотите:
sudo mount /path/to/image.iso /media/iso -o loop
Монтирование файлов ISO с помощью Gnome
Если вы используете дистрибутив Linux, который использует Gnome в качестве среды рабочего стола, вы можете смонтировать файл ISO с помощью приложения для монтирования образа диска Gnome.
Найдите ISO-файл, который вы хотите смонтировать, и щелкните его правой кнопкой мыши. В контекстном меню выберите «Открыть с помощью Disk Image Mounter».
После подключения образа на рабочем столе должен появиться значок устройства. Дважды щелкните по нему, и откроется файловый менеджер Gnome.
Чтобы отключить файл ISO, щелкните правой кнопкой мыши значок устройства и выберите «Размонтировать».
Выводы
В Linux вы можете монтировать файлы ISO с помощью команды mount . Пользователи настольных компьютеров могут использовать графические инструменты, такие как Gnome Disk Image Mounter.
Если у вас есть какие-либо вопросы или отзывы, не стесняйтесь оставлять комментарии.
How to Create an ISO File in Linux
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher.
The wikiHow Tech Team also followed the article’s instructions and verified that they work.
This article has been viewed 1,068,147 times.
This wikiHow teaches you how to turn a group of files into an ISO file on a Linux computer. You’ll use the Linux command line to do this.
From Files
Gather your ISO files in the home directory. Place any files that you want to turn into an ISO file in a folder inside of the home folder.
- Linux distributions vary in appearance, so you may have to look for the Terminal app inside of a folder in the Menu section.
- You might also find Terminal on the desktop, or in a toolbar on the top or bottom of the screen.
- For example: to create an ISO file named «blueberry» from files in a folder called «pie», you would type in mkisofs -o blueberry.iso /home/username/pie .
- File names and folder names are case-sensitive, so make sure you capitalize anything that needs to be capitalized.
- To create a multiple-word name, place underscores between words (e.g., «blueberry pie» becomes «blueberry_pie»).
- You may be prompted to enter your password before the ISO file is created. If so, type in your password and press ↵ Enter .
From a CD
Insert the CD-RW that you want to rip. You cannot rip an ISO file from CDs with read/write protection (e.g., audio CDs or movie DVDs).
- Linux distributions vary in appearance, so you may have to look for the Terminal app inside of a folder in the Menu section.
- You might also find Terminal on the desktop, or in a toolbar on the top or bottom of the screen.
- For example, you would type of=/home/username/pudding.iso to create an ISO file called «pudding» in the home directory.
- If you have multiple CD drives attached to the computer, your CD drives will be labelled from 0 up (e.g., the first drive will be labelled something like «cd0», the second will be «cd1», and so on).
- You may be prompted to enter your password before the ISO file is created. If so, type in your password and press ↵ Enter .
Community Q&A
Thanks! We’re glad this was helpful.
Thank you for your feedback.
As a small thank you, we’d like to offer you a $30 gift card (valid at GoNift.com). Use it to try out great new products and services nationwide without paying full price—wine, food delivery, clothing and more. Enjoy! Claim Your Gift If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow
Thanks! We’re glad this was helpful.
Thank you for your feedback.
As a small thank you, we’d like to offer you a $30 gift card (valid at GoNift.com). Use it to try out great new products and services nationwide without paying full price—wine, food delivery, clothing and more. Enjoy! Claim Your Gift If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow
Thanks! We’re glad this was helpful.
Thank you for your feedback.
As a small thank you, we’d like to offer you a $30 gift card (valid at GoNift.com). Use it to try out great new products and services nationwide without paying full price—wine, food delivery, clothing and more. Enjoy! Claim Your Gift If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow
Most Linux distributions have a file manager that will allow you to create an ISO file using the right-click menu as well.
Not all versions of Linux function identically to one another. If you’re unable to find your CD’s path or the ISO command isn’t working, you can check your distribution’s manual online.
You Might Also Like
Can Linux Run .exe Files? How to Run Windows Software on Linux
How to Open Linux Firewall Ports: Ubuntu, Debian, & More
How to Run an INSTALL.sh Script on Linux in 4 Easy Steps
Use Ping in Linux: Tutorial, Examples, & Interpreting Results
How to Mount ISO Images Files in Linux
This article will list a few methods using which you can mount ISO image files in Linux. After mounting these ISO image files, you will be able to browse their contents and copy / extract data from the mount point to your local file system.
Mount Command
The mount command, as the name suggests, allows you to mount a variety of filesystems. Once you mount a ISO image filesystem using the mount command, you will be able to explore its content using a graphical file manager or command line. To mount an ISO image file, use the following two commands in succession:
Replace “file.iso” with the name of your own ISO image file. You can change “mountpoint” to any other name. It represents the name of the folder where the ISO image filesystem will be mounted. In this case, a new folder is created in the home directory. On certain Linux distributions, you may have to prefix “mount” command with “sudo” to run the command as root.
To check if the ISO image file has been successfully mounted or not, you can run the following command:
If the command above returns a list of files and directories, then you can safely assume that the ISO image filesystem has been successfully mounted. You can now copy contents from the mount point to your local filesystem. Do note that most of the time, this mounted filesystem may be in read-only mode. If you want to modify the contents of the ISO image file, you may have to remove the write-protection mechanism and may have to use some external tools to repackage the ISO image file.
To unmount the mount point created in previous command, use the command specified below:
You may have to run it with “sudo” depending on configuration of your Linux distribution. It is highly recommended that you manually unmount the mount point once your work is done to avoid file corruption.
You can know more about “mount” command by running these two commands in a terminal:
Mount / Extract Using Archive Managers
File managers in almost all major Linux distributions come with an integrated plugin for extracting and managing compressed archives. You can use these archive managers to mount or extract content from ISO image files.
If for some reason your file manager doesn’t have a dedicated archive manager plugin, you can install such archive managers in your Linux distributions by searching for “archive manager”, “file roller”, “archivemount” and “engrampa” terms in the package manager. Once these packages are installed, just right click on an ISO image file and click on the menu entry that allows you to explore the archive.
Depending on the archive manager plugin you are using, the ISO image filesystem may be mounted or it may be opened in the archive manager GUI window. Once mounted, a new filesystem entry should appear in the sidebar of your file manager. Just click on the sidebar entry to explore its content. When your work is done, unmount it manually to avoid file corruption.
GNOME Disks
GNOME Disks or GNOME Disk Utility is a comprehensive utility for managing storage devices, local filesystems, partitions and disk image files. You can use it to mount an ISO image file and browse its contents. To install GNOME Disks in Ubuntu, use the command specified below:
You can install GNOME Disks from the package manager in other Linux distributions. Source code is available here.
You can follow two approaches to mount an ISO image file using GNOME Disks. After installing GNOME Disks, a new right click menu entry called “Disk Image Mounter” may appear in your file manager. Just click on the menu entry to mount the ISO image file.
If the right click entry doesn’t appear in your file manager, launch “Disks” application from the main application menu and click on the “Attach Disk Image” menu option to mount your desired ISO image file.
Once mounted, the newly created mount point should automatically appear in the GNOME Disks and your file manager.
P7zip-full
P7zip-full is an open source implementation of “7z” file format and archive management utility. You can use it to extract contents of an ISO image file.
To install P7zip-full in Ubuntu, use the command specified below:
You can install P7zip-full from the package manager in other Linux distributions. Additional packages and source code is available here.
Once installed, run the following command to extract content from an ISO image file (replace “file.iso” with your desired filename):
You can know more about “7z” command by running these two commands in a terminal:
Depending on the file manager you are using, you may get a new menu entry in the right click menu to extract the ISO archive.
Conclusion
These are some of the ways you can mount ISO image files in your Linux distribution. Some Linux distributions come with a dedicated, pre-installed utility for mounting and burning CD / DVD disks. You can also use these applications to explore the data contained in an ISO image file.
About the author
Nitesh Kumar
I am a freelancer software developer and content writer who loves Linux, open source software and the free software community.