diff --git a/articles/cheatsheets/dd.html b/articles/cheatsheets/dd.html new file mode 100644 index 0000000..a63cc83 --- /dev/null +++ b/articles/cheatsheets/dd.html @@ -0,0 +1,59 @@ + + + + + +dd cheatsheet + + + + +
+Sitemap +
+ +

Figuring out what is the USB stick

+

Start by mounting the stick which should be automatic in GUI.

+
mount|grep /dev/sd
+

should tell what is the /dev/USBSTICK

+

Creating bootable USB stick

+
isohybrid image.iso
+dd if=image of=/dev/USBSTICK bs=1024
+

Creating .iso from CD/DVD

+

First unmount the CD/DVD and then

+
dd if=/dev/DRIVE of=image.iso
+

DRIVE can be /dev/dvd /dev/cdrom or /dev/scd0 depending on the CD/DVD.

+

Backing up scratched CD/DVD

+
dd if=/dev/DRIVE (see above) of=IMAGE.iso conv=noerror
+

maybe ddrescue should be used instead of dd.

+ +
+ +
+ + + +

+comments powered by Disqus +

+ + + + + diff --git a/articles/cheatsheets/dd.html.md b/articles/cheatsheets/dd.html.md new file mode 100644 index 0000000..5ea2e67 --- /dev/null +++ b/articles/cheatsheets/dd.html.md @@ -0,0 +1,81 @@ + + + + + + + + + +dd cheatsheet + + + +
+[Sitemap](../../sitemap/sitemap.html) +
+ +# Figuring out what is the USB stick + +Start by mounting the stick which should be automatic in GUI. + +``` +mount|grep /dev/sd +``` + +should tell what is the /dev/USBSTICK + +## Creating bootable USB stick + +``` +isohybrid image.iso +dd if=image of=/dev/USBSTICK bs=1024 +``` + +## Creating .iso from CD/DVD + +First unmount the CD/DVD and then + +``` +dd if=/dev/DRIVE of=image.iso +``` + +DRIVE can be /dev/dvd /dev/cdrom or /dev/scd0 depending on the CD/DVD. + +## Backing up scratched CD/DVD + +``` +dd if=/dev/DRIVE (see above) of=IMAGE.iso conv=noerror +``` + +maybe ddrescue should be used instead of dd. + + +
+ +
+ + + +

comments powered by Disqus +

+ + +