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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-08-2015, 02:51 PM
|
#1
|
Member
Registered: Mar 2015
Posts: 32
Rep: 
|
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
|
|
|
06-08-2015, 03:00 PM
|
#2
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,939
|
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 03:03 PM.
|
|
|
06-08-2015, 06:17 PM
|
#3
|
Moderator
Registered: Mar 2008
Posts: 22,273
|
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.
|
06-09-2015, 01:09 AM
|
#4
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
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.
|
|
|
06-09-2015, 03:14 AM
|
#5
|
Senior Member
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187
|
Quote:
Originally Posted by jefro
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
|
|
|
06-09-2015, 05:07 AM
|
#6
|
Member
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
|
Quote:
Originally Posted by Head_on_a_Stick
|
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
|
|
|
06-09-2015, 07:58 AM
|
#7
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,774
Rep: 
|
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 07:59 AM.
|
|
|
06-09-2015, 03:00 PM
|
#8
|
Senior Member
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187
|
Quote:
Originally Posted by fatmac
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
|
|
|
06-09-2015, 05:01 PM
|
#9
|
Member
Registered: Mar 2015
Posts: 32
Original Poster
Rep: 
|
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
|
|
|
06-09-2015, 08:32 PM
|
#10
|
Moderator
Registered: Mar 2008
Posts: 22,273
|
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.
|
|
|
06-09-2015, 08:34 PM
|
#11
|
Moderator
Registered: Mar 2008
Posts: 22,273
|
"# cp example.iso /dev/sdX
# sync"
Make note that I said DISC and not DISK. They are two different things.
|
|
|
06-10-2015, 06:54 AM
|
#12
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
|
|
|
06-10-2015, 07:33 AM
|
#13
|
Member
Registered: Mar 2015
Posts: 32
Original Poster
Rep: 
|
okay WHAT contains an iso file ?
(file system ?)
type of format
|
|
|
06-10-2015, 07:54 AM
|
#14
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,939
|
Quote:
Originally Posted by Funnix
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.
|
06-10-2015, 02:56 PM
|
#15
|
Member
Registered: Sep 2009
Location: Galveston Tx
Posts: 291
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|