1
1
mirror of https://schlomp.space/tastytea/hashboot synced 2024-11-16 14:37:06 +01:00
Generate checksums and a backup for /boot, MBR and BIOS.
Go to file
2016-09-04 23:01:07 +02:00
emergency.service Revert "emergency.* deleted" 2015-09-25 23:50:22 +02:00
emergency.target Revert "emergency.* deleted" 2015-09-25 23:50:22 +02:00
hashboot dd status selection: micro fix 2015-10-05 02:30:00 +02:00
hashboot-9999.ebuild ebuild update 2015-10-05 00:13:39 +02:00
hashboot.install Archlinux PKGBUILD/install added. 2015-10-04 00:53:25 +02:00
initscript.openrc openrc: start before xdm 2015-10-04 17:05:19 +02:00
initscript.runit Better runit script 2016-09-04 23:01:07 +02:00
initscript.systemd added systemd initscript by oh <oh@rotce.de> 2015-06-05 21:32:25 +02:00
initscript.sysv hashboot.sh is now hashboot, cause it looks more professional and is nice and shiny and smells like strawberries! 2015-10-03 22:58:54 +02:00
INSTALL More readme updates 2015-10-18 00:03:22 +02:00
kernel-hook hashboot.sh is now hashboot, cause it looks more professional and is nice and shiny and smells like strawberries! 2015-10-03 22:58:54 +02:00
LICENSE License! \o/ 2015-10-03 20:14:09 +02:00
README More readme updates 2015-10-18 00:03:22 +02:00
README.md More readme updates 2015-10-18 00:03:22 +02:00
TODO TODO update 2015-10-05 11:55:51 +02:00

License

"THE HUG-WARE LICENSE" (Revision 1):
xo <xo@rotce.de> and tastytea <tastytea@tastytea.de> wrote these files. As long
as you retain this notice you can do whatever you want with this stuff. If we
meet some day, and you think this stuff is worth it, you can give us a hug.

Install

  • Make hashboot executable
  • Place hashboot anywhere in $PATH
  • Install the appropriate init script
  • If applicable, copy kernel-hook to /etc/kernel/post{inst,rm}.d/zzz-hashboot (make sure it is called after all other hooks)

Also see INSTALL.

Usage

  • Run "hashboot index" to generate checksums and a backup for /boot and MBR
  • Run "hashboot check" to check /boot and MBR
  • Run "hashboot recover" to replace corrupted files with the backup

Notes

  • A backup is per default stored in /var/cache/bootbackup.tar.gz
  • You can't use the openrc/sysv init scripts with parallel boot.
  • Detailed documentation is in the sourcecode.