[root@server /root]# mkisofs -RJ -o image.iso /burndirectory/ [root@server /root]# mkisofs -J -o image.iso /burndirectory |
-J Generate Joliet directory records in addition to regular iso9660 file names. This is primarily use- ful when the discs are to be used on Windows-NT or Windows-95 machines. The Joliet filenames are specified in Unicode and each path component can be up to 64 Unicode characters long. -R Generate SUSP and RR records using the Rock Ridge protocol to further describe the files on the iso9660 filesystem.
[root@server /root]# dd if=/dev/cdrom of=image.iso [root@server /root]# cat /dev/cdrom >image.iso |
[root@server /root]# cdrecord -v dev=3,0,0 image.iso |
[root@server /root]# cdrecord blank=fast dev=3,0,0 [root@server /root]# cdrecord blank=all dev=3,0,0 [root@server /root]# cdrecord blank=all -force dev=3,0,0 |
[root@server /root]# cdrecord -v dev=3,0,0 -isosize /dev/cdrom |
[root@server /root]# md5sum - or - [root@server /root]# diff /dev/cdrom image.iso - or - [root@server /root]# mount /mnt/cdrom; [root@server /root]# mount -t iso9660 iso.image /mnt/isotest -o loop; [root@server /root]# diff -r /mnt/cdrom /mnt/isotest - or - [root@server /root]# md5sum /dev/cdrom >md5sum-cdrom.txt [root@server /root]# md5sum image.iso >md5sum-file.txt #Script to verify the md5sum results: echo "Verifying MD5SUMS:" MD5SUM1=md5sum-file.txt MD5SUM2=md5sum-cdrom.txt cat $MD5SUM1 | while read CODE NAME; do if [ -n "`cat $MD5SUM2 | grep $CODE`" ]; then echo "Success: $NAME" else echo "Failure: $NAME" fi done |
[root@server /root]# mkdir /mnt/isotest [root@server /root]# mount -t iso9660 /dev/cdrom /mnt/isotest -o loop [root@server /root]# ls /mnt/isotest |
[root@server /root]# /sbin/lilo [root@server /root]# shutdown -r now ... [root@server /root]# cdrecord -scanbus |
options ide-cd ignore=hda # tell the ide-cd module to ignore hdb #alias scd0 sr_mod # load sr_mod upon access of scd0 alias scd0 ide-scsi # load sr_mod upon access of scd0 #pre-install ide-scsi modprobe imm # uncomment for some ZIP drives only pre-install sg modprobe ide-scsi # load ide-scsi before sg pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsiScript for checking out your system: cdre_sh.txt
[root@server /root]# cdrecord -scanbus |