Topic: [SOLVED] Error formatting USB stick in ext4
Newbie with GParted 0.25.0, running on debian stretch (9.1.0). I've tried to flash a 16GB usb stick in ext4 format and I get the following error. I tried a different usb stick, and the same error occured. However, I tried formatting the same USB stick in ext4 with partition magic on a windows 10 PC, and it worked perfectly.
GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize Libparted 3.2 Format /dev/sdd1 as ext4 00:05:24 ( ERROR ) calibrate /dev/sdd1 00:00:00 ( SUCCESS ) path: /dev/sdd1 (partition) start: 8064 end: 30320639 size: 30312576 (14.45 GiB) clear old file system signatures in /dev/sdd1 00:00:08 ( SUCCESS ) write 512.00 KiB of zeros at byte offset 0 00:00:00 ( SUCCESS ) write 4.00 KiB of zeros at byte offset 67108864 00:00:00 ( SUCCESS ) write 512.00 KiB of zeros at byte offset 15519449088 00:00:00 ( SUCCESS ) write 4.00 KiB of zeros at byte offset 15519973376 00:00:00 ( SUCCESS ) write 8.00 KiB of zeros at byte offset 15520030720 00:00:00 ( SUCCESS ) flush operating system cache of /dev/sdd 00:00:08 ( SUCCESS ) set partition type on /dev/sdd1 00:00:01 ( SUCCESS ) new partition type: ext4 create new ext4 file system 00:05:15 ( ERROR ) mkfs.ext4 -F -L "" /dev/sdd1 00:05:15 ( ERROR ) Creating filesystem with 3789072 4k blocks and 948416 inodes Filesystem UUID: 195a1d42-07f6-4dc9-9ee1-00609da33ed0 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208 Allocating group tables: done Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: mke2fs 1.43.4 (31-Jan-2017) Warning, had trouble writing out superblocks.
I tried using this USB stick in other servers that read ext4 and it doesn't get detected. The one formatted by partition magic works good in all systems. I tried creating a partition from scratch and that didn't help. Any suggestions?