6
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ubuntu16.4でGRUBのメニュー待機時間を変更する

Last updated at Posted at 2017-03-24

GRUBのメニュー待機時間を30秒から5秒に変更する。

  • 具体的には、下にある30秒を5秒に変更する
/boot/grub/grub.cfg
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else

"sudo vim /etc/default/grub"
を実行して、ファイルに以下を追加し、保存する。
GRUB_TIMEOUTが既にある場合は値を書き換える。

GRUB_TIMEOUT=5
GRUB_RECORDFAIL_TIMEOUT=5
  • grubを更新する。
sudo update-grub
  • ファイルを確認する。
/boot/grub/grub.cfg
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=5
else

変更されました。

6
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?