Trevor
Starfighter Starfighter
Starfighter
  • 316 Views

Access .iso File Content

I have an .iso file named "os.iso", in my /tmp directory.
I need to access the contents of this .iso.  What command
can I use to mount this .iso file, so that I can access its
content.  My mount point is /mnt/read.

 

Trevor "Red Hat Evangelist" Chandler
Labels (3)
4 Replies
JohnSitu
Mission Specialist
Mission Specialist
  • 309 Views

First, make sure /mnt/read exists with the command:

sudo mkdir -p /mnt/read

Second, use the command:

sudo mount -t udf -o loop /tmp/os.iso /mnt/read

Trevor
Starfighter Starfighter
Starfighter
  • 303 Views

Awesome!

Now, my kernel doesn't currently support the
"udf" filesystem type.  Am I stuck like chuck?

Trevor "Red Hat Evangelist" Chandler
JohnSitu
Mission Specialist
Mission Specialist
  • 224 Views

No, you can either install udf with the following command:

sudo dnf install udf

Or try to use the mount command without the filesystem option -t:

sudo mount -o loop /tmp/os.iso /mnt/read

 

0 Kudos
Gopinath_Pigili
Flight Engineer
Flight Engineer
  • 137 Views

Hello,

To mount the .iso file, use the command sudo mount -o loop /tmp/os.iso /mnt/read

Regards

Gopinath

 

0 Kudos
Join the discussion
You must log in to join this conversation.