我使用的是 Ubuntu 12.04,每次启动时都会出现 grub 选择。这发生在我的两台电脑上。
我尝试编辑 /etc/defaults/grub 以使用默认值,使用 0 条目,并在其上运行更新。但似乎没有什么能解决问题。
(显示未注释的行)
$ sudo nano /etc/default/grub
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-25-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-25-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-24-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-24-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
No volume groups found
done
Run Code Online (Sandbox Code Playgroud)