You are not logged in.

#1 2011-12-10 21:15:02

rjrjr
Member
Registered: 2010-03-22
Posts: 42

Resize a fat32 partition using linux 3.0

So I have an external hdd that I use as a backup/archive, and it is formatted using fat32. It is 315GB listed, and 293gb actual. It has about 183gb of data on it, and 110 free. I want to keep some of the data, but also switch the whole thing to ext4. My plan was to shrink the partition, use the free space to copy over the stuff I want, reformat the rest over to ext4, then merge the partitions.

Apparently as of parted 0.9.0 you can no longer resize fat32 partitions. Is there another utility that I can use to make this happen? Specifically, one that will work with the linux 3.0 kernel? I don't have another drive big enough to get everything onto it, so I need to find a way to keep everything on the drive as I flipflop everything around.

Thanks!

Offline

#2 2011-12-10 21:18:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Resize a fat32 partition using linux 3.0

Partition operations are dangerous and you're advised to back up your stuff. If you don't can't do a proper backup, I would think twice before proceeding.

Offline

#3 2011-12-10 21:58:01

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Resize a fat32 partition using linux 3.0

The kernel version is irrelevant for resizing operations. Tools matter, but you're correct, the only Linux tool that was capable of resizing fat32, isn't capable of it anymore. So copy the data to some other disk, and partition this disk from scratch.

Or compile yourself an older version of parted, I'd say they still work.

Offline

#4 2011-12-10 22:50:54

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Resize a fat32 partition using linux 3.0

How about the Gparted live CD? I have used it often and while it may be slow, it works wonderfully.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2011-12-10 22:52:31

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Resize a fat32 partition using linux 3.0

rjrjr wrote:

Is there another utility that I can use to make this happen? Specifically, one that will work with the linux 3.0 kernel?

Yes, I just took a look at the latest gparted on the PartedMagic LiveCD and it still offers the option to resize FAT32 partitions.  I didn't test it, but the option is certainly there.


edit:  oops, looks like I was typing out a response when B pressed ENTER!  smile

Last edited by ozar (2011-12-10 22:54:05)


oz

Offline

#6 2011-12-10 22:55:05

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Resize a fat32 partition using linux 3.0

Do you have any free space else where? 

1) Copy entire drive to temp space
2) Repartition and format to ext4
3) Copy back


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2011-12-11 00:07:06

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Resize a fat32 partition using linux 3.0

ozar wrote:

Yes, I just took a look at the latest gparted on the PartedMagic LiveCD and it still offers the option to resize FAT32 partitions.

Quite possibly PartedMagic links gparted against an old libparted.

ozar wrote:

edit:  oops, looks like I was typing out a response when B pressed ENTER!  smile

Heh, PartedMagic != GParted LiveCD smile

Offline

#8 2011-12-11 18:48:46

rjrjr
Member
Registered: 2010-03-22
Posts: 42

Re: Resize a fat32 partition using linux 3.0

Thanks for the responses, guys. Yeah, I am it a bit of a bind, and really should have done something about this sooner, because now I'm stuck. I'm starting to be unable to back up some files without renaming them to strip out special characters, etc, but it's becoming a problem during large batch backups. Unfortunately, I don't have another drive with enough space. When my laptop's hdd went I put in an 80gb x25m ssd, and it's nearly full. Sounds like a gparted cd could be the way to go.

Any bets on what the chances of me clobbering this would be?

Offline

Board footer

Powered by FluxBB