Pendrive Size Reduced to MBs by Raspberry Pi [Fixed]

I was not able to use the internal storage of my mobile, so I decided to take the help of an OTG pendrive . While I had an OTG lying around, I was not able to find any USB drive on my work desk. So I was left with no choice but to use the one from my Raspberry Pi. It has been formatted and was being used as a boot partition for my Raspberry Pi. I knew it would be a tough task to use that pendrive with my device, as it was being used as an OS for my Raspberry, but for now, using it on my mobile was much more important than keeping the Raspberry up and running.

Raspberry Pi Pendrive Size Reduced to MB - 1

So I formatted my 8GB USB drive and then transferred a 1GB file to it, but much to my surprise, I was greeted with the message that it does not have enough storage space. I then went to check which files are taking up the space, but guess what? It was all blank! There was not a single file in the pendrive. I thought maybe the Raspberry boot files were hidden and that being shown here, but that wasn’t the case, as the USB drive was showing as 100% free storage space.

Raspberry Pi Pendrive Size Reduced to MB - 2

Making matters weirder was the fact that it showed the pendrive had 133MB of total space instead of the actual 8GB! So one thing was certain- doing a normal format wasn’t enough to free it from the hands of Raspberry Pi. So I took the next drastic measure, which was able to rectify the problem at one go! So I thought of documenting my findings here because if someone else is facing the same issue and manages to stumble upon this post [that is, if Google allows ranking this post over its AI Overview], then it will help them in addressing this problem within seconds!

Pendrive Size Reduced to MBs by Raspberry Pi [Fixed]

Raspberry Pi Pendrive Size Reduced to MB - 3 Raspberry Pi Pendrive Size Reduced to MB - 4
I am using Mac for this purpose because Windows wasn't even able to read my pendrive in the first place.
  1. Head over to Apps, search Disk Utility, and open it.
  2. Then, select your pendrive from the left-hand side. Do not select its subpartition named boot [or something along that line]; select its parent directory.
  3. Now click on Erase at the top right.
  4. Give it a name and choose the required format and scheme. Since I had to use it with Android, I chose ExFAT as the Format and Master Boot Record as the Scheme.
  5. Finally, hit Erase and wait for the process to finish. Once complete, click on Done.
  6. Now reopen Disk Utility and this time, it will show the correct size.
  • How to Flash a Custom ROM via USB OTG Device
  • USB OTG not working on Android: How to Fix
  • How to Mount USB OTG Devices formatted as exFAT on Android
  • How to use USB OTG or Pen Drive to Flash File via TWRP Recovery
Google preferred - 5 Google preferred - 6

(Cancel Reply)

Δ