Background:
Today, I need to mount the ISO file in a folder. So record this text
1. Confirm the iOS file path, my ISO file is under "/ext/bak/" path
2. Set the path that will be mounted in the future
The path is under the "/mnt/rheliso/" path, and if you do not have this path, you can create the folder yourself
3. Mount with the following command
Mount-t Iso9660-o loop/ext/bak/rhelxxx.iso/mnt/rheliso/
-T iso9660 is the specified mount format.
-O loop indicates
4. You can confirm that the ISO is already mounted by following the command
Df-h
Where the-h parameter indicates the size of the mounted disk in GB.
5. If you need to mount the ISO permanently, you need to modify the "/etc/fstab" file to add the last line below the file.
Where/ext/bak/xxx.iso represents the location of the ISO;/mnt/rheliso represents the Mount location
Reboot to see the Mount!!!
ISO steps for Linux mount ISO steps