summaryrefslogtreecommitdiff
path: root/doc/note/burncdrom/burncdrom.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/note/burncdrom/burncdrom.txt')
-rw-r--r--doc/note/burncdrom/burncdrom.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/note/burncdrom/burncdrom.txt b/doc/note/burncdrom/burncdrom.txt
new file mode 100644
index 0000000..1b98f6a
--- /dev/null
+++ b/doc/note/burncdrom/burncdrom.txt
@@ -0,0 +1,28 @@
+
+How to handle CD/DVD burning
+============================
+
+## Install growisofs
+
+ apt install genisoimage
+
+
+## Burn from ISO to optical media
+
+growisofs -dvd-compat -Z /dev/srX=path/to/my.iso
+
+
+## Get checksum of disc
+
+- Use isoinfo (from genisoimage pkg) to get size params.
+- Use dd parameterized by previous output.
+
+ isoinfo -d dev=/dev/srX
+ dd bs=${Logical block size} count=${Volume size} if=/dev/srX | md5sum -b
+
+
+## Create bootable USB from ISO
+
+ dd bs=4M if=path/to/my.iso of=/dev/sdX status=progress oflag=sync
+
+