summaryrefslogtreecommitdiff
path: root/doc/note/burncdrom/growisofs.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/note/burncdrom/growisofs.txt')
-rw-r--r--doc/note/burncdrom/growisofs.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/note/burncdrom/growisofs.txt b/doc/note/burncdrom/growisofs.txt
new file mode 100644
index 0000000..f9b0ad5
--- /dev/null
+++ b/doc/note/burncdrom/growisofs.txt
@@ -0,0 +1,20 @@
+
+## Install
+
+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
+
+