Click

Setting GRUB2

Настройка GRUB2

Setting GRUB2

As I mentioned in my entry about upgrading Ubuntu :

In the config GRUB2 no sensible description of the settings (the default boot options list does not show it), found on the forums.

Using found description of the settings GRUB2 (In English). A little set up your boot loader. Published as a reminder, but it may be useful to whom.

Different eye candy in the form of pictures, wallpaper selection menu of boot options I was not very interesting (though out of curiosity, I think to try), dig deep (execution of scripts at boot time, and so forth wisdom) also did not take long, so I wanted for myself in primarily to do two things:

  • display a list of boot options (the default is not displayed if the machine is running one operating system and is excreted in the opposite case);
  • set the boot options menu select the appropriate resolution

Setting GRUB2 is done by editing the file / etc / default / grub, followed by issuing the command update-grub as root. The file itself is as follows:

 # If you change this file, run 'update-grub' afterwards to update
 # / Boot / grub / grub.cfg.

 GRUB_DEFAULT = 0
 GRUB_HIDDEN_TIMEOUT = 0
 GRUB_HIDDEN_TIMEOUT_QUIET = true
 GRUB_TIMEOUT = "3"
 GRUB_DISTRIBUTOR = `lsb_release-i-s 2> / dev / null | | echo Debian`
 GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash"
 GRUB_CMDLINE_LINUX = ""

 # Uncomment to disable graphical terminal (grub-pc only)
 # GRUB_TERMINAL = console

 # The resolution used on graphical terminal
 # Note that you can use only modes which your graphic card supports via VBE
 # You can see them in real GRUB with the command `vbeinfo '
 # GRUB_GFXMODE = 640x480

 # Uncomment if you don't want GRUB to pass "root = UUID = xxx" parameter to Linux
 # GRUB_DISABLE_LINUX_UUID = true

 # Uncomment to disable generation of recovery mode menu entrys

As you can see if the setting is not difficult to understand permission, here's a description of the other settings does not shine fully.
Of leadership, it became clear that the map corresponds to the boot menu option GRUB_HIDDEN_TIMEOUT = 0, so that the menu displayed, it must be commented out.

The show the boot menu (in seconds) before booting the default options set in GRUB_TIMEOUT = "3".

Permit as easy to guess, put up with GRUB_GFXMODE = 640 × 480, which must be uncommented and specify the desired resolution (eg 1024x768).

Well loaded by default in record indicated GRUB_DEFAULT = 0, where 0 - the first of these in / boot / grub / grub.cfg options, 1 - second, etc.

For further details refer the interested to the already mentioned Customization Guide GRUB2 and I wish you all good luck! :)

PS And this is if you want your menu may look like boot:

Что может GRUB2

What can GRUB2

More on similar topics:

Category Filed under: Linux , News | Tag Tags: , , , , | Comments 2 comments

Comments

2 comments to "Setting GRUB2"

  1. vavan writes:

    "What would Cthulhu do not resurrected - Subscribe to RSS!" Cool

Leave a Reply