Skip to content
Chazz edited this page Oct 28, 2016 · 2 revisions

Welcome to the tc-hdd-tools wiki!

Description

This is the first public release of the hdd-tools image. This image has scripts to help automate the following:

  • Running fsck on all connected ext* file systems, in the event the user isn't comfortable doing so on their own
  • Runs 'fsck -yf' by default when booting the hdd-utilities option. This equates to running 'fsck-all yes short'
  • Also supports running 'fsck -fcck' by running the 'fsck-all' script with no arguments.

  • NOTE: As always, there is a chance of data being destroyed or lost by running fsck, please take adequate backups.

  • Running S.M.A.R.T. tests on hard drives, using smartmontools.

  • This is handled by the 'smart-all' script

  • It supports testing hard drives connected to various RAID cards in addition to directly connected.

  • Supports running only one of: short, conveyance, or long. This is handled by passing '-s', '-c', or '-l' respectively to 'smart-all'

  • Running 'shred' on connected drives, using 'shred-all' script

  • This requires typing 'YES' when prompted before it will actually shred a volume

  • NOTE: shred will erase all contents of the disk, make sure you take adequate backups.

Directions for extracting and writing

  1. This is distributed as a Sparse tar file, you will need either tar or 7-zip to extract it.
tar -Sxzvf hdd-tools-v0.5.3.tgz
  1. If capable, the image should be verified. sha512, sha1, and md5 checksums are provided inside the tar file, for use with sha512sum, sha1sum, or md5sum, respectively.
$ sha512sum -c hdd-tools.img.sha512
hdd-tools.img: OK
$ md5sum hdd-tools.img
64f14cf8d21cfee1154b238d9eeb5770  hdd-tools.img
$ cat hdd-tools.img.sha1
0500f88622b6e5e4a8365048ca56756bce9ab059  hdd-tools.img
$ cat hdd-tools.img.sha512
b930b7bfcc667884bac0d10f1daa828284dc6550e0dc8c19c32b81b6f8f1c5b304e53401f09003690427cf18b32072f5ae0ade39363dd13c082a74313c560abc  hdd-tools.img
  1. This image is intended to be written to a 2GB or larger USB thumb/pen/flash drive.
  • It can be written using the 'dd' utility in Linux/Unix based systems.
    • Be extremely careful using 'dd'. if you mix up the parameters or use the wrong one, you will destroy data.
dd if=hdd-tools.img of=/dev/sdb

Directions for Use

  1. Install the USB pen drive into your system and reboot
  • If your system is not configured to boot from USB when available, you may need to enter a boot-override or one-time-boot menu in order to boot from the USB pen drive.
  1. A "System Utilities" menu will be displayed with these options:
  • (Re)Boot USB
  • Boot Next Device - OS
  • Hard Drive Utilities
  • Memory Test
  1. The first two options bring you back to this menu or cancel the boot from USB and continue a normal boot of your system, respectively.
  2. Hard Drive Utilities provides a remastered Tiny Core 7.2 image with the scripts provided in this repository
  3. Memory Test runs MemTest86+
Clone this wiki locally