Burn Compressed ISO Image
Burn a compressed ISO image
gzip -dc cd_iso.gz | cdrecord dev=/dev/cdrom
Burn a compressed ISO image
gzip -dc cd_iso.gz | cdrecord dev=/dev/cdrom
Scan bus to identify the drives
cdrecord --scanbus
Burn an ISO image
cdrecord -v dev=/dev/cdrom cd.iso
Create an iso image of a directory
mkisofs -J -allow-leading-dots -R -V "Label CD" -iso-level 4 -o ./cd.iso data_cd
Install / upgrade a deb package from cdrom/dvd
apt-cdrom install package_name
Erase a Rewritable Disk
cdrecord -v gracetime=2 dev=/dev/cdrom -eject blank=fast -force
Rip a DVD to an AVI file using mencoder
mencoder dvd://1 -dvd-device /mnt/Image/ -ovc xvid -xvidencopts pass=1 -alang en -oac mp3lame -o dvd.avi
These commands can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like K3B to do this. Use one any of the three commands…
dd if=/dev/cdrom of=cd_image.iso
cat /dev/cdrom >image.iso
readcd dev=device f=image.raw
[tags]cd, command, dd, dvd, image, iso,linux,raw[/tags]
This command can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like K3B to do this.
Make sure that the CD is unmounted before running this command
dd if=/dev/cdrom of=cd_image.iso
[tags]cd,dvd,image,iso,dd,linux,command[/tags]
Cache all your Debain installation DVD/CDs
Put the first DVD in the drive and run this command
apt-cdrom add
Do this for all your DVDs. After its over run this command
apt-get upgrade
To install a pacakge this command can be used
apt-get install <Package Name>
[tags]debian,install,cd,dvd,cache,apt[/tags]