Linked Questions

0
votes
1answer
805 views

Backup without free space in not recognized partition [duplicate]

I am trying to make a complete backup of an HDD partition to /dev/sdd (100gb), but I want to only take the contained data (50gb). I can't access the internal data in the HDD for putting zeros with dd ...
2
votes
1answer
594 views

What is the best way to clone HDD partitions of differences sizes? [duplicate]

I have two HDDs: the first of 150gb (/dev/sdc) with 30gb in use, the second of 100gb (/dev/sdd). There are sdc1 and sdd1 partitions with the same format. I want to clone the 30gb from the first disk ...
84
votes
5answers
156k views

How can I quickly copy a GPT partition scheme from one hard drive to another?

On a non GPT partition table I can do sfdisk -d /dev/sda | sfdisk /dev/sdb. But sfdisk doesn't support GPT partition tables. What can I use instead? I'm looking for a one or two command solution, ...
1
vote
2answers
10k views

What is the best way to clone a disk?

My guess is that dd if=/dev/sda of=/dev/sdb bs=4096 will work out well for me. I have some concerns though: What is the ideal bs size? Is it advisable to use a live cd? I simply don't want to include ...
4
votes
2answers
9k views

Cloning multiple partitions in Ubuntu

I am attempting to clone multiple partitions with either Clonezilla or dd without cloning the whole drive which consists of: A boot partition A home partition Seen below is the original installation ...
1
vote
1answer
1k views

Create System Image(Steps to clone all partitions)

I would like to create an image file of my system and then load that file and get my system back, as it is right now. The reason I am asking that, is that I would like to upgrade my laptop's hard ...
1
vote
3answers
811 views

How to clone Ubuntu into same machine with new partion?

In my computer, I want more space for Ubuntu. And for it don't like to format my Ubuntu. How can I copy everything from present Ubuntu and copy everything with user settings etc into other drive? copy ...
1
vote
1answer
411 views

How to copy and restore to smaller partition

I want to copy a partition from hd to another with small partition. Must be: support ext4 file system can create image file for later use. compress images files copy only the used file system ...
1
vote
1answer
520 views

Cloning a hard disk or creating a backup

I am changing my hard disk because in Ubuntu it shows "Disk Failure is Imminent". Which option is better: Should I clone my hard disk with new one or Should I create a backup using Ubuntu Backup and ...
0
votes
1answer
150 views

Cloning 16Gb USB Lubuntu drive to 16Gb Micro SD card - "no space left on device"

I am trying to clone a persistent Lubuntu 16.10 installation on a 16Gb Sandisk USB memory stick to a Sandisk 16Gb Micro SD card. I did this: dd if=/dev/sdb of=sdimage.img bs=4M dd if=sdimage.img of=/...
1
vote
2answers
88 views

Clone drive target hardware decision

I am planning to clone the 1TB drive of a PC which has operational importance for a project. Right now, only 22GB of the drive is utilized and I have a 32GB flash drive that I may use for cloning ...
0
votes
1answer
32 views

how to clone sd card without mbr with ubuntu?

I clone an sd card (32Go) and I copy it to a sd card of different size (64Go). I use those commands: sudo dd if=/dev/sdc of=Debian.img status=progress sudo dd if=Debian.img of=/dev/sdc status=progress ...