Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
configure-grub(1)	    General Commands Manual	     configure-grub(1)

NAME
       configure-grub -- NorNet	configure-grub

SYNOPSIS
       configure-grub  grub-defaults-template-file  [-i	 input-grub-defaults--
		      file | --input  input-grub-defaults-file]	 [-o  output--
		      grub-defaults-file | --output output-grub-defaults-file]
		      [-V     GRUB_GFXMODE     |     --video	 GRUB_GFXMODE]
		      [-T GRUB_INIT_TUNE | --tune GRUB_INIT_TUNE]

DESCRIPTION
       configure-grub adjusts a	GRUB configuration file	by applying a configu-
       ration from a template, and merging the	existing  configurations  set-
       tings 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  mod-
       ify a working GRUB configuration	without	knowing	how to boot the	system
       from a rescue media to fix a broken configuration!

ARGUMENTS
       The following options are available:

       -i input-grub-defaults-file | --input input-grub-defaults-file
	       Set name	of input GRUB file (default: /etc/default/grub).

       -o output-grub-defaults-file | --output output-grub-defaults-file
	       Set name	of output GRUB file to write.

       -V GRUB_GFXMODE | --video GRUB_GFXMODE
	       Replace GRUB_GFXMODE by the provided setting.

       -T GRUB_INIT_TUNE | --tune GRUB_INIT_TUNE
	       Replace GRUB_INIT_TUNE by the provided setting.

EXAMPLES
       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

configure-grub			 May 11, 2025		     configure-grub(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=configure-grub&sektion=1&manpath=FreeBSD+Ports+15.0>

home | help