Saturday 5 November 2016

Making files contiguous on an NTFS volume under linux

Recent versions of E2B contain a 32-bit version of the binary executable for 'UltraDefrag' for linux (udefrag).

This can be found in the \_ISO\docs\linux_utils folder.

You will need to use chmod to make it executable first. More details are here.

To run the 32-bit version of udefrag under Ubuntu 64-bit:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
(change to _ISO/docs/linux_utils folder)
sudo chmod 777 *
sudo udefrag -om /dev/sdX1  (where sdX1 is your NTFS USB partition - e.g. /dev/sdb1)

I got the udefrag file from here (tools.zip). There is also a post here which may help.

I am afraid my linux skills are virtually non-existent, so if anyone would like to provide me with a compiled, 64-bit version of udefrag, I will add it to E2B for others to use.

1 comment:

  1. To be on the safe side, it would be better to copy the udefrag executable to another location, since it can't defrag a mounted disk (the e2b disk that it is running from).

    This appears to have a recent 5.0.2 port of ultradefrag:

    https://github.com/749/UltraDefrag4Linux

    ReplyDelete