Formatting a flash drive through the command line without data loss

Without flash drives today it is difficult to imagine the modern life of an office or an ordinary user. Transfer data from computer to computer, submit a report or save something important and sacred - all this is possible thanks to removable storage media. All flash drives shipped from the factory are already formatted. Typically, their file system is FAT32. In the modern world, it is already outdated, as it has several significant drawbacks. Among them are the impossibility of moving files larger than 4 GB to a USB flash drive, as well as the restriction on the size of hard disk partitions.

A bit about file systems and their differences

Since the release, Windows has been using the FAT file system for operation. Its more advanced version is FAT32. It is followed by NTFS, which appeared in Windows XP.

formatting a flash drive through the command line




. FAT16 2 , FAT32 — 4 8 . NTFS 16 . , 255 .





Apple HFS+ . 255 . . 8 000 .

Linux- ext. — ext4, 2008 .

formatting a flash drive through the diskpart command line




, Linux- FAT, FAT32 NTFS. Windows ext .

NTFS. . . , .

formatting a flash drive through the command line without data loss




FAT32, NTFS .





Linux Windows , . Windows. — diskpart. , .

Windows , «», « » - «». « » « ».

. diskpart «». .

formatting a flash drive via the fat32 command line




, format Z: /FS:NTFS. Z . FS NTFS , NTFS.

, , .

. , . . diskpart. , . list volume. . — list disk. . 0, 1, 2 .

formatting a flash drive through the windows 7 command line




select disk 1 . convert ntfs. NTFS.

Windows 7. Ubuntu Debian? Linux.

, Linux . Ctrl+Alt+T. . fdisk -l.

- /dev/sdb1. Linux . , , .

, , :

df -h

Enter , . - /dev/sdb1 , , , . umount /dev/sdb1.

formatting a flash drive via linux command line




. mkfs. . -, . — ntfs. , fat32. . — . :

mkfs.ntfs _ /dev/sdb1.

NTFS.

. . :

  • HP USB Disk Storage Format Tool. , . .
  • Transcend Autoformat. — SD, MMC, CF.
  • HDD Low Level Format Tool. , . . .
  • SD Formatter — . . , .

, . , . , .

-. , . .




All Articles