Extract files from ISO CD images in Linux

My ISO image name is openSUSE-11.3-DVD-x86_64.iso, first login Linux as root.

Step # 1: Create a directory /mnt/iso

# mkdir /mnt/iso
#
mount -o loop openSUSE-11.3-DVD-x86_64.iso /mnt/iso

Step # 3: Extract file

Now I can easily copy file called file.txt from iso disk image to /tmp directory :

# cd /mnt/iso
#
cp file.txt /tmp

Step # 4: Copy gcc-4.5-4.2.x86_64.rpm from ISO disk image:

# cd /mnt/iso/suse/x86
#
cp gcc-4.5-4.2.x86_64.rpm /tmp

posted on 2012-03-09 15:16  Xingning Ou  阅读(333)  评论(0编辑  收藏  举报

导航