dd Copied the Bytes, Not the Files: How to Actually Migrate an NTFS Data Drive to ext4

Abstract: dd duplicates raw partition bytes, so cloning an NTFS partition onto an ext4-formatted disk produces an unreadable target, not a file copy. To convert filesystems, mount both drives and copy the files with rsync.

Created: 2026-11-15 by

Nothing went wrong with dd itself — it copied exactly what it was pointed at: raw blocks. A block-level clone cannot turn an NTFS partition into an ext4 one, and when you point dd at a freshly formatted ext4 partition, the first thing it overwrites is that partition's own filesystem metadata. The result is a target your file manager cannot present as files. To move your data to ext4, mount both filesystems and copy the files with rsync.

What dd really does — and why the target looked wrong

dd knows nothing about files, folders, or filesystems. It reads a device sector by sector — boot sectors, journals, allocation tables, free space, everything — and writes those bytes to the destination. When you run a command like dd if=/dev/sdc5 of=/dev/sdd1, the destination's ext4 superblock is destroyed within the first few kilobytes and replaced with the source partition's raw contents.

That explains every oddity you observed:

  • The target no longer contains a valid ext4 filesystem, so the file manager shows an empty folder, a mount error, or nonsense depending on what the kernel still has cached.
  • Even a "successful" clone would be readable only as the source's filesystem type — you would have simply made a second NTFS partition, which defeats the purpose.
  • A clone carries the source's filesystem UUID, so with both drives attached, the system can mount the wrong one at boot.
  • Usage figures won't match your file totals, because dd copies allocated blocks and slack space, not a file tree.
  • Cloning a smaller partition onto a larger one strands the leftover space until you resize; cloning onto a smaller one truncates data.

Copy files, not blocks, when changing filesystems

A filesystem conversion means reading each file through the NTFS driver and writing it through the ext4 driver. That is inherently a file-level operation. Here is a safe sequence:

  1. Identify the devices — never trust remembered letters. USB device names shift between boots and ports. Run lsblk -f and confirm which device is the Seagate and which is the target by size, label, and filesystem.
  2. Back up anything irreplaceable first. The next steps destroy the target, and a mistake with device names can destroy the source.
  3. Format the target while it is unmounted:
    sudo umount /dev/sdX1
    sudo mkfs.ext4 /dev/sdX1
    If you get a "target is busy" error, close any file-manager windows showing that drive and retry.
  4. Mount both filesystems. Desktop environments usually auto-mount on plug-in; otherwise:
    sudo mkdir -p /mnt/source /mnt/target
    sudo mount /dev/sdY1 /mnt/source
    sudo mount /dev/sdX1 /mnt/target
  5. Copy with rsync:
    sudo rsync -rahAEXHP --info=progress2 /mnt/source/ /mnt/target/
    The flags mean: -r recursive, -a archive mode (preserves structure and timestamps), -A and -X keep ACLs and extended attributes, -H preserves hard links, -E keeps executability, and -h/-P give readable output with progress and resume. Note the trailing slash on the source: with it, rsync copies the contents into the target; without it, you would create a nested /mnt/target/source folder.

One expectation to set: NTFS stores no Linux ownership or permission bits, so files arrive with defaults and will be owned by root when run under sudo. Run chown/chmod afterwards if that matters to you.

Verify before you touch the original drive

  • Compare totals: du -sh /mnt/source /mnt/target
  • Compare file counts: find /mnt/source -type f | wc -l against the same command on the target.
  • Re-run the same rsync command. It scans both trees and transfers only differences, so a second run that finishes almost instantly is strong evidence the copy is complete.
  • Spot-check by opening a few large files directly from the target.

Only after verification should you reformat or repurpose the old NTFS drive — or better, keep it as a backup for a while.

Is ext4 the right destination?

If the drive is used exclusively with Linux, ext4 is a sound choice: it is far more at home on Ubuntu than NTFS, and Linux's ntfsfix can only clear a dirty flag rather than actually repair the filesystem — which is why every hiccup sent you to a Windows machine for chkdsk. The trade-off is that Windows cannot read ext4 without third-party drivers. If the drive might ever be plugged into a Windows PC, consider exFAT (universally readable, but no journaling or permissions) or staying with NTFS. If you commit to ext4, add the drive to /etc/fstab using the new UUID shown by lsblk -f so it mounts reliably.

Preventing the next dd accident

  • Treat dd and mkfs as commands that destroy their target. Run lsblk -f immediately beforehand and re-read the of= argument before pressing Enter.
  • Use file-level tools (rsync, cp -a, or a dedicated backup program) for migrations and routine backups.
  • Reserve dd for what it is good at: writing images, wiping devices, and cloning a disk to an identical one. If you do clone, give the copy a fresh identity afterwards — for ext4, sudo tune2fs -U random /dev/sdX1 — so the two can never be confused at mount time.
  • For full-disk imaging, consider Clonezilla, which understands filesystems and copies only used blocks.

Frequently Asked Questions

Why did my cloned drive show strange or empty contents?

Because the clone overwrote the ext4 metadata that made the target readable, replacing it with raw source bytes. The partition is only interpretable as the source's filesystem type, and the file manager's cached view no longer matches the disk.

Can dd ever convert NTFS to ext4?

No. dd never interprets filesystems, so it can only produce an identical copy — same type, same UUID, same layout. Conversion requires reading files through one driver and writing them through another, which is what rsync does.

Does rsync preserve everything from an NTFS drive?

It preserves the file tree and timestamps. NTFS has no native Linux ownership or mode bits, so those are assigned defaults; ACLs and extended attributes are preserved only where they exist.

What is the difference between /mnt/source and /mnt/source/ in rsync?

A trailing slash means "copy the contents of this directory." Without it, rsync copies the directory itself, creating an extra nesting level on the target.

Both drives have the same UUID after a dd clone — how do I fix that?

Assign a new one: sudo tune2fs -U random /dev/sdX1 for ext4. Or avoid the problem entirely by using a file-level copy instead of a block clone.

Is dd the wrong tool for backups in general?

Not wrong, just specialized. It excels at writing images and producing exact replicas of identical hardware, but for ongoing backups and filesystem migrations, file-level tools are faster, safer, and far easier to verify.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More