Monday, December 31, 2007

Commands for CD in Ubuntu

To blank CD-RW media:
sudo umount /dev/cdrom
cdrecord dev=/dev/cdrom blank=fast

To create .iso:
sudo umount /dev/cdrom
readcd dev=/dev/cdrom f=file.iso
OR
dd if=/dev/cdrom of=file.iso

To create .iso from folder:
mkisofs -r -o file.iso /location/folder

To mount .iso:
sudo mkdir /media/iso
sudo modprobe loop
sudo mount -t iso9660 -o loop file.iso /media/iso

SOURCE:
http://ubuntuguide.org/wiki/Ubuntu:Feisty

0 Comments:

Post a Comment

<< Home