Questions tagged [dd]
A common Unix program whose primary purpose is the low-level copying and conversion of raw data.
597 questions
7
votes
1
answer
1k
views
Why am I getting a Chromebook dd command error: No space left on a drive that has enough space?
I'm trying to put Ventoy on a 128 GB flash drive, but when I tried to use the dd command, I got this error:
wolfy@penguin:~$ sudo dd if=ventoyiso.iso of=/dev/sda bs=4M status=progress
dd: error ...
0
votes
0
answers
129
views
How to craft a persistent install USB media using common linux tools?
Without resorting to specialized tools like UNetbootin et al, how to create a USB install media (from a distro ISO file) that have a write (persistence) partition?
I tried just creating two partitions ...
7
votes
2
answers
1k
views
Why does failing HDD speed keep on going down during dd operation?
I have 320GB HDD that has bad sectors and disk is failing due to errors on read, reported via smartctl. To save as much data, I wanted to perform dd/ddrescue on this disk.
ddrescue had abysmally slow ...
-1
votes
1
answer
148
views
How to merge partial disk images, made using dd, with image made using ddrescue?
When trying to recover data from old failed hard disk, I managed to get it detected by BIOS. I didn't have ddrescue prepared so I tried using dd, in case the disk won't start again next time. I tried ...
0
votes
1
answer
83
views
Cloning 60GB IDE drive via USB adapter is very slow
I need to clone a 60gb IDE drives for in car navigation system upgrades. I've got the drives and 2 IDE to USB adapters and using DD it is running at 1.5MB/s which by my calculations means it will take ...
1
vote
1
answer
175
views
How to copy partitions and structure from one drive to another drive?
I have a dual boot setup and recently got a new SSD and I wanted to transfer my Windows partition to the new drive.
The drive looks like this:
Disk /dev/nvme1n1: 476.94 GiB, 512110190592 bytes, ...
1
vote
0
answers
136
views
DD clone/restore partition
I have planned to store my dual boot (Windows + A Linux distro) in images using dd to clone them, but I'm not sure if it is a good idea and if is is possible.
Both OS are going to be installed in ...
1
vote
0
answers
447
views
Why is “dd” slower than balenaEtcher in my usage case?
I regularly have to flash an SD card with a .wic image. I have tried two tools, linux's dd and balenaEtcher.
balenaEtcher finishes the job in about 2 minutes while my dd command takes 5.
Here is the ...
4
votes
1
answer
686
views
What is the command I should use to send a gzipped drive image for extraction to the disk of a remote server?
I have some gzipped files I want to transfer to a remote server and extract directly onto the target drive.
It is similar to this command
dd if=/dev/sda bs=5M conv=fsync status=progress | gzip -c -9 | ...
0
votes
0
answers
265
views
The `dd` command always gives me an error at the end of zero-writing a disk
I'm trying to get a bootable Ubuntu installation drive with sudo dd if=ubuntu-24.04.1-live-server-amd64.iso of=/dev/sdc bs=1M status=progress && sync on a remote CentOS 7.x system with the ...
1
vote
2
answers
183
views
How to write to last 4 bytes of disk via CLI? Like using dd, optional
Warning,
these commands (scripts) delete (change) data on your disk.
Be sure to back up any important data on disks/drives before proceeding.
You are responsible for lost data.
You can use
blkid
lsblk
...
0
votes
1
answer
72
views
dd clone disk to partition erased both drives
I wanted to clone a 4TB external hard drive (sda) to a 12TB internal hard drive with a hub (sdb1) and set up everything correctly until running dd in Putty with the command below. After about 20 ...
1
vote
0
answers
92
views
Why am I seeing that Solaris 11.2 has slow disk reads or writes using dd?
I have this machine with Solaris 11.2, no updates :
uname -a
SunOS lab1 5.11 11.2 i86pc i386 i86pc
Which is quite bored out cause no any load.
I have migrated required data and I would like to test ...
1
vote
0
answers
244
views
What is the fastest way to duplicate BTRFS RAID1 drives?
I am trying to transfer the data on a set of 99% full 4TB RAID1 BTRFS drives to a pair of 12TB RAID1 drives also using BTRFS. Unfortunately, the vast majority of data on the drive is in the form of ...
1
vote
1
answer
230
views
Linux showing wrong hard drive size after failed dd clone
I was attempting to system clone a BTRFS filesystem from a set of 4TB drives in RAID1 BTRFS to a set of 12TB drives in RAID1 BTRFS using instructions from here:
How to copy a btrfs filesystem
I used ...