Как заставить GRUB грузиться без тайм-аута

Posted on 07/17/2013 by   |   Filed under templates, internet    Comments 11

В моем случае проблема заключалась в том, что моя система не поддерживала «recordfail», что привело к добавлению отдельного блока в grub.cfg, по умолчанию установлен тайм-аут 30 секунд. Соответствующий код в /etc/grub.d/00_header:

if [ "$recordfail_broken" = 1 ]; then
  cat << EOF
if lsefi; then
  set timeout=${GRUB_RECORDFAIL_TIMEOUT:-30}
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
  fi
fi
EOF

Исправление состоит в том, чтобы просто добавить значение для GRUB_RECORDFAIL_TIMEOUT в /etc/default/grub и запустить update-grub снова. Например:

GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""

# Adjusted timeout for system which doesn't support recordfail
GRUB_RECORDFAIL_TIMEOUT=1

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

 

Источник: askubuntu.com

Image Gallery

Services Overview

Curabitur sed urna id nunc pulvinar semper. Nunc sit amet tortor sit amet lacus sagittis posuere cursus vitae nunc.Etiam venenatis, turpis at eleifend porta, nisl nulla bibendum justo.

Contact Us

Nullam quam lorem, tristique non vestibulum nec, consectetur in risus. Aliquam a quam vel leo gravida gravida eu porttitor dui.

Address: 1458 TemplateAccess, USA
Telephone: +123-1234-5678
FAX: +458-4578
Others: +301 - 0125 - 01258
E-mail: mail@yoursitename.com