Linked Questions

0 votes
1 answer
117 views

Struggling to clone an ssd using dd

I despair by the attempt to clone an ssd. Have two nvme ssds and 2 adapter to mount them via usb, thought a simple dd like dd if=/dev/sdb of=/dev/sdc bs=8M count=64000 would clone it, but it doesn't. ...
roland's user avatar
  • 1
0 votes
1 answer
155 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 ...
John's user avatar
  • 171
1 vote
2 answers
113 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 ...
3yanlis1bos's user avatar
1 vote
1 answer
718 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 ...
Tal's user avatar
  • 394
0 votes
1 answer
1k 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 ...
Milor123's user avatar
  • 231
2 votes
1 answer
671 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 ...
Milor123's user avatar
  • 231
0 votes
1 answer
183 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=/...
user1175461's user avatar
4 votes
2 answers
10k 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 ...
Kalamalka Kid's user avatar
1 vote
3 answers
1k 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 ...
Madhav Nikam's user avatar
  • 2,907
2 votes
2 answers
12k 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 ...
user88349's user avatar
  • 309
1 vote
1 answer
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 ...
John's user avatar
  • 123
1 vote
1 answer
579 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 ...
mathlearner's user avatar
97 votes
5 answers
178k 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, ...
Kris Harper's user avatar
  • 13.5k