reHDD/README.md

46 lines
1.2 KiB
Markdown
Raw Normal View History

2020-05-02 00:53:38 +02:00
# reHDD
2018-11-08 18:31:00 +01:00
2018-11-08 18:36:48 +01:00
## Useful for:
* checking new drives for the first time
* checking used drives for their next live
2020-09-15 13:28:02 +02:00
* deleting a drive securely via overwriting
2018-11-08 18:36:48 +01:00
2020-09-15 13:28:02 +02:00
## Screenshot
2020-09-15 13:43:51 +02:00
![alt text](https://git.mosad.xyz/localhorst/reHDD/raw/commit/95828afcc2e417b9cb64a4add98ae9c3c7628e84/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++`
* `make release`
2020-09-15 00:00:17 +02:00
2022-05-11 21:53:58 +02: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-05-17 07:43:26 +02:00
* `apt-get install hwinfo smartmontools curl`
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/
2022-05-11 22:31:08 +02:00
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`
2020-09-15 13:28:02 +02:00
2022-05-17 07:43:26 +02:00
If you want to upload the logs, edit `scripts/reHDDLogUploader.bash` with your nextcloud token
2022-05-11 21:53:58 +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:43:51 +02:00
2022-05-17 07:43:26 +02:00
`reboot`
2022-05-11 22:31:08 +02:00