2019-08-11 01:24:27 +02:00
|
|
|
# grub-ownership
|
2019-08-14 22:05:33 +02:00
|
|
|
Show an owner when grub is booting up.
|
|
|
|
|
2019-08-14 22:09:07 +02:00
|
|
|
It is looking like this:
|
2019-08-14 22:05:33 +02:00
|
|
|
|
|
|
|
```
|
2019-08-15 00:47:14 +02:00
|
|
|
##########################
|
|
|
|
# Owner: #
|
|
|
|
# Alex Alexsen <a@a.tld> #
|
|
|
|
##########################
|
2019-08-14 22:09:07 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```bash
|
2019-08-14 22:05:33 +02:00
|
|
|
sudo make install
|
|
|
|
# OR with an autotools like PREFIX:
|
|
|
|
sudo PREFIX=/another/root make install
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
Edit the file `/etc/default/grub`.
|
|
|
|
|
|
|
|
This is an example config
|
|
|
|
|
|
|
|
```
|
|
|
|
# Name and mail address of owner
|
|
|
|
OWNER="Alex Alexsen <a@a.tld>"
|
|
|
|
|
|
|
|
# Amounts of seconds for how long the owner information is displayed. It is skippable via ESC.
|
|
|
|
OWNER_TIMEOUT=10
|
|
|
|
```
|
|
|
|
|
2019-08-15 00:52:28 +02:00
|
|
|
### Apply configuration
|
|
|
|
|
|
|
|
To apply the configuration you need to regenerate the GRUB2 config.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
grub-mkconfig -o /boot/grub/grub.cfg
|
|
|
|
# OR on Debian like systems
|
|
|
|
update-grub
|
|
|
|
```
|
2019-08-14 22:05:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
## Uninstall
|
|
|
|
|
2019-08-14 22:09:07 +02:00
|
|
|
```bash
|
2019-08-14 22:05:33 +02:00
|
|
|
sudo make uninstall
|
|
|
|
# OR with an autotools like PREFIX:
|
|
|
|
sudo PREFIX=/another/root make uninstall
|
|
|
|
```
|
|
|
|
|
|
|
|
|