2019-02-24 09:29:11 -05:00
|
|
|
= hashboot(1)
|
|
|
|
tastytea <tastytea@tastytea.de>; teldra <teldra@rotce.de>
|
2019-04-12 13:52:41 -04:00
|
|
|
:Date: 2019-04-12
|
2019-02-24 09:29:11 -05:00
|
|
|
:Revision: 0.9.8
|
|
|
|
:man source: hashboot
|
|
|
|
:man version: {revision}
|
|
|
|
:man manual: General Commands Manual
|
|
|
|
|
|
|
|
== NAME
|
|
|
|
|
2019-02-25 01:07:33 -05:00
|
|
|
hashboot - generate checksums and a backup for /boot, MBR and BIOS.
|
2019-02-24 09:29:11 -05:00
|
|
|
|
|
|
|
== SYNOPSIS
|
|
|
|
|
|
|
|
*hashboot* _index_|_check_|_recover_
|
|
|
|
|
|
|
|
== DESCRIPTION
|
|
|
|
|
|
|
|
hashboot hashes all files in `/boot` and the MBR to check them during early
|
|
|
|
boot. It is intended for when you have encrypted the root partition but not the
|
|
|
|
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
|
|
|
|
option to restore the file from backup.
|
|
|
|
|
2019-02-24 09:34:16 -05:00
|
|
|
If there is a core- or libreboot bios and flashrom installed, hashboot can
|
2019-02-24 09:29:11 -05:00
|
|
|
check bios for modifications too.
|
|
|
|
|
|
|
|
== OPTIONS
|
|
|
|
|
2019-04-12 13:52:41 -04:00
|
|
|
*index*::
|
|
|
|
generate checksums and a backup for `/boot`, MBR and BIOS.
|
|
|
|
|
|
|
|
*check*::
|
|
|
|
check `/boot`, MBR and BIOS.
|
|
|
|
|
|
|
|
*recover*::
|
|
|
|
replace corrupted files with the backup.
|
2019-02-24 09:29:11 -05:00
|
|
|
|
|
|
|
== CONFIGURATION
|
|
|
|
|
|
|
|
The configuration file is in `/etc/hashboot.conf`.
|
|
|
|
|
|
|
|
=== Possible options
|
|
|
|
|
2019-02-24 09:43:07 -05:00
|
|
|
[frame="none",grid="none"]
|
|
|
|
|============
|
|
|
|
|SAVEDIR | The checksums and the backup are stored here.
|
|
|
|
|CKMODES | 001=mbr, 010=files, 100=bios.
|
|
|
|
|MBR_DEVICE | Device with the MBR on it.
|
2019-03-26 04:50:47 -04:00
|
|
|
|PROGRAMMER | Use this programmer instead of "internal". Will be passed to flashrom.
|
2019-02-24 09:43:07 -05:00
|
|
|
|============
|
2019-02-24 09:29:11 -05:00
|
|
|
|
|
|
|
|
|
|
|
== REPORTING BUGS
|
|
|
|
|
|
|
|
Bugtracker: https://github.com/tastytea/hashboot/issues
|