Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I found a site in someone's signature, explaining how to resize current Fat32 partitions. I had a question; if you never defragmented the partition, will resizing it erase data?
As far as I know it's held possible, and the preferred way is to first defragment, then resize. It may or may not do it, according to the people who "know something more about it" and write about it on the web.
I've done it a few times, being lazy, resizing a FAT32 partition with data inside, and have not had any problems or lost data (yet, at least). This may be because of the partitions I've played with have never been even nearly full, so it's probable that the resized area didn't contain any information even though I didn't defragment. I don't know if resizing bigger poses any trouble, but shrinking might; if you have any data you consider important (i.e. are not ready to delete because I ask you to), first defragment, then think of resizing. And backup, no matter how sure you were.
Strictly speaking, altering the partition does nothing to the filesystem installed in that partition.
However if you are shrinking the partition and they don't agree, it's certainly possible (at least some of) your data could be exposed.
If you use gparted, you can resize your FAT partition without data loss (BUT! Always backup. Always! There is no such thing as safe playing with partitions!)
There's nothing too valuable here that I can't rebuild, and when I'm going to resize I should have a copy of Puppy, so I have access to important apps if I need them. There's just some HTML, PHP, and image files I have for a site I'm working on, and a few projects I still haven't handed in. The rest I don't care about. Fortunately I got an MP3 player as a gift, and there's enough room there to store most of my valuable files.
How long would it take to defragment around 6GB of data, though? I'm not sure if it's all fragmented (Windows is like 3GB, and should be fine) as I haven't done a defragmentation in a while.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.