public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Unpacking an ISO Image
@ 2006-05-16 15:18 Kris Kerwin
  2006-05-16 15:32 ` Alexander Skwar
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Kris Kerwin @ 2006-05-16 15:18 UTC (permalink / raw
  To: gentoo-user

Hi folks,

Quick question. Is there any way that one can unpack an ISO image: 
extracting the data that is contained within it like a tarball, 
without having to burn it to a CD? I'm sure there's an option 
somewhere within either the mkisofs or cdrecord man pages, but I feel 
like I'm searching for a needle in a haystack.

Thanks in advance.

Kris
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
@ 2006-05-16 15:32 ` Alexander Skwar
  2006-05-16 15:33 ` Gerhard Hoogterp
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Alexander Skwar @ 2006-05-16 15:32 UTC (permalink / raw
  To: gentoo-user

Kris Kerwin wrote:
> Hi folks,
> 
> Quick question. Is there any way that one can unpack an ISO image: 

You mount it.

mount -o loop file.iso /some/path

Alexander Skwar
-- 
Dreams are free, but there's a small charge for alterations.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
  2006-05-16 15:32 ` Alexander Skwar
@ 2006-05-16 15:33 ` Gerhard Hoogterp
  2006-05-16 15:35 ` Boris Fersing
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Gerhard Hoogterp @ 2006-05-16 15:33 UTC (permalink / raw
  To: gentoo-user

On Tuesday 16 May 2006 17:18, Kris Kerwin wrote:

> Quick question. Is there any way that one can unpack an ISO image:
> extracting the data that is contained within it like a tarball,
> without having to burn it to a CD? I'm sure there's an option
> somewhere within either the mkisofs or cdrecord man pages, but I feel
> like I'm searching for a needle in a haystack.

Mount and copy should be an option.. 
http://gentoo-wiki.com/TIP_Mounting_Iso_Files should help..

Gerhard


-- 
Ithaka photography, http://ithaka.mine.nu/
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* RE: [gentoo-user] Unpacking an ISO Image
@ 2006-05-16 15:34 Lee Packham
  2006-05-16 19:07 ` Alexander Skwar
  0 siblings, 1 reply; 15+ messages in thread
From: Lee Packham @ 2006-05-16 15:34 UTC (permalink / raw
  To: gentoo-user

You can do:

mount -o loop /location/of/iso/file.iso /mnt/cdrom

That will mount it on the file system and allow you to grab stuff out.
You might have to specify a filesystem type, can't remember.

If that's the case:

mount -t iso9660 -o loop /location/of/iso/file.iso /mnt/cdrom

Lee.

-----Original Message-----
From: Kris Kerwin [mailto:kkerwin@insightbb.com] 
Sent: 16 May 2006 16:19
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Unpacking an ISO Image

Hi folks,

Quick question. Is there any way that one can unpack an ISO image: 
extracting the data that is contained within it like a tarball, 
without having to burn it to a CD? I'm sure there's an option 
somewhere within either the mkisofs or cdrecord man pages, but I feel 
like I'm searching for a needle in a haystack.

Thanks in advance.

Kris
-- 
gentoo-user@gentoo.org mailing list


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
  2006-05-16 15:32 ` Alexander Skwar
  2006-05-16 15:33 ` Gerhard Hoogterp
@ 2006-05-16 15:35 ` Boris Fersing
  2006-05-16 15:38 ` Michael Sullivan
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Boris Fersing @ 2006-05-16 15:35 UTC (permalink / raw
  To: gentoo-user

2006/5/16, Kris Kerwin <kkerwin@insightbb.com>:
> Hi folks,
>
> Quick question. Is there any way that one can unpack an ISO image:
> extracting the data that is contained within it like a tarball,
> without having to burn it to a CD? I'm sure there's an option
> somewhere within either the mkisofs or cdrecord man pages, but I feel
> like I'm searching for a needle in a haystack.
>
> Thanks in advance.

Hi,
try :

mount myfile.iso /tmp -o loop

Boris.
>
> Kris
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
                   ` (2 preceding siblings ...)
  2006-05-16 15:35 ` Boris Fersing
@ 2006-05-16 15:38 ` Michael Sullivan
  2006-05-16 15:45 ` John J. Foster
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Michael Sullivan @ 2006-05-16 15:38 UTC (permalink / raw
  To: gentoo-user

On Tue, 2006-05-16 at 10:18 -0500, Kris Kerwin wrote:
> Hi folks,
> 
> Quick question. Is there any way that one can unpack an ISO image: 
> extracting the data that is contained within it like a tarball, 
> without having to burn it to a CD? I'm sure there's an option 
> somewhere within either the mkisofs or cdrecord man pages, but I feel 
> like I'm searching for a needle in a haystack.
> 
> Thanks in advance.
> 
> Kris

I might have the syntax wrong, since I haven't done this in awhile, but
I think it goes like this:

mount -o loop someImage.iso someDirectory

This will allow you to mount the ISO and browse the files there as if
they were actually on a CD (or extraced on your hard drive).  The files
are read-only while they are inside the ISO image...

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
                   ` (3 preceding siblings ...)
  2006-05-16 15:38 ` Michael Sullivan
@ 2006-05-16 15:45 ` John J. Foster
  2006-05-16 15:50 ` Rumen Yotov
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: John J. Foster @ 2006-05-16 15:45 UTC (permalink / raw
  To: gentoo-user

Kris Kerwin wrote:
> Hi folks,
> 
> Quick question. Is there any way that one can unpack an ISO image: 
> extracting the data that is contained within it like a tarball, 
> without having to burn it to a CD? I'm sure there's an option 
> somewhere within either the mkisofs or cdrecord man pages, but I feel 
> like I'm searching for a needle in a haystack.
> 
Maybe this will help.

http://www.linuxhelp.net/isos/

festus
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
                   ` (4 preceding siblings ...)
  2006-05-16 15:45 ` John J. Foster
@ 2006-05-16 15:50 ` Rumen Yotov
  2006-05-16 16:02 ` Peter Ruskin
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Rumen Yotov @ 2006-05-16 15:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

On Tue, 2006-05-16 at 10:18 -0500, Kris Kerwin wrote:
> Hi folks,
> 
> Quick question. Is there any way that one can unpack an ISO image: 
> extracting the data that is contained within it like a tarball, 
> without having to burn it to a CD? I'm sure there's an option 
> somewhere within either the mkisofs or cdrecord man pages, but I feel 
> like I'm searching for a needle in a haystack.
> 
> Thanks in advance.
> 
> Kris
Hi,
Use mount -t iso9660 ISO-file-name.iso /mnt/cdrom -o loop
Then in /mnt/cdrom you'll have ISO-file contents. man mount
HTH.Rumen

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3409 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
                   ` (5 preceding siblings ...)
  2006-05-16 15:50 ` Rumen Yotov
@ 2006-05-16 16:02 ` Peter Ruskin
  2006-05-16 16:28 ` Steven Ringwald
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Peter Ruskin @ 2006-05-16 16:02 UTC (permalink / raw
  To: gentoo-user

On Tuesday 16 May 2006 16:18, Kris Kerwin wrote:
> Hi folks,
>
> Quick question. Is there any way that one can unpack an ISO
> image: extracting the data that is contained within it like a
> tarball, without having to burn it to a CD? I'm sure there's an
> option somewhere within either the mkisofs or cdrecord man pages,
> but I feel like I'm searching for a needle in a haystack.
>
modprobe loop
mount <iso-file> /mnt/tmp -t iso9660 -o loop

-- 
Peter
========================================================================
Gentoo Linux: Portage 2.0.54-r2.		kernel-2.6.16-gentoo.
i686 AMD Athlon(tm) XP 3200+.		gcc(GCC): 3.4.6.
KDE: 3.5.2.				Qt: 3.3.6.
========================================================================
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
                   ` (6 preceding siblings ...)
  2006-05-16 16:02 ` Peter Ruskin
@ 2006-05-16 16:28 ` Steven Ringwald
  2006-05-16 17:20 ` John Jolet
  2006-05-16 19:40 ` [gentoo-user] " Peter
  9 siblings, 0 replies; 15+ messages in thread
From: Steven Ringwald @ 2006-05-16 16:28 UTC (permalink / raw
  To: gentoo-user

Kris Kerwin wrote:
> Hi folks,
>
> Quick question. Is there any way that one can unpack an ISO image: 
> extracting the data that is contained within it like a tarball, 
> without having to burn it to a CD? I'm sure there's an option 
> somewhere within either the mkisofs or cdrecord man pages, but I feel 
> like I'm searching for a needle in a haystack.
>
> Thanks in advance.
>
> Kris
>   
mount-tiso9660  -oloop  foobar.iso /mnt/cdrom

 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
                   ` (7 preceding siblings ...)
  2006-05-16 16:28 ` Steven Ringwald
@ 2006-05-16 17:20 ` John Jolet
  2006-05-16 19:40 ` [gentoo-user] " Peter
  9 siblings, 0 replies; 15+ messages in thread
From: John Jolet @ 2006-05-16 17:20 UTC (permalink / raw
  To: gentoo-user

Kris Kerwin wrote:

>Hi folks,
>
>Quick question. Is there any way that one can unpack an ISO image: 
>extracting the data that is contained within it like a tarball, 
>without having to burn it to a CD? I'm sure there's an option 
>somewhere within either the mkisofs or cdrecord man pages, but I feel 
>like I'm searching for a needle in a haystack.
>
>Thanks in advance.
>
>Kris
>  
>
mount as loopback.... mount -o loopback i think.  but you have to have 
enabled the loopback fs in the kernel.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Unpacking an ISO Image
  2006-05-16 15:34 [gentoo-user] " Lee Packham
@ 2006-05-16 19:07 ` Alexander Skwar
  0 siblings, 0 replies; 15+ messages in thread
From: Alexander Skwar @ 2006-05-16 19:07 UTC (permalink / raw
  To: gentoo-user

Lee Packham wrote:

> mount -o loop /location/of/iso/file.iso /mnt/cdrom
> 
> That will mount it on the file system and allow you to grab stuff out.
> You might have to specify a filesystem type, can't remember.

No, you don't HAVE to. You can, but you're not forced to.

But that's actually nothing special - it's perfectly fine to
mount normal filesystems without specifiyng the filesystemtype.

Alexander Skwar
-- 
You may already be a loser.
		-- Form letter received by Rodney Dangerfield.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-user]  Re: Unpacking an ISO Image
  2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
                   ` (8 preceding siblings ...)
  2006-05-16 17:20 ` John Jolet
@ 2006-05-16 19:40 ` Peter
  2006-05-16 22:02   ` Nick Rout
  9 siblings, 1 reply; 15+ messages in thread
From: Peter @ 2006-05-16 19:40 UTC (permalink / raw
  To: gentoo-user

On Tue, 16 May 2006 10:18:53 -0500, Kris Kerwin wrote:

> Hi folks,
> 
> Quick question. Is there any way that one can unpack an ISO image: 
> extracting the data that is contained within it like a tarball, 
> without having to burn it to a CD? I'm sure there's an option 
> somewhere within either the mkisofs or cdrecord man pages, but I feel 
> like I'm searching for a needle in a haystack.
> 
> Thanks in advance.
> 
> Kris

OR, without using mount at all!

Use mc in a terminal, highlight the file and press [Enter]. It will open
it up like a directory. Other Virtual File System managers can also do
this. Try Nautilus or the KDE file manager. In addition you can use avfs
with fuse. All without having to issue a mount command :)


-- 
Peter


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  Re: Unpacking an ISO Image
  2006-05-16 19:40 ` [gentoo-user] " Peter
@ 2006-05-16 22:02   ` Nick Rout
  2006-05-17 19:54     ` [gentoo-user] " Peter
  0 siblings, 1 reply; 15+ messages in thread
From: Nick Rout @ 2006-05-16 22:02 UTC (permalink / raw
  To: gentoo-user


On Tue, 16 May 2006 15:40:52 -0400
Peter wrote:

> On Tue, 16 May 2006 10:18:53 -0500, Kris Kerwin wrote:
> 
> > Hi folks,
> > 
> > Quick question. Is there any way that one can unpack an ISO image: 
> > extracting the data that is contained within it like a tarball, 
> > without having to burn it to a CD? I'm sure there's an option 
> > somewhere within either the mkisofs or cdrecord man pages, but I feel 
> > like I'm searching for a needle in a haystack.
> > 
> > Thanks in advance.
> > 
> > Kris
> 
> OR, without using mount at all!
> 
> Use mc in a terminal, highlight the file and press [Enter]. It will open
> it up like a directory. Other Virtual File System managers can also do
> this. Try Nautilus or the KDE file manager. In addition you can use avfs
> with fuse. All without having to issue a mount command :)
> 
> 

I have often thought that would be useful, but in my mc it doesn't work. what am i missing? I know for example that if I emerge rpm it works on
rpm files. What do I need to do to make it work for iso?

nick@www ~ $ equery uses mc
[ Searching for packages matching mc... ]
[ Colour Code : set unset ]
[ Legend    : Left column  (U) - USE flags from make.conf              ]
[           : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for app-misc/mc-4.6.0-r14 ]
 U I
 + + gpm     : Adds support for sys-libs/gpm (Console-based mouse driver)
 + + nls     : <unknown>
 + + samba   : Adds support for SAMBA (Windows File and Printer sharing)
 + + ncurses : Adds ncurses support (console display library)
 - - X       : Adds support for X11
 - + slang   : Adds support for the slang text display library (it's like ncurses, but different)
 - - unicode : Adds support for Unicode
 - - 7zip    : add support for 7zip archives
 - - debug   : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too



> -- 
> Peter
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-user]  Re: Re: Unpacking an ISO Image
  2006-05-16 22:02   ` Nick Rout
@ 2006-05-17 19:54     ` Peter
  0 siblings, 0 replies; 15+ messages in thread
From: Peter @ 2006-05-17 19:54 UTC (permalink / raw
  To: gentoo-user

On Wed, 17 May 2006 10:02:56 +1200, Nick Rout wrote:

snip...
> I have often thought that would be useful, but in my mc it doesn't work.
> what am i missing? I know for example that if I emerge rpm it works on
> rpm files. What do I need to do to make it work for iso?
> 
> 
It should be built in. As of

2003-04-29  Pavel Roskin  <proski@gnu.org>

	* configure.in: Add vfs/extfs/iso9660 to AC_CONFIG_FILES. *
	lib/mc.ext.in: Add support for ISO images.

It should be automatic. Just press Enter on the file. F3 will give a
directory of contents.

I currently have version 4.6.1, so try that version first.

Good Luck

-- 
Peter


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-05-17 20:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 15:18 [gentoo-user] Unpacking an ISO Image Kris Kerwin
2006-05-16 15:32 ` Alexander Skwar
2006-05-16 15:33 ` Gerhard Hoogterp
2006-05-16 15:35 ` Boris Fersing
2006-05-16 15:38 ` Michael Sullivan
2006-05-16 15:45 ` John J. Foster
2006-05-16 15:50 ` Rumen Yotov
2006-05-16 16:02 ` Peter Ruskin
2006-05-16 16:28 ` Steven Ringwald
2006-05-16 17:20 ` John Jolet
2006-05-16 19:40 ` [gentoo-user] " Peter
2006-05-16 22:02   ` Nick Rout
2006-05-17 19:54     ` [gentoo-user] " Peter
  -- strict thread matches above, loose matches on Subject: below --
2006-05-16 15:34 [gentoo-user] " Lee Packham
2006-05-16 19:07 ` Alexander Skwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox