A while back when I had Windows and Ubuntu on the same hard drive, I defragged from windows and it messed ubuntu up. Is there a way so that I can defrag it without touching the ext4 partition?

1 Answer 1


In short - perfectly safe.

  1. If you installed Ubuntu with Wubi - then Ubuntu installation is same as every other file in Windows. Defragmentation won't change contents and any installation image moves would be detected by boot loader.

  2. If you have installed Ubuntu in separate partition, then it is even better - no Windows defragger would touch ext4 partition ad performance should be the best.

See more:



  • Is it any different if I installed it from a liveUSB using the installed alongside Windows option during the installation? Feb 23, 2014 at 22:44
  • It's the second one. So you most likely have problem somewhere else, for example, dying hard drive.
    – ulcha
    Feb 24, 2014 at 14:38

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.