LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-08-2015, 01:51 PM   #1
Funnix
Member
 
Registered: Mar 2015
Posts: 32

Rep: Reputation: Disabled
Cool iso or not ISO


Hello,

What is the REAL goal of an ISO file ?

Is it also used for linux for system recovery ?
In my opinion I would say "no" because everything is FILE under Linux !!

See you
 
Old 06-08-2015, 02:00 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
It has nothing to do with Linux ISO Image Wiki.

It is an optical disk image format conforming to the International Standards Organization (ISO) 9660 standard.

Last edited by rtmistler; 06-08-2015 at 02:03 PM.
 
Old 06-08-2015, 05:17 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
ISO is a standard that covers thousands of things.

What we use for the term ISO is a somewhat standard way to create an optical disc. We also use it as a term for an image of disc in a special format.

When we say an ISO as in a file it is indeed a special file created by some program that is a clone of a disc. That disc may be of any form and state. You can't say it has to have this or that exactly.

We tend to download an ISO image and then either use it to burn a cd/dvd with an application NOT as a file but as an image of a disc. Or we can also do other things like use it to boot a virtual machine. Can mount it to a directory.


You already know you can't copy an iso file to a disc and get it to work correctly.

Like a zip file only in terms of difference and use. You may have a file indeed but you need to expand it to get it to work and be usable.
 
1 members found this post helpful.
Old 06-09-2015, 12:09 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Usually the filesystem used with optical media like CDROM, DVD is ISO9660 filesystem. And popularly it is referred as short ISO. After ISO9660 came UDF filesystem.

Read Wikipedia article on ISO9660 filesystem for more info.
 
Old 06-09-2015, 02:14 AM   #5
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by jefro View Post
You already know you can't copy an iso file to a disc and get it to work correctly.
Actually, this works just fine:
Code:
# cp example.iso /dev/sdX
# sync
The Debian jessie installation guide advises this method
https://www.debian.org/releases/stab...copy-isohybrid
 
Old 06-09-2015, 04:07 AM   #6
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by Head_on_a_Stick View Post
Actually, this works just fine:
Code:
# cp example.iso /dev/sdX
# sync
The Debian jessie installation guide advises this method
https://www.debian.org/releases/stab...copy-isohybrid
Didn't know you could use cp for that. I always used dd.

Code:
sudo dd if=Downloads/example.iso of=/dev/sdX bs=10MB
 
Old 06-09-2015, 06:58 AM   #7
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,484

Rep: Reputation: Disabled
If you use cp you literally have a copy on your disk, if you use dd you create an image on the disk.
The two are totally different.

(Edit: I think you can also use cat to put an image onto a disk.)

Last edited by fatmac; 06-09-2015 at 06:59 AM.
 
Old 06-09-2015, 02:00 PM   #8
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by fatmac View Post
If you use cp you literally have a copy on your disk, if you use dd you create an image on the disk.
The two are totally different.

(Edit: I think you can also use cat to put an image onto a disk.)
Try if for yourself -- it works in exactly the same way.

I am typing this in a system installed from an ISO image that was transferred to a USB stick with the `cp` command.

And yes, `cat` also works:
Code:
cat example.iso > /dev/sdX
 
Old 06-09-2015, 04:01 PM   #9
Funnix
Member
 
Registered: Mar 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
my specific context

" we can also do other things like use it to boot a virtual machine" --> that was my original context.

Is that different regarding iso of disc and the iso used for a VM ?

(naively yes)

thanks for help
 
Old 06-09-2015, 07:32 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
VM's have a few ways to boot them. While we think of a VM as a real computer for most things, the vm application allows us to use a file instead of a physical drive. One can select an iso image and boot to it in a vm. Actually some loaders can boot directly to some iso images too.
 
Old 06-09-2015, 07:34 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
"# cp example.iso /dev/sdX
# sync"

Make note that I said DISC and not DISK. They are two different things.
 
Old 06-10-2015, 05:54 AM   #12
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
cp example.iso /dev/sdX
It definitely works.
 
Old 06-10-2015, 06:33 AM   #13
Funnix
Member
 
Registered: Mar 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
okay WHAT contains an iso file ?
(file system ?)

type of format
 
Old 06-10-2015, 06:54 AM   #14
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by Funnix View Post
okay WHAT contains an iso file ?
(file system ?)

type of format
Nothing, an ISO file IS a file. One file. Sure it sits within a file system, and you can download one and then store it somewhere.

What you really do with it, is one thing, which is to use that ISO image to create a full disk which matches the "contents" of the ISO image.

In short, the ISO file is one file which represents a disk image. You take that image and program or burn it to a disk, such as a CD/DVD or USB thumbstick and when the programming or burning is complete the resultant information on the target disk is not one ISO file, but a collection of files, per the intent of the original ISO file/archive creator.

The most common case here is that an ISO image contains an entire boot-able Linux distribution for ready use as a live boot distribution as well as boot disk for installing Linux onto your system.

When in Windows or Linux desktop the easiest way to "burn" an ISO image to a CD/DVD is to use CD burning software and when it asks for your original or "from" image, you tell it the ISO file, and when it asks for the copy, or "to" location, you tell it the CD/DVD drive, or USB stick drive if the software can manage that particular case.

There are other ways to copy an ISO image to a disk.

Note also that you can just directly "copy" an ISO file from disk to disk and that just copies the ISO file. (Excepting the special case of using the dd command - an advanced concept if you're a total newbie)

A common mistake is that someone new to the concept gets an ISO file, copies it as an ISO file to another disk, then tries to boot with that to find that the ISO file itself will not boot, and what they had to do was burn that as an image, which would then extract the contained files instead of just placing the ISO image onto the disk.

And it is perfectly fine to "have" an ISO file somewhere on a larger disk. For instance I've downloaded several versions of distributions and happen to have those ISO files sitting in my Download folder. It's merely a question of when I choose to extract those files and program to a boot media; otherwise they just sit there.
 
1 members found this post helpful.
Old 06-10-2015, 01:56 PM   #15
joec@home
Member
 
Registered: Sep 2009
Location: Galveston Tx
Posts: 291

Rep: Reputation: 70
Just to clarify, there is the ISO and then there is an ISO File. ISO by itself is a disk format, where as an ISO file is the contents copied from an ISO format. This is why an ISO file can be placed on a disk of some other format and then mounted as a separate virtual drive.
 
  


Reply



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
DVD burns iso, mounts disk, but doesn't boot burned iso. bigrigdriver Linux - Hardware 3 09-30-2013 06:47 AM
Extract ISO to HD, create ISO from Extractions, Boot ISO LemensTS Linux - Software 1 12-28-2010 01:10 PM
LXer: W3C Accepted as an ISO/IEC PAS Submitter on a “Take it or Leave it” Basis LXer Syndicated Linux News 0 11-09-2010 10:00 AM
RHEL CDs: made iso, mounted iso, exported dir - still asks for CD :( guest Linux - Newbie 1 04-08-2005 12:37 PM
Does anyone Know how to open either .iso.rz or these .iso.xdelta,.iso.bz2,.iso.lzma?? maximalred Debian 5 06-09-2004 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 AM.

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
Open Source Consulting | Domain Registration