Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
k, so i got dual boot on some machines, and the main partition for keeping DATA is FAT32, which is badly fragmented almost always, since machines are usually in Linux and hardly are booted into windows, it is hard to run a defragmentation software from there, i need a linux solution that can do the job, and it would be good if it runs automatically....
Disk defragmentation has always been ignored in the Unix world. I don't believe that there is a disk defragmenter that runs in Linux. The only thing that you can do, as far as I know, is to back up the partition, reformat the partition, and then restore from backup.
I know this is years late, but a search brought me to this post.
@Dummy-in-Linux: Did you actually read the original question? ".., the main partition for keeping DATA is FAT32, ..."
It's almost like people just see the words 'Linux' and 'Defrag', and immediately go on the "Linux filesystems don't need to defrag rant".
Seriously if you search this question, expect that unrelated rant somewhere on every post.
If anyone has a an alternative solution, I would really appreciate any help.
NOTE: 'alternative solution' means not one of these crappy workarounds.
1. Boot any other OS, looking for something native GNU/Linux.
2. Manually. or automatically, recreating the filesystem.
3. O&O Defrag Linux BETA, Will not defrag FAT16/FAT32 or NTFS
yeah, right we all know backup+restore would 'defragment' it. but thats not a real solution. because good defragmenter will place often used files near disk edge, leave small gaps, etc. and it should be faster. also doesn't need so much extra space.
problem is, even Windows software doesn't have good FAT32 defragment as they all rely on builtin API which cannot move FAT32 directories
There is "Partition Logic" bootable .iso that supposedly can defragment FAT32, dunno if its reliable.
I've never tried it myself, so I can't vouch for it. From a quick glance at the code though there are a couple of lines that tell me it's currently not safe to use if any filenames contain embedded newlines, at the least.