Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Linux command to extract files from an ISO9660 image

18 views
Skip to first unread message

Aaron Gray

unread,
May 17, 2008, 3:21:28 PM5/17/08
to
Hi,

Is there a command to extract files from a .iso file ?

Many thanks in advance,

Aaron


Bit Twister

unread,
May 17, 2008, 3:28:53 PM5/17/08
to
On Sat, 17 May 2008 20:21:28 +0100, Aaron Gray wrote:
> Hi,
>
> Is there a command to extract files from a .iso file ?

cp :)

mkdir /iso
mount -t auto -o ro,loop=/dev/loop0 fn.iso /iso

cp /iso/file_of_intrest /some/where/else

umount /iso

George Peter Staplin

unread,
May 17, 2008, 3:32:01 PM5/17/08
to


You'll probably want to mount the image using a loop device.

Something like:

sudo mount -t iso9660 -o loop /path/to/foo.iso /mnt


George

Aaron Gray

unread,
May 17, 2008, 4:11:11 PM5/17/08
to

"Bit Twister" <BitTw...@mouse-potato.com> wrote in message
news:slrng2ucfl.7...@wm81.home.test...

mount and cp, god I feed dumb ;)

Thanks,

Aaron

Mark Madsen

unread,
May 17, 2008, 4:16:59 PM5/17/08
to
On Sat, 17 May 2008 20:21:28 +0100, Aaron Gray wrote:

> Is there a command to extract files from a .iso file ?

If you use Gnome, just double-click the iso file and it will open in the
archiver and you can browse through it from there.

Even simpler than mount and cp....

Rikishi 42

unread,
May 17, 2008, 6:29:46 PM5/17/08
to
On 2008-05-17, Mark Madsen <mark.s.ma...@gmail.com> wrote:

>> Is there a command to extract files from a .iso file ?
>
> If you use Gnome, just double-click the iso file and it will open in the
> archiver and you can browse through it from there.
>
> Even simpler than mount and cp....

A similar soltion, just <enter> on the iso files, from within mc. You see
the files contents, and can copy it to the directory of choice.

Don't do large volumes of data, using this way. You'll get a very heavy tmp
dir... :-)

--
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams

undisclosed

unread,
Jul 25, 2010, 2:53:18 AM7/25/10
to

*#mkdir /extract
#mount -t auto -o ro,loop=/dev/loop0 fc11.iso /extract
#cd /extract
#ls
#umount /extract*


--
vijayakirubakar

0 new messages