I have an 32 GB micro SD card (Class 10, samsung) which was used in the past for an OSMC box. However, the partition was never extended to the full 32GB so when I insert the drive in windows (the only host OS available to me for a while) It only registers as 280 MB. Any Idea on how to reformat this to 32GB so I can flash a new Linux image.

I still have the OSMC raspberry pi on hand if that is useful. I believe SSH might be turned on.

Thanks in advance.

2 Answers 2


Open an admin command prompt. Typing steps -

list disk
select Disk 1  (or whatever number showed as your SD disk)
create partition primary
select partition 1
format fs=fat32 quick
assign letter=R
  • That gives a 280mb partition no? Sep 7, 2016 at 12:30
  • It should give you the full amount of the drive capacity. The "clean" command should delete any partitioning. Not specifying a size when using "create partition primary" command means to use the whole drive. Sep 7, 2016 at 17:33

I think there are some partitions available on your SD card. So that it's not supporting on windows. Better you can break all the partitions and create a new.

You can use gparted to do that :)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.