Playing with ISO image and CD drive

Playing with ISO image and CD drive.

1> create .iso file from cd
#dd if=/dev/cdrom of=/mnt/rhel.iso
#dd if=/dev/sr0 of=/mnt/rhel.iso

i : input file
o : output file

create hard disk backup
#dd if=/dev/sda of=/mnt/sdabackup

2> create iso file system of folder.
#mkisofs -o /mnt/myiso.iso foldername

3> Burn File / iso image to CD
#cdrecord -v dev=/dev/cdrom file.iso

[ note : put blank CD in CD tray ]

4> eject CD tray

insert CD tray
#eject -t

Posted in commands

Leave a Reply