I am trying to format a USB-attached memory card to FAT32. I’ve tried parted, gparted and the disks applet, all without success: when I remount the partition the original contents are still there.
Example:
GNU Parted 3.4
Using /dev/sdd
... etc
Partition Table: msdos
Number Start End Size Type File system Flags
1 4194kB 15.9GB 15.9GB primary fat32 lba
(parted) rm 1
(parted) p
(parted) mkpart primary fat32 4194 100%
(parted) p
Model: Multi-Reader -3 (scsi)
Disk /dev/sdd: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4194MB 15.9GB 11.7GB primary fat32 lba
(parted) quit
Information: You may need to update /etc/fstab.
#
# sudo mount /dev/sdd1 /mnt/temp
# ls /mnt/temp
Android/ Contacts_003.vcf DCIM/ LOST.DIR/ Music/ 'Voice Recorder'/
And there it still is! It’s the same with gparted and with “disks”. What am I doing wrong?
Mint 21 “Vanessa” with Cinnamon.