Advertisement
wagnux

udefrag

Aug 21st, 2023
917
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.61 KB | None | 0 0
  1. ## Desfragmentando particoes NTFS
  2.  
  3. You can use udefrag from E2B https://www.easy2boot.com/make-an-easy2boot-usb-drive/make-using-linux/
  4.  
  5. Install udefrag zipped static executable (tested with Ubuntu 18.04.4 LTS amd64)
  6.  
  7. sudo dpkg --add-architecture i386
  8. sudo apt update
  9. sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386
  10.  
  11. wget -r https://easy2boot.com/_files/200002026-43f1844ea0/udefrag.zip
  12. cd easy2boot.com/_files/200002026-43f1844ea0/
  13. unzip udefrag.zip
  14.  
  15. sudo chmod 755 *
  16. sudo cp udefrag /sbin/
  17. In order to run it (replace sdX1 with the appropriate disk label)
  18.  
  19. sudo ./udefrag -om /dev/sdX1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement