LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2012, 09:21 AM   #1
mzzxx11
Member
 
Registered: Sep 2012
Posts: 86

Rep: Reputation: Disabled
gparted: error when resizing an SD card partition


I'm trying to repartition an SD card with gparted.

It currently contains a single 1.8GB FAT16 partition (size card is 2GB).

When I right-click on the partition & resize it to 1.5GB, I get after a few seconds the error:
"file systems does not have expected sizes for windows to like it. Number of clusters is 60212 (60213 expected); size of FATs is 284 sectors (236 expected)."

Any suggestions?
TIA
 
Old 11-30-2012, 09:41 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Are you trying to preserve the filesystem? It might work if you repartition with empty partitions and then create a new filesystem. Also make sure you are using the latest parted (3.1 is current) as there have been many bug fixes.
 
Old 11-30-2012, 12:19 PM   #3
mzzxx11
Member
 
Registered: Sep 2012
Posts: 86

Original Poster
Rep: Reputation: Disabled
tnx.

the SD currently has a FAT16 partition, which should be a piece of pie for gparted to resize.

Im using whats available for debian stable: gparted 0.7.0
 
Old 11-30-2012, 12:30 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
gparted is just a GUI for parted (actually, libparted I guess). Make sure you are current on parted.

There is a boundary right at 2GB devices for FAT16, so that may be causing the issue with resizing the partition while keeping the filesystem intact.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble Resizing Extended Partition - Gparted natibo Linux - General 4 08-04-2015 08:02 PM
Can't boot after resizing partition with gparted blaszta Linux - General 5 11-18-2010 02:12 AM
GParted resizing has corrupted a partition troy.mcclure Linux - General 1 11-16-2009 06:02 PM
error resizing NTFS partition with gParted live CD Nived87 Linux - Newbie 5 05-29-2006 01:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration