LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-12-2004, 05:02 PM   #1
kmichal2
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Rep: Reputation: 15
How can I extract a file from iso archive


Is there a tool in linux which allows to view content of iso archive and extract a file?
 
Old 12-12-2004, 05:23 PM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
mount

If the iso file is named foo.iso and you have an empty dir named isoview:

mount foo.iso isoview -o loop

then cd into isoview and look around and cp to your heart's content.

You need loop device support in your kernel and loop devices in /dev (which you most likely have).

Pretty sure that altering anything in the mount dir (isoview in this example) will trash the iso file. You may not be able to alter it, it may be read only. But cp'ing a file out is no problem. The mount command may require you to be root. Oh, and loop support is not the same thing as the loopback (127.0.0.1) interface, that causes some confusion.

Last edited by kevinalm; 12-12-2004 at 05:31 PM.
 
Old 12-13-2004, 08:15 PM   #3
kmichal2
LQ Newbie
 
Registered: Nov 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you very much. I did not know it was so simple...
Michal
 
Old 12-13-2004, 09:38 PM   #4
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Yeah, kind of neat. Found out about it from the RIP (Rescue Is Possible) documentation. You can do the same with initrd files. But you have to gunzip them first, and iirc gunzip won't work unless .gz is on the end of the file name, so you rename the initrd (like initrd.gz). Gunzip it then loop mount it the same way. And you _can_ alter in the veiwing directory with those, the changes will be reflected in the initrd file when you umount. In the previous example, just umount isoveiw.
 
Old 12-14-2004, 03:24 AM   #5
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 46
there is also a script that let u right click on an iso and click mount , then u will find a folder at the desktop for the mounted iso
simple

http://kde-apps.org/content/show.php?content=11577
 
Old 12-14-2004, 04:16 AM   #6
varunnarang
LQ Newbie
 
Registered: Oct 2004
Location: India
Distribution: RHL 9.0
Posts: 22

Rep: Reputation: 15
Hi all!!!
Is there some way I can create the 'iso' files and put the dump on my hard drive. Also how can I burn those iso images to the CD ROMs. Please help
 
Old 12-14-2004, 06:15 AM   #7
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Mount ISO
works on KDE 3.x
http://www.kde-apps.org/content/show.php?content=11577

adds manage ISO> to right click context menu

when an ISO is selected , ManageISO>Mount ISO

right click a folder Including /mnt/cdrom
Manage ISO>Create ISO image

easy as pie the script writer is my god
 
Old 12-14-2004, 06:48 AM   #8
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 588

Rep: Reputation: 45
Quote:
Is there some way I can create the 'iso' files and put the dump on my hard drive. Also how can I burn those iso images to the CD ROMs. Please help
ON the command line look for 'mkisofs' for creating iso-s and 'cdrecord' for burning them onto a cd. There are several graphical frontends, 'k3b' is perhaps the best, but you may check 'xcdroast', 'gtoaster' and the burn: filesystem on nautilus.

best,

Ott
 
Old 12-14-2004, 06:48 AM   #9
shy
Member
 
Registered: Dec 2002
Location: Russia
Distribution: ASP linux
Posts: 94

Rep: Reputation: 15
Quote:
Originally posted by varunnarang
Hi all!!!
Is there some way I can create the 'iso' files and put the dump on my hard drive.
If you mean "I've got a cdr, and I want to make it's .iso copy", then
Code:
dd if=/dev/cdrom of=./image.iso
Quote:
Originally posted by varunnarang

Also how can I burn those iso images to the CD ROMs.
You can do it with cdrecord
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open/extract ISO file in Linux? sattu Linux - Software 9 10-13-2011 04:25 AM
Extract contents from an ISO General Linux - Software 3 12-10-2005 08:46 PM
Making C extract an archive MylesCLin Programming 2 12-13-2004 06:48 AM
how to extract an .iso file to an directory vito_huang Linux - Newbie 2 11-29-2004 10:12 PM
mount a .iso or extract a .iso behind user witout access to root easytarget Linux - Newbie 3 09-29-2002 06:01 AM


All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration