hoc
Posts: 8
Joined: Sat May 06, 2017 11:42 am

Error: resizing fat partition

Sat May 06, 2017 11:52 am

Hello forum!
So, yesterday I bought my new Raspberry Pi 3 and I tried it out with NOOBS and it worked great! But today I tried to reinstall NOOBS on it and this is what happened..
- I formatted the SD card that I was going to install NOOBS on
- I extracted NOOBS on it
- Put it in my Raspberry Pi and I got the message: "Error: resizing FAT partition"
Once I clicked on Enter or Okay, a window opened with a loading bar trying to do something with the SD card. (I am sorry, I do not remember.)
Right now as we speak, I am putting on a new image of NOOBS on my SD card so I will be putting in an update once I try it out.
For more information, the SD card that I am using is a SanDisk Ultra 16GB one. Previously, it has been only in a GoPro Hero camera. Nowhere else.
I am hoping for an answer. Thanks, and have a nice day! :D

Ernst
Posts: 1335
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: Error: resizing fat partition

Sat May 06, 2017 5:44 pm

The road to insanity is paved with static ip addresses

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

Re: Error: resizing fat partition

Sat May 06, 2017 6:06 pm

hoc wrote:today I tried to reinstall NOOBS on it and this is what happened..
- I formatted the SD card that I was going to install NOOBS on
- I extracted NOOBS on it
- Put it in my Raspberry Pi and I got the message: "Error: resizing FAT partition"
One tiny pedantic detail.

After formatting the microSD card as FAT, using the recommended SDFormatter utility, be sure to Eject (or 'Safely Unload') the card and re-insert it before copying the extracted NOOBS installer files onto it.

If you get a similar error again, the important details of the underlying problem are further down in that Error dialog box. Usually something like 'FATs do not match'.

hoc
Posts: 8
Joined: Sat May 06, 2017 11:42 am

Re: Error: resizing fat partition

Sat May 06, 2017 6:22 pm

Well, I formatted the SD card as a FAT32.. I am about to try to format it once again, wish me luck! :P

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

Re: Error: resizing fat partition

Sat May 06, 2017 6:33 pm

Another possibility is that the SD card reader you are using is only capable of correctly handling SD cards, not SDHC cards. If you are using the built-in slot in a laptop check its specification or try an external microSDHC card reader 'dongle'.

hoc
Posts: 8
Joined: Sat May 06, 2017 11:42 am

Re: Error: resizing fat partition

Sat May 06, 2017 6:37 pm

The first time I used the SD card reader to put on the image of NOOBS it worked great, but the second time I used it, didn't do so good..

Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

Re: Error: resizing fat partition

Sat May 06, 2017 6:38 pm

Keep in mind the significant fact that it worked once.

The key is figuring out what is different this time vs. the first time.

Also, and just out of curiosity, why did you decide to re-do it? That may influence what is different this time vs. the first time.
If this post appears in the wrong forums category, my apologies.

hoc
Posts: 8
Joined: Sat May 06, 2017 11:42 am

Re: Error: resizing fat partition

Sat May 06, 2017 6:42 pm

Martin Frezman wrote:Keep in mind the significant fact that it worked once.

The key is figuring out what is different this time vs. the first time.

Also, and just out of curiosity, why did you decide to re-do it? That may influence what is different this time vs. the first time.
Because I tried to install snappy ubuntu then it worked, but I kind of wanted NOOBS again, and after it it stoped working..

Ernst
Posts: 1335
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: Error: resizing fat partition

Sat May 06, 2017 7:10 pm

hoc wrote:Well, I formatted the SD card as a FAT32.. I am about to try to format it once again, wish me luck! :P
Let me ask again: Did you follow the instructions ? My guess is no, because formatting the SD card as FAT32 indicates that you are not using the SD Formatter.
The road to insanity is paved with static ip addresses

hoc
Posts: 8
Joined: Sat May 06, 2017 11:42 am

Re: Error: resizing fat partition

Sat May 06, 2017 9:34 pm

Ernst wrote:
hoc wrote:Well, I formatted the SD card as a FAT32.. I am about to try to format it once again, wish me luck! :P
Let me ask again: Did you follow the instructions ? My guess is no, because formatting the SD card as FAT32 indicates that you are not using the SD Formatter.
I am using SDFormatter all of the time. I have no Idea how it ends up like that.

drgeoff
Posts: 10832
Joined: Wed Jan 25, 2012 6:39 pm

Re: Error: resizing fat partition

Sat May 06, 2017 10:00 pm

Are you setting the 'Size Adjustment' option in SDFormatter to 'On'?
Quis custodiet ipsos custodes?

hoc
Posts: 8
Joined: Sat May 06, 2017 11:42 am

Re: Error: resizing fat partition

Sat May 06, 2017 10:08 pm

drgeoff wrote:Are you setting the 'Size Adjustment' option in SDFormatter to 'On'?
No, but should I?

User avatar
procount
Posts: 2215
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

Re: Error: resizing fat partition

Sat May 06, 2017 10:28 pm

Yes, in order to ensure all previous partitions are deleted and you hav full access to the whole SD card.
If you still have problems, try formatting it in a digital camera if you have one, or try using gparted or other diskutilities to remove all partitions and reformat the single remaining partition as FAT32.
Another trick that sometimes works is to give the disk a label after formatting it.

