Mount an .iso image in linux

I just wanted to extract the USB boot image from the .iso of the CentOS DVD image that i downloaded.

Now i mounted it by

[root@localhost ~]# mkdir /mnt/iso
[root@localhost ~]# mount /home/dloads/CentOS-5.2-i386-bin-DVD.iso /mnt/iso/ -t iso9660 -o loop,ro

ro mounts it read only so that we dont accidentally make no changes.
loop is required to mount it as a loop device (so as to access the file as a block device).

Leave a Reply

Your email address will not be published. Required fields are marked *

two × 3 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>