• RSS
  • SmsJobs
  • Sms
  • GoogleBuzz
  • Facebook
  • Twitter
  • Linkedin
  • Youtube
The Linux Juggernaut

The Linux Juggernaut

roles on……

Do you like www.linuxnix.com ? Please consider supporting us by becoming a subscriber and get a Linux basics e-book for free.

ISO IMAGE FILES

What are ISO image files?
An ISO image is an archive file (also known as a disk image) of an optical disc in a format defined by the International Organization for Standardization (ISO). ISO image files typically have a file extension of .iso. The name ISO is taken from the ISO 9660 file system used with CD-ROM media according to wikipedia.org.

So these are the basic points i am going to cover in this post

  • How to create an iso file?
  • How to mount an iso file?
  • How to unmount an iso file?
  • How to update an iso file?
  • How to write an ISO file to CD?
  • How to view content of iso file?

1)How to create an ISO image?
As of now I know two methods to create an ISO file. One is through dd command(disk dump) and other is mkisofs command

A)Creating ISO files from cd-rom/dvd by using dd command

#dd if=/dev/cdrom of=/temp/songs.iso
dd if=/dev/dvd of=/temp/songs1.iso # for dvd
dd if=/dev/scd0 of=/temp/songs2.iso # if cdrom is scsi

Let me explain what actually the above command will do. dd is a disk dump command which will present in most of the Linux/nix systems and “if” specifies input file and “of” specifies output file. So we are specifying to dd command what is our input file and where is our output file.
Here my songs.iso file is created in /temp folder.

B)Creating ISO file using mkisofs command.
Method1:Creating an iso image from cd-rom

#mkisofs /dev/cdrom -o /temp/songs3.iso

Method2:Creating an iso image from a folder

Suppose i am having a folder /opt/data which contains some data to be converted in to .iso file, follow below step

#mkisofs -o /temp/songs4.iso /opt/data

2)How to mount an ISO file?
#mount -o loop /temp/songs4.iso /opt/mountpoint

3)How to unmount an ISO file?
#umount -lf /opt/mountpoint

here /opt/mountpoint is the place where my iso file is mounted.

Do you like www.linuxnix.com ? Please consider supporting us by becoming a subscriber and get a Linux basics e-book for free.
bySurendra On Friday-July - 10 - 2009

email newsletter

Linux_theme_of_the_month

Introducing theme of

Update1:As of now we started with RHCE concepts and in future we ...

Linux Bash Shell sho

This is a small post on improving your productivity when working with ...

Up coming posts on D

We are very much happy to announce that we started posting on ...

Wishing you Happy an

Dear Friends/Readers, I take this opportunity to convey our sincere thanks ...

sticky bit unix, unix sticky bit, suid, linux sticky bit, sticky bit in unix, sticky bit aix, sticky bit chmod, sticky bits, sticky bit linux, suid sgid sticky bit, set sticky bit, stickybit, sticky bit permission, setting sticky bit, solaris sticky bit, sticky bit solaris, sticky bit directory, remove sticky bit, ubuntu sticky bit, sticky bit t, aix sticky bit, sticky bit load balancer, directory sticky bit, umask

What is a sticky Bit

What is a sticky Bit and how to set it ...

SGID_Linux

What is SGID and how

What is SGID and how to set SGID in Linux/Unix? This ...

  • About Linux Juggernaut

    How the blog name selected? Juggernaut: * a massive inexorable force that seems to crush everything in its way ...readmore>>

  • Contact Me

    Contact us Send an Email Phone number and vCard LinkedIn profile Advertise with us
  • About Me

    Surendra Kumar Chowdary

    My name is Surendra Kumar Anne. I am from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present i work at Persistent Systems as Module Lead.   read more »