configure-grub
—
NorNet configure-grub
configure-grub grub-defaults-template-file |
[---input|-i
-input-grub-defaults-file ]
[---output|-o
-output-grub-defaults-file ]
[---video|-V
-GRUB_GFXMODE ] [---tune|-T
-GRUB_INIT_TUNE ] |
configure-grub
adjusts a GRUB configuration file by
applying a configuration from a template, and merging the existing
configurations settings with additional customisations. It can for example be
used to set a custom screen resolution (GRUB_GFXMODE option) or startup tune
(GRUB_INIT_TUNE option).
WARNING: This program is meant to be used by expert users! Do not
modify a working GRUB configuration without knowing how to boot the system
from a rescue media to fix a broken configuration!
The following options are available:
---input|-i
-input-grub-defaults-file
- Set name of input GRUB file (default: /etc/default/grub).
---output|-o
-output-grub-defaults-file
- Set name of output GRUB file to write.
---video|-V
-GRUB_GFXMODE
- Replace GRUB_GFXMODE by the provided setting.
---tune|-T
-GRUB_INIT_TUNE
- Replace GRUB_INIT_TUNE by the provided setting.
- configure-grub /usr/share/configure-grub/grub-defaults-standard -V
'auto,1920x1080,1024x768' -T '20000 584 144 736 48 1048 288 984 96 784 63 0
1 656 64 880 63 0 1 1176 192'
-
- sudo configure-grub /usr/share/configure-grub/grub-defaults-nornet -V
'auto,1024x768' -o /etc/default/grub
-
- sudo configure-grub /usr/share/configure-grub/grub-defaults-nornet -i
/etc/default/grub -V 'auto,1920x1080,1024x768' -T '20000 584 144 736 48 1048
288 984 96 784 63 0 1 656 64 880 63 0 1 1176 192' -o /etc/default/grub
-