![]() ![]() Initial session (if necessary overwriting a re-usable medium like BD-RE from scratch): xorriso \ Program xorriso with its native command set performs this under control of a single process xorriso \Īlthough ISO 9660 filesystems are read-only, it is possible to append new data files and a new directory tree which can refer to old files and new files alike. Use option -tao instead of -dao or -sao, because the latter need to know the data amount in advance: genisoimage -v -J -r -V MY_DISK_LABEL /path/of/directory \ Just omit option -o with the producer and use "-" as data file name with the burn program. One may avoid the need to store an ISO 9660 filesystem image file by piping the output of the ISO producer into the standard input of the burn program. You will recognise them by bearing the same manufacturer and model names as in above -devices runs. If you need persistent device names, consider to use the lengthy ones in directory /dev/disk/by-id/. The sequence of drive numbers may change with each reboot. Wodim will perform this run only if the obsoleted device files /dev/scd* exist. Which will report something like 0 -dev '/dev/sr0' rwrw- : 'HL-DT-ST' 'BDDVDRW GGC-H20L'ġ -dev '/dev/sr1' rwrw- : 'HL-DT-ST' 'DVDRAM GH24NSC0'Ģ -dev '/dev/sr2' rwrw- : 'Optiarc ' 'BD RW BD-5300S' To get a list of all your optical drive devices do one of: cdrskin -devices Reading audio tracks from CD may be done by cdrskin with the extract_audio_to= option, or readom from the wodim package.Ībove examples use the device file address of your first optical drive, /dev/sr0. The resulting media cannot be read by dd or other data readers. Wodim -v dev=/dev/sr0 -sao -audio track1.wav track2.wav. wav file.Īfter installing the cdrskin or wodim package:Ĭdrskin -v dev=/dev/sr0 -sao -audio track1.wav track2.wav. The content of the tracks has to be presented as data files with uncompressed samples of 44100 Hz sampling rate, 16 bits per sample, 2 channels, little-endian byte order, WAV header. Each track is normally one piece of music. Music CD players expect the CD-DA format, which is not a filesystem, but a simple list of file-like entities called Tracks. In this case, you do not have to run the sudo commands. If you eject the medium and insert it again, it may well be mounted automatically underneath /media/. It might be that you first have to create directory /mnt/cdrom before you can mount it. One may also mount the medium and compare data files with their originals on hard disk by doing: sudo mount /dev/sr0 /mnt/cdromĭiff /mnt/cdrom/my/file /path/of/directory This should yield identical MD5 checksum strings. ![]() For this, inquire the size of the ISO image file. Growisofs -dvd-compat -speed=8 -Z /dev/sr0=my.iso -quietĪs usual with the command line, burning will start right away with no confirmation questions.įor comparing MD5 sums one must restrict reading from the CD, DVD, or BD to exactly the same number of data blocks that was written by the burn program. For BluRay burning, you can also install the growisofs package: Xorriso -as cdrecord -v dev=/dev/sr0 -dao my.isoĬdrskin and xorriso commands will also work on BluRay discs (wodim should not be used with DVD or BD media, see here). Xorriso -as mkisofs -v -J -r -V MY_DISK_LABEL -o my.iso /path/of/directoryĪfter installing wodim, cdrskin, or xorriso, you may burn the image file my.iso to a CD by one of: Genisoimage -v -J -r -V MY_DISK_LABEL -o my.iso /path/of/directory ![]() These programs support the same options as the legacy mkisofs and cdrecord programs.Īfter installing xorriso or genisoimage, you may put the file tree /path/of/directory into an ISO 9660 filesystem image file called my.iso by one of: ![]() Two packages are available in Debian for producing ISO 9660 filesystems: genisoimage and xorriso. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |