Skip to main content

Questions tagged [dd]

A common Unix program whose primary purpose is the low-level copying and conversion of raw data.

0 votes
1 answer
26 views

In Linux (terminal only) can I temporarily force a Windows EFI to be unbootable then restore as needed?

I have a Windows Server. I do backups by booting to Linux and doing a dd exact sector copy from my boot disk to another disk*. The problem is that my Server's BIOS is too smart, no matter what I do ...
Joe C's user avatar
  • 664
0 votes
1 answer
31 views

Is it possible to move partitions around on Mac OS using dd and gdisk?

Please bare with me, if this question seems dumb. I'm not experienced with filesystems and partitions. I have an IMG file from a 16GB sd card. My issue is: I have a 32GB sd card and do not want 16GB ...
Skeeve's user avatar
  • 101
1 vote
1 answer
110 views

Is there a tool like `dd` but respect sparse-ness of input file?

I am creating disk images with multiple ext4 partitions on it. Each ext4 partition content is created with mkfs.ext4 and the resulting filesystem image files are "sparse". When I use dd to ...
josch's user avatar
  • 918
0 votes
0 answers
78 views

Raspberry pi fails to boot from USB after cloning disk (HomeAssistant)

My SSD I was running HomeAssistant on was getting a bit to small so I got a larger disk. I cloned my disk via: sudo dd if=/dev/sdc of=/dev/sde bs=64K conv=noerror,sync status=progress (where indeed ...
Matthijs's user avatar
  • 133
0 votes
0 answers
34 views

Can I dd from one opened luks container to another?

I want to migrate my encrypted data from one drive to another. Both source and target should be encrypted. I've read in some other question, that I should create a new container, so that the superkey ...
Armin's user avatar
  • 101
3 votes
1 answer
184 views

Why does DD'ing a raw image change the image when read back

I have a .RAW image. The image contains a single partition. I have created a loopback based device. I created a single partition on that device. I'm writing my .RAW to the partition. sudo dd if=/tmp/...
bearrito's user avatar
0 votes
1 answer
130 views

What path to write a Windows ISO to create a bootable thumb drive?

Was looking to use PXE, but now just directly downloading the Windows 10 ISO as: nicholas@mordor:~$ nicholas@mordor:~$ ll /media/nicholas/ total 18 drwxr-x---+ 5 root root 5 Feb 19 18:23 ....
Nicholas Saunders's user avatar
0 votes
1 answer
111 views

Disk cloning trouble due to slight size mismatch between source and target

I tried to clone sdb onto sdc but that failed due to a marginal size mismatch. I tried recovery options using gdisk to no avail. What are my options now for starting again from scratch? The source ...
Erwann's user avatar
  • 141
0 votes
1 answer
72 views

From disk end, how to count MB (Megabytes) to the first non-zero location?

I am using Kubuntu 22.04.3 LTS x86_64. While re-purposing a disk using: neofetch --stdout |grep 'OS:' Instead of long process of dd zero the whole disk just dd zero some first bytes of disk and then ...
joseph22's user avatar
  • 367
0 votes
1 answer
420 views

Doing a disk copy with dd on RAID1 devices on Ubuntu

I want to make exact copies of two drives using dd. The two drives are mounted on Ubuntu as a single RAID1 device. The RAID (consisting of two drives) is bootable. If I make exact copies of the two ...
Sunny's user avatar
  • 369
0 votes
1 answer
84 views

resize ext4 container file [closed]

I created an ext4 file container with 16GB of space. dd if=/dev/zero of=./container_16GB.img bs=1M count=16384 mkfs.ext4 container.img It is nor problem to mount this container file but is it also ...
user0815's user avatar
0 votes
0 answers
258 views

Issues while trying to make an ISO from a DVD in macOS

I have already read most of the questions and answers relating to this issue, which is supposed to be simple, but I still can't do it. The unmount step goes ok: sudo diskutil unmountDisk /dev/disk4 ...
Eduardo's user avatar
  • 123
0 votes
2 answers
363 views

How to clone desktop NVMe into a bigger one?

I currently have a 2TB Samsung NVMe with several partitions, C being the system partition (Windows 11). I purchased a 4TB WD NVMe that I'd like to upgrade to. The Samsung is installed in one of the ...
Annathema's user avatar
0 votes
2 answers
51 views

How to prevent small ISO from marking incorrect size on large target drive?

I am trying to write a 20GB iso to a 200GB hard disk. However, when I do this, the partition table from the ISO seems to carry the 20GB drive size marking with it, so that KDE Partition Manager thinks ...
TheLabCat's user avatar
0 votes
2 answers
310 views

How to merge two drives into larger new one

I have a setup (UEFI) with two SSDs, which contain a Windows partition, a Linux partition, boot and swap partitions and a data partition. I want to move all of these to a single new SSD. How do I go ...
Tare's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
39