Advanced

dd

Story: Backup or Clone a Disk in Linux by using ClonezillaTotal Replies: 2
Author Content
penguinist

May 17, 2016
7:11 PM EDT
This article describes a long procedure to accomplish what can be done with a usb live disk and three commands:

mount /dev/sdb1 /mnt
dd if=/dev/sda of=/mnt/backup_sda.img bs=1M
umount /mnt
dotmatrix

May 17, 2016
7:34 PM EDT
True.

But then you'd need to get a 'live-cd-zilla' version of a GNU/Linux distro... zcat or dd or whatever the image onto a USB stick... then boot into the live image, open a terminal, and issue the aforementioned commands.

It's probably convenient for some people to have a single purpose bootable USB thingie to do dastardly doings on drives... kind of like DBAN, I suppose.
flufferbeer

May 18, 2016
2:47 AM EDT
@penguinist

> mount /dev/sdb1 /mnt

> dd if=/dev/sda of=/mnt/backup_sda.img bs=1M

> umount /mnt

Or maybe even "mount /dev/sdb1 /mnt ; dd if=/dev/sda of=/mnt/backup_sda.img bs=1M ; umount /mnt "

Either one of these sure seems to me to nicely adhere to the principle of K.I.S.S.!

2c

Post a reply to this thread:

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post