title: “NTFS<–>EXT4” date: 2025-01-15 draft: false Link to heading
1. NTFS->EXT4 Link to heading
-
Check Disk Information
sudo fdisk -l # Confirm the USB device (usually /dev/sdb or /dev/sdc, etc.). -
Unmount the USB drive The example uses /dev/sdb1; please adjust the device name based on your actual setup.
sudo umount /dev/sdb1 -
Delete the existing partition
sudo fdisk /dev/sdb # Enter partition management tool, type 'd' to delete the partition, then type 'w' to save changes. -
Create a new partition
sudo fdisk /dev/sdb # Enter partition management tool, type 'n' to create a new partition, press Enter for other defaults, then type 'w' to save changes. -
Format the partition as NTFS
sudo mkfs.ntfs /dev/sdb1 -
Mount the USB drive
sudo mkdir /mnt/usb sudo mount /dev/sdb1 /mnt/usb -
Verify the format
df -hT /mnt/usb # The output should show ext4 -
Unmount the USB drive
sudo umount /mnt/usb