rickzman
Posts: 22
Joined: Sun Aug 25, 2019 2:00 pm
Location: Seattle

Formatting a USB Memory Stick for Use on the Raspberry Pi

Wed Oct 02, 2019 3:35 pm

I have a USB memory stick that I want to use on the RBP 4. It's 64MB. When I format it on my PC, I can only format it as exFAT, which the RBP can not read.

Can I format it on the RBP? How?

MagicRom
Posts: 4
Joined: Wed Oct 02, 2019 10:26 am

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Wed Oct 02, 2019 3:56 pm

hi !

try to install this ==> sudo apt-get install exfat-fuse exfat-utils on RBI. normaly you will be able to use exfat usb format with that.

User avatar
B.Goode
Posts: 10399
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Wed Oct 02, 2019 4:15 pm

rickzman wrote:
Wed Oct 02, 2019 3:35 pm
I have a USB memory stick that I want to use on the RBP 4. It's 64MB. When I format it on my PC, I can only format it as exFAT, which the RBP can not read.

Can I format it on the RBP? How?

Yes, it can be formatted using the Raspbian Operating System on your RPi.

But in order to give appropriate detailed instructions, what do you hope to use the usb mass storage for once it has been formatted for use with the RPi?

fbe
Posts: 644
Joined: Thu Aug 17, 2017 9:08 pm

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Wed Oct 02, 2019 4:58 pm

A Rasperry Pi can read exFAT. It only can't boot from exFAT partition (you can't install NOOBS on an exFAT partition). If your USB memory stick has 64MB size only, I wouldn't recommend to use it for a boot partition and Windows would allow FAT filesystem on it ;) .

User avatar
DougieLawson
Posts: 39539
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Wed Oct 02, 2019 5:03 pm

If you're trying to get NOOBS on that USB stick then switch to PINN.
https://github.com/procount/pinn/blob/m ... ME_PINN.md


There's an "Etchable" version of PINN which will create the FAT32 partition you need.
Download that, write it to the stick with Etcher.
https://sourceforge.net/projects/pinn/files/Etcher/ (PINN Lite - Etcher version)

Or just forget NOOBS and PINN and simply write Raspbian 2019-09-26 to the stick with Etcher.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

rickzman
Posts: 22
Joined: Sun Aug 25, 2019 2:00 pm
Location: Seattle

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Fri Oct 04, 2019 3:59 pm

Thanks for all the help and comments.

What I'm after is a USB stick that I can use to transfer files from my PC to RBP. At this time, I'm not interested in booting from the USB stick.

The basic problem is that when I plug the stick in on RBP, I get an error message about the incorrect format. I understand that FAT32 and another format are the only ones that the RBP recognizes.

Thanks

User avatar
B.Goode
Posts: 10399
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Fri Oct 04, 2019 4:42 pm

rickzman wrote:
Fri Oct 04, 2019 3:59 pm
Thanks for all the help and comments.

What I'm after is a USB stick that I can use to transfer files from my PC to RBP. At this time, I'm not interested in booting from the USB stick.

The basic problem is that when I plug the stick in on RBP, I get an error message about the incorrect format. I understand that FAT32 and another format are the only ones that the RBP recognizes.

Thanks

So for data interchange a simple Windows-style FATnn filesystem will probably be an adequate lowest common denominator.

You can format your usb stick in this way using Windows. But you need an external tool to do it. See the Raspberry Pi documentation here: https://www.raspberrypi.org/documentati ... matting.md
(The documentation is still applicable even though you do not intend to install the NOOBS Installer on the resulting card.)


Or, with an sdxc compatible external usb dongle, you can do the formatting on an RPi running Raspbian. gparted and mkfs are among the tools you can use.

User avatar
DougieLawson
Posts: 39539
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Fri Oct 04, 2019 5:03 pm

Raspbian 2019-09-26 includes ntfs-3g.

So just format it in your Windows system and let Windows pick a filesystem format for you. Your Raspberry can mount that and with the GUI automounter it will do that automagically.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

bjtheone
Posts: 896
Joined: Mon May 20, 2019 11:28 pm
Location: The Frozen North (AKA Canada)

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Sat Oct 05, 2019 1:18 am

rickzman wrote:
Fri Oct 04, 2019 3:59 pm
I understand that FAT32 and another format are the only ones that the RBP recognizes.
Nope Linux can read and write just about every filesystem under the sun. Raspbian only supports a certain number of them by default. Until very recently you had to add support for ntfs, as it was not part of the default build. Even with a old build of Buster anything that your PC running Windows wants to format the USB stick as should work (other than ntfs).

For a brief look at the absurd number of different filesystems out there take at look at:


https://wiki.debian.org/FileSystem

User avatar
rin67630
Posts: 1051
Joined: Fri Mar 04, 2016 10:15 am

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Sat Oct 05, 2019 8:38 am

bjtheone wrote:
Sat Oct 05, 2019 1:18 am

https://wiki.debian.org/FileSystem
Yes, unbelievable that not everybody uses ZFS today!
I can't read it on my Arduinos.
;-)

rickzman
Posts: 22
Joined: Sun Aug 25, 2019 2:00 pm
Location: Seattle

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Sun Oct 06, 2019 3:03 am

I finally got the memory stick formatted on my PC in FAT32. I used guiformat.exe which was described in one of the replies.

Thanks everyone.

LTolledo
Posts: 3744
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Sun Oct 06, 2019 4:59 am

Nowadays I format my USB drives in Raspbian using gparted....and not use my W$ system anymore for that purpose.
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

fbe
Posts: 644
Joined: Thu Aug 17, 2017 9:08 pm

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Sun Oct 06, 2019 5:58 am

If you prefer exFAT:

Code: Select all

apt search exfat
...

stevewmn
Posts: 2
Joined: Sat Jul 20, 2019 11:13 pm

Re: Formatting a USB Memory Stick for Use on the Raspberry Pi

Tue Oct 08, 2019 3:30 pm

Just as an aside, I resurrected a thumb drive that I used briefly as a Fedora boot disk using my Pi. My windows machine couldn't mount it, reformat it or use it at all. I wrote a new partition table with parted and formatted it as exfat on my Pi and all was well.

Return to “Raspberry Pi OS”