Update README.md

pull/7/head
Teldra 2019-02-24 14:25:57 +01:00 committed by GitHub
parent 00e2cfdc5d
commit f416882bac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ boot partition. The checksums and a backup of the contents of `/boot` are stored
in `/var/lib/hashboot` by default. If a checksum doesn't match, you have the in `/var/lib/hashboot` by default. If a checksum doesn't match, you have the
option to restore the file from backup. option to restore the file from backup.
If there is a core- or libreboot bios and flashrom installed, **hashboot** can check bios for modifications too.
# Install # Install
* Make hashboot executable * Make hashboot executable
@ -12,7 +14,7 @@ option to restore the file from backup.
* If applicable, copy kernel-hook to /etc/kernel/post{inst,rm}.d/zzz-hashboot (make sure it is called after all other hooks) * If applicable, copy kernel-hook to /etc/kernel/post{inst,rm}.d/zzz-hashboot (make sure it is called after all other hooks)
# Usage # Usage
* First run creates a configurationfile. Use bitmask to select desired checkroutines
* Run "hashboot index" to generate checksums and a backup for /boot and MBR * Run "hashboot index" to generate checksums and a backup for /boot and MBR
* Run "hashboot check" to check /boot and MBR * Run "hashboot check" to check /boot and MBR
* Run "hashboot recover" to replace corrupted files with the backup * Run "hashboot recover" to replace corrupted files with the backup