My personal opinion is that the problem is some partition alignment problem that causes NOOBS' parted program to not recognise the partition format after it has tried to resize it. Doing some of the above options is sometimes sufficient to avoid the issue.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

hoc
Posts: 8
Joined: Sat May 06, 2017 11:42 am

Re: Error: resizing fat partition

Sun May 07, 2017 12:15 pm

procount wrote:Yes, in order to ensure all previous partitions are deleted and you hav full access to the whole SD card.
If you still have problems, try formatting it in a digital camera if you have one, or try using gparted or other diskutilities to remove all partitions and reformat the single remaining partition as FAT32.
Another trick that sometimes works is to give the disk a label after formatting it.

My personal opinion is that the problem is some partition alignment problem that causes NOOBS' parted program to not recognise the partition format after it has tried to resize it. Doing some of the above options is sometimes sufficient to avoid the issue.
I am going to try to format it with my GoPro camera.. Will be sure to leave an update about it. Because, after I took the SD card out of my GoPro (formatted it through the camera) and then just extracted all of the NOOBS files on it, it worked..

hoc
Posts: 8
Joined: Sat May 06, 2017 11:42 am

Re: Error: resizing fat partition

Sun May 07, 2017 2:00 pm

UPDATE: There we go, fixed it. Just formatted the SD card with a digital camera, extracted the files and its done!

drgeoff
Posts: 10832
Joined: Wed Jan 25, 2012 6:39 pm

Re: Error: resizing fat partition

Sun May 07, 2017 5:03 pm

hoc wrote:UPDATE: There we go, fixed it. Just formatted the SD card with a digital camera, extracted the files and its done!
I expect that using SDFormatter with the Size Adjustment on would have been successful too.
Quis custodiet ipsos custodes?

SFC
Posts: 2
Joined: Wed May 17, 2017 5:43 pm

Re: Error: resizing fat partition

Wed May 17, 2017 6:07 pm

I have the same problem, been trying to get NOOBS V2_4 to work for days. No matter how I format the 8Gb sd card (samsung evo) I get a FAT partition error
Error Resizing existing partition
Fatal: Bad FAT: undetermined chain for \os\Raspbian\Slides~1
*Should run DOSFSCK or SCANDISK

I formatted the sd with SD Formatter as recommended in many videos, with and without format size adjustment on and off. I tried Windows 10 (right click format), I tried from Linux. I tried guiformat 32 bit and 64bit. I tried from my camera. I tried 3 different sd cards. All produce an error!!!

I was able to successfully able to do it on a 32GB sd card (samsung evo) and a 16gb sd card with NOOBS V2_3 a while back.
Is there a problem with using 8gb sd cards?

xreg0
Posts: 1
Joined: Tue Jan 09, 2018 8:10 pm

Re: Error: resizing fat partition

Tue Jan 09, 2018 8:14 pm

I got around this on windows 10 by:


Control Panel > Create and format hard disk partitions > Select your SD card > Right Click > Set as Active partition.

Maybe wont work for you but i was having the same issue and this fixed it for me!

theGrant
Posts: 2
Joined: Sun Feb 11, 2018 5:31 pm

Re: Error: resizing fat partition

Sun Feb 11, 2018 5:36 pm

I had this same problem. When you format the SD card, make sure you choose ‘Quick Format’.

dherrington2
Posts: 1
Joined: Sat Feb 24, 2018 6:52 pm

Re: Error: resizing fat partition

Sat Feb 24, 2018 7:22 pm

I had same problem with my RPi 2 Model B V1.1 (4 USB ports), which was working before I tried to reinstall Noobs from scratch, at which point I was getting solid red light. I did get it to work after reformatting the card with my GoPro, so here is exactly what I did, in case you want to follow along.

I initially tried the process on a MacBook Pro, but then switched over to a Windows 10 laptop (however, I don't think this really mattered in the end).

After I went through the recommended process on the MacBook Pro (full SD reformat with the recommended V5 SD Formatter tool then copying the Noobs files to the SD card), the Pi would not boot. Just solid red, no green light at all, and no HDMI video.

So, I switched over to the Windows 10 machine and did the exact same process (full SD reformat with the V5 SD Formatter tool, then copied the Noobs files to the SD card). I also pulled all of the cables off of the RPi this time. This time the green light flashed a couple of times (progress), so I plugged in the HDMI cable. The boot process had started, but there was a partition error (sorry I didn't record the text of the error.)

At this point, I took the advice of some of the other posters and reformatted the card using my GoPro camera.

I then I went back to the Windows 10 laptop and did the full SD reformat with the V5 SD Formatter tool, then copied the Noobs files to the SD card. I noticed that Windows 10 now indicated in File Explorer that the card was "SDHC", which I don't think it did before. Also, the reformat and file copy process worked a lot faster this time around, after the card was reformatted using the GoPro.

Again, I pulled all cables off the RPi and booted it. This time, green light flashed normally, and I was able to connect HDMI, keyboard and mouse, and it booted normally.

So, the key for me (I believe) was reformatting the card with my GoPro camera.

I do recall a long time ago, when I first got the RPi and did the original install (same card), that I accepted the Noobs installer option to create an additional 500MB data partition, which I never ended up using. Maybe that was a root cause? Anyway, the camera reformat fixed it.

Good luck!
-Dave

Return to “Troubleshooting”