All about ISO image files

0 comments

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.

  • Like the post? Please Subscribe to free RSS feed to get updates
  • How to implement RAID10?

    0 comments

    RAID10 can be implemented by first implement RAID1(ie mirring) then implementing RAID0(stripeset on different disks) on it.

    Configuring RAID10
    Step1:Get the info who many devices are participating, for example here we taken 4 disks(/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1).
    Step2:Implement RAID1 on four drives(taking 2 each)

    #mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[ab]1
    #mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sd[cd]1
    Step3:Now implement RAID0 on two of RAID1 devices(/dev/md0,/dev/md1)

    #mdadm --create /dev/md2 --chunk=64 --level=0 --raid-devices=2 /dev/md[01]
    Step4:Format the RAID10 device with ext3 and mount the device
    #mke2fs -j /dev/md2
    #mkdir /store
    #mount /dev/md2 /store
    Unconfiguring RAID10
    Step1:Unmount the RAID device /dev/md2
    #umount /dev/md2 or #umount /store
    Step2:Stop the RAID device
    #mdadm --manage /dev/md2 --stop
    #mdadm --manage /dev/md1 --stop
    #mdadm --manage /dev/md0 --stop
    Step3:Remove the Disks(/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1) by using fdisk utility

    Comments are entertained --- Surendra

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Firefox 3.5 Released

    0 comments

    Fire fox 3.5 version is released with some good features such as private browsing(which is already implemented in IE and Chrome some long time back). Here are the features which is new to FF3.5

    1. Private browsing
    2. Tab tearing
    3. HTML5 support
    4. Forget this site
    5. Geo-location
    I see most of the features are brought from Chrome.. What you say people?
    And here is the link to download Latest Firefox browser

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here