Create ISO Image of a Folder
Tagged with: cd, command, dvd, folder, image, iso, Linux, mkisofs
Create an iso image of a directory
mkisofs -J -allow-leading-dots -R -V "Label CD" -iso-level 4 -o ./cd.iso data_cd
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
Go back to the previous folder
cd -
Erase a Rewritable Disk
cdrecord -v gracetime=2 dev=/dev/cdrom -eject blank=fast -force
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]