reHDD/README.md

64 lines
1.8 KiB
Markdown
Raw Normal View History

2020-05-02 00:53:38 +02:00
# reHDD
2018-11-08 18:31:00 +01:00
2022-10-02 13:49:15 +02:00
## Features:
* show S.M.A.R.T values of attached drives
* checking used drives for their next live based on threshold limits
* delete a drive instant with wipefs
2020-09-15 13:28:02 +02:00
* deleting a drive securely via overwriting
2022-10-02 13:49:15 +02:00
* only needs a display and keyboard
* process multiple drives at once
## Download USB Image ##
2022-10-02 13:55:13 +02:00
[2.5GB image v1.0.0](https://schuttercloud.com/s/ggxGH9sA326aRfK) (`wget` is your friend)
2022-10-02 13:49:15 +02:00
Use [Etcher](https://www.balena.io/etcher/#download) or `dd` to create an bootable USB drive .
2018-11-08 18:36:48 +01:00
2020-09-15 13:28:02 +02:00
## Screenshot
2022-10-01 21:13:01 +02:00
![Screenshot of reHDD with multiple drives in different states](https://git.mosad.xyz/localhorst/reHDD/raw/commit/c40dfe2cbb8f86490b49caf82db70a10015f06f9/doc/screenshot.png "Screenshot")
2018-11-08 18:36:48 +01:00
2020-09-15 13:12:31 +02:00
## Debian Build Notes
2022-05-17 07:43:26 +02:00
* `apt-get install ncurses-dev git make g++`
2022-08-22 14:36:52 +02:00
* `git submodule init`
* `git submodule update`
2022-05-17 07:43:26 +02:00
* `make release`
2020-09-15 00:00:17 +02:00
2022-01-26 16:40:20 +01:00
## Create Standalone with Debian 11
2020-09-15 13:28:02 +02:00
Instructions how to create a standalone machine that boots directly to reHDD. This is aimed for production use, like several drives a day shredding.
2022-05-17 07:43:26 +02:00
* Start reHDD after boot without login (as a tty1 shell)
* Start dmesg after boot without login (as a tty2 shell)
* Start htop after boot without login (as a tty3 shell)
* Upload reHDD log every 12h if wanted
2020-09-15 13:28:02 +02:00
### Software requirements
2022-09-20 21:53:43 +02:00
* `apt-get install hwinfo smartmontools curl htop sudo`
2020-09-15 13:28:02 +02:00
2022-05-17 07:43:26 +02:00
### Installation
2020-09-15 13:28:02 +02:00
2022-05-17 07:43:26 +02:00
clone this repo into /root/
2020-09-15 13:28:02 +02:00
2022-08-22 14:36:52 +02:00
```
git submodule init
git submodule update
```
2022-05-17 07:43:26 +02:00
`cd /root/reHDD/`
2020-09-15 13:28:02 +02:00
2022-05-17 07:43:26 +02:00
`make release`
2020-09-15 13:28:02 +02:00
2022-05-17 07:43:26 +02:00
`bash scripts/install_reHDD.bash`
2022-01-26 17:32:21 +01:00
2022-05-17 07:43:26 +02:00
If you want to upload the logs, edit `scripts/reHDDLogUploader.bash` with your nextcloud token
2020-09-15 13:28:02 +02:00
2022-05-17 07:43:26 +02:00
Add your system drive in `/root/reHDD/ignoreDrives.conf` like:
2022-05-11 21:53:58 +02:00
```e102f49d```
2022-05-17 07:43:26 +02:00
Get the first 8 Bytes from your UUID via `blkid /dev/sdX`
2020-09-15 13:28:02 +02:00
2022-05-17 07:43:26 +02:00
`reboot`
2022-01-26 17:18:12 +01:00
2022-05-17 09:16:58 +02:00
## Build docs
`make docs`
2022-01-26 17:18:12 +01:00
2022-05-17 09:16:58 +02:00
open `doc/html/index.html` in browser