In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to open the ISO file on the Linux system. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
ISO file is actually a mirror file of the CD, burning software can directly burn the ISO file into an installable system CD, ISO file is generally iso as the extension, its file format is iso9660, then how to open the ISO file in the Linux system.
Method 1. The software disk downloaded on the Internet with the mount mount command under Linux is in iso format, and the files inside can be read without being engraved into a CD. There's no need to decompress.
Use the mount-o loop / mnt//1.iso / mnt/cdrom command at the terminal (where is the path where your tool tray is placed).
After entering the command, open my computer-- > Open CD-ROM and you can see the files inside. Run install or autorun.
When prompted for charudi two CDs, type the command umount / mnt/cdrom.
Then type mount-o loop / mnt/*/2.iso/mnt/cdrom (change the file name of the first command from 1 to 2, which is the name of the second CD). Go back to the car like this. Just wait.
Unmount umount / mnt/cdrom
Example:
Mount the first disk
# mount-o loop / mnt/*/1.iso / mnt/cdrom
Unmount
# umount / mnt/cdrom
Mount the second disk
# mount-o loop / mnt/*/2.iso/mnt/cdrom
Unmount
# umount / mnt/cdrom
Note: there is a space between umount and /
/ * is the path where the iso file is placed
If the first method has been successfully used, the second method will not be used and will not be put into practice.
Method 2. Using virtual optical drive under Linux does not need any virtual optical drive software at all, it can be completed with mount command.
\ 1. Make the CD into an iso file
Cp / dev/cdrom XXXXX.iso
XXXXX.iso is the image file you named. After executing this command, the entire CD can be made into an iso file. You can add a path before XXXXX.iso.
two。 Load the iso file on your hard drive to the CD (or virtual optical drive).
Mount-t iso9660-o loop / * / XXXXX.iso / mnt/iso
3. If you install the files provided by the system disk, such as adding and deleting programs, you may be prompted to insert the CD, but we do not have a CD, only a mirror image, what should we do?
For RedHat, mount iso first and then execute
RedHat-install-packages-isodir=/mnt/iso
4. General situation virtual optical drive
Rm-rf / dev/cdrom # remove the optical drive
Ln / dev/loop7 / dev/cdrom
Losetup / dev/loop7 / * / XXXXX.iso
Mount / mnt/cdrom
Then you look at the iso file, has it become a virtual optical drive?
5. Cancel this CD-ROM drive:
Losetup-d / dev/loop7
If you change the disk:
Just transfer the iso association to / dev/loop
Losetup / dev/loop7 / * / XXXXX.iso
Note: / * is the path. You may want to create a folder called cdrom under / mnt/.
This is the end of the article on "how to open ISO files in Linux system". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 212
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.