Best file format for wiping USB memory stick
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Best file format for wiping USB memory stick
Hello everyone,
I need to format my USB stick and would like to ask what is the best format to choose (for compatibility between all OS, particularly Win and Linux)?
Thank you!
I need to format my USB stick and would like to ask what is the best format to choose (for compatibility between all OS, particularly Win and Linux)?
Thank you!
Last edited by LockBot on Thu Aug 17, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Best file format for wiping USB memory stick
fat32, use mint's usb stick formatter.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: Best file format for wiping USB memory stick
exFAT (Extensible File Allocation Table) is a file system optimized for flash memory such as USB flash drives and SD cards. The macOS, Windows, and Linux operating systems support exFAT. If I remember correctly the Linux 5.7+ kernel has a more stable exFAT driver. Samsung donated the exFAT driver to the Linux kernel. When using USB flash storage devices, exFAT is my go to file system when moving files between the big three operating systems.
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Re: Best file format for wiping USB memory stick
and mint's usb stick formatter gives you the option for exfat.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
- stevengarland
- Level 5
- Posts: 845
- Joined: Tue Mar 05, 2019 4:04 pm
- Location: Michigan
Re: Best file format for wiping USB memory stick
What happened to EXT4. Is that no longer recommended?
Keep It Simple Sweetheart
Re: Best file format for wiping USB memory stick
I normally use ext4 because I'm not sharing with win, but would pick fat32 by default as the lowest common denominator. It does have limitations, e.g. max file size 4GB. exfat support in some LM utilities, e.g. gparted, was limited. Think this is now fixed with LM21, so I'd go with deck_luck.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: Best file format for wiping USB memory stick
Steven,stevengarland wrote: ⤴Tue Feb 21, 2023 3:36 pm What happened to EXT4. Is that no longer recommended?
Please read the original post to get a understanding of the context. What file system works on all operating systems, i.e. Linux, Windows, and macOS. As AndyMH stated, the FAT32 file system works on the big three operating systems. Conversely, the ext4 file system is native to Linux, and macOS does not natively support it. Consequently, ext4 is not acceptable for this situation.
The second part is the type of persistent storage device. The exFAT is optimized for USB flash memory sticks, hence exFAT was my recommendation. Likewise, the exFAT extends the FAT32 capabilities.
Please note, it is very important to make sure you unmount/eject the USB flash stick before unplugging it. Otherwise, you could get corrupt directories or files.
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Re: Best file format for wiping USB memory stick
Thank you deck_luckdeck_luck wrote: ⤴Tue Feb 21, 2023 4:34 pmSteven,stevengarland wrote: ⤴Tue Feb 21, 2023 3:36 pm What happened to EXT4. Is that no longer recommended?
Please read the original post to get a understanding of the context. What file system works on all operating systems, i.e. Linux, Windows, and macOS. As AndyMH stated, the FAT32 file system works on the big three operating systems. Conversely, the ext4 file system is native to Linux, and macOS does not natively support it. Consequently, ext4 is not acceptable for this situation.
The second part is the type of persistent storage device. The exFAT is optimized for USB flash memory sticks, hence exFAT was my recommendation. Likewise, the exFAT extends the FAT32 capabilities.
Please note, it is very important to make sure you unmount/eject the USB flash stick before unplugging it. Otherwise, you could get corrupt directories or files.
You raised interesting points, thank you.
So if we were to only consider compatibility between Linux and Windows (I never use macOS) - what would be the best file format to use on a USB memory stick? Also if I were to format an SSD for installation of Linux - what would be the best format to use? And the same with installation of Windows? Thank you!
Re: Best file format for wiping USB memory stick
Since it is a USB flash storage stick, I would recommend exFAT.
The modern SSD (solid state disk) storage devices are flash memory based, however they are far more advanced that a simple USB flash stick. The simple USB flash stick does not provide the SSD wear leveling and trim features. Since the Linux ext4 and Windows11 NTFS support trim, I would encourage you to use the default native file system on your internal SSD storage device for operating system installations.
EDIT: Sorry, I thought this was a new user. I removed the comment about starting a new thread.
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Re: Best file format for wiping USB memory stick
fat32, until the universe ends.
It's one of the most versatile and free/(microsoft-abandoned) file systems that gets along with any and ALL other OS's, ..., old or new.
But failing that, due to the file/file system size limitations of fat32, then go ntfs, and/or exFAT, however, both of these latter ones are riddled with patent encumbered M$ licenses, ..., best to stay away from whenever possible.
Hence why NFS was (freely) created decades ago, (as long as you have a working network connection), so we wouldn't have to worry about file systems, but alas, that's yet another topic.
It's one of the most versatile and free/(microsoft-abandoned) file systems that gets along with any and ALL other OS's, ..., old or new.
But failing that, due to the file/file system size limitations of fat32, then go ntfs, and/or exFAT, however, both of these latter ones are riddled with patent encumbered M$ licenses, ..., best to stay away from whenever possible.
Hence why NFS was (freely) created decades ago, (as long as you have a working network connection), so we wouldn't have to worry about file systems, but alas, that's yet another topic.
MATE 21.3 | Lenovo Legion 5 17ACH6
Re: Best file format for wiping USB memory stick
exFAT was proprietary until 28 August 2019, when Microsoft published its specification.
Microsoft released exfat specifications
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
-
- Level 3
- Posts: 139
- Joined: Thu Feb 10, 2022 4:29 am
Re: Best file format for wiping USB memory stick
Hi,deck_luck wrote: ⤴Tue Feb 21, 2023 4:34 pm
Steven,
Please read the original post to get a understanding of the context. What file system works on all operating systems, i.e. Linux, Windows, and macOS. As AndyMH stated, the FAT32 file system works on the big three operating systems. Conversely, the ext4 file system is native to Linux, and macOS does not natively support it. Consequently, ext4 is not acceptable for this situation.
The second part is the type of persistent storage device. The exFAT is optimized for USB flash memory sticks, hence exFAT was my recommendation. Likewise, the exFAT extends the FAT32 capabilities.
Please note, it is very important to make sure you unmount/eject the USB flash stick before unplugging it. Otherwise, you could get corrupt directories or files.
I have a related question here if you are still around: is the unmount/eject button's function the same as Window's "Safely Remove Hardware" in principle; are they doing the same thing?
Re: Best file format for wiping USB memory stick
I make it a habit to right click the file system and unmount it. This will flush all of the file system cache. If you are dealing with a USB hard disk drive with multiple partitions/file systems, you must unmount all of them before attempting an eject. Once the activity light is off, I will proceed with the eject.red-striped-zebra wrote: ⤴Mon Mar 20, 2023 9:56 am Hi,
I have a related question here if you are still around: is the unmount/eject button's function the same as Window's "Safely Remove Hardware" in principle; are they doing the same thing?
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
-
- Level 3
- Posts: 139
- Joined: Thu Feb 10, 2022 4:29 am
Re: Best file format for wiping USB memory stick
Too much caution! On Windows, we only do "Safely remove hardware" before pulling off the USB.deck_luck wrote: ⤴Wed Mar 22, 2023 5:25 am I make it a habit to right click the file system and unmount it. This will flush all of the file system cache. If you are dealing with a USB hard disk drive with multiple partitions/file systems, you must unmount all of them before attempting an eject. Once the activity light is off, I will proceed with the eject.
Re: Best file format for wiping USB memory stick
Behind the scene the Windows Eject will first unmount the file system and eject (Linux equivalent udisksctl power-off). Likewise if you have any file system residing on the USB device in use, the Windows Eject function will not succeed. I have even had the Task Manager open looking at stats, and it would prevent Windows from ejecting the USB device, because the Task Manager held the device in use. The terminology might sound a little different, but they are still performing similar functions.red-striped-zebra wrote: ⤴Wed Mar 22, 2023 6:23 am Too much caution! On Windows, we only do "Safely remove hardware" before pulling off the USB.
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
-
- Level 3
- Posts: 139
- Joined: Thu Feb 10, 2022 4:29 am
Re: Best file format for wiping USB memory stick
When I recently put my back-up western digital external hard drive on another linux-run system, I found the file manager app opened all the partitions on it together, successfully with eject buttons for each on to the side. And when I ejected them separately (I did not unmount as you advice here), the HDD functioned well the next time I connected it. Is it because using the GUI/app is safe?deck_luck wrote: ⤴Wed Mar 22, 2023 8:37 am Behind the scene the Windows Eject will first unmount the file system and eject (Linux equivalent udisksctl power-off). Likewise if you have any file system residing on the USB device in use, the Windows Eject function will not succeed. I have even had the Task Manager open looking at stats, and it would prevent Windows from ejecting the USB device, because the Task Manager held the device in use. The terminology might sound a little different, but they are still performing similar functions.
Re: Best file format for wiping USB memory stick
Thank you deck_luck and everyone for helping out (and sorry for the delay in posting back).deck_luck wrote: ⤴Wed Feb 22, 2023 11:36 pm
Since it is a USB flash storage stick, I would recommend exFAT.
The modern SSD (solid state disk) storage devices are flash memory based, however they are far more advanced that a simple USB flash stick. The simple USB flash stick does not provide the SSD wear leveling and trim features. Since the Linux ext4 and Windows11 NTFS support trim, I would encourage you to use the default native file system on your internal SSD storage device for operating system installations.
EDIT: Sorry, I thought this was a new user. I removed the comment about starting a new thread.
If my understanding is correct, the consensus is that it's best to use exFAT for formatting a USB memory stick (for use with Linux/Windows/Mac) - is that correct?
Can I please go back to my previous questions about formatting for installation of Linux and Windows on SSD:
1) What would be the best file format for formatting an SSD drive for installation of Linux Mint?
2) What would be the best file format for formatting an SSD drive for installation of Windows (10)?
Also, was wondering if the best file format for the above would be different when formatting a HDD?
Sorry I'm not sure what the 'default native file system on your internal SSD storage device for operating system installations' would be? How can I check this? I may have formatted the drive in the past so would this information be more difficult to find?
Thank you!
Re: Best file format for wiping USB memory stick
#1 & #2 if you choose "erase and install" the mint installer does it for you. Win will be the same.
No difference for an HDD. If you are formatting an HDD for use as a data drive, if you want to share files with win then format the partition ntfs, if linux only then format ext4.
This is what my system drive looks like, you get the panel on the left with view > device information.
No difference for an HDD. If you are formatting an HDD for use as a data drive, if you want to share files with win then format the partition ntfs, if linux only then format ext4.
Mint's default filesystem is ext4. You can find out about your drives with gparted (there is a copy on the install iso, but you have to install it from software manager once you have installed mint). gparted is the standard linux partition editor.Sorry I'm not sure what the 'default native file system on your internal SSD storage device for operating system installations' would be? How can I check this? I may have formatted the drive in the past so would this information be more difficult to find?
This is what my system drive looks like, you get the panel on the left with view > device information.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: Best file format for wiping USB memory stick
I use Mint Win11 and OSX, for my flash drives they're formatted exfat. All OS's read and write to them.
As for your other questions, the best format to use for the installation of those individual OS's, is, the installers default file format. I know, not a big revelation there. If I didn't have to share flash drives between PC's then Mint would use EXT4 so I could save timeshift backups to it. Windows would use ntfs cause it's faster for it, and what ever the default OSX is for it.
As for your other questions, the best format to use for the installation of those individual OS's, is, the installers default file format. I know, not a big revelation there. If I didn't have to share flash drives between PC's then Mint would use EXT4 so I could save timeshift backups to it. Windows would use ntfs cause it's faster for it, and what ever the default OSX is for it.
If you can't trust a 600 year old vampire in a prepubescent girl's body, who can you trust?
Core i5-11400
Gigabyte Z590 Aorus Master
32Gb 3600Mhz Crucial Ballistix
Asrock RX6600XT 8Gb Challenger OC Edition
Aorus 500Gb Gen4 nvme
550W Gold SFx PSU
Core i5-11400
Gigabyte Z590 Aorus Master
32Gb 3600Mhz Crucial Ballistix
Asrock RX6600XT 8Gb Challenger OC Edition
Aorus 500Gb Gen4 nvme
550W Gold SFx PSU