Grub2 - 社区 Ubuntu 文档说明如下:
如果 /etc/default/grub 中设置了 DEFAULT=saved,则可以通过运行 sudo grub-set-default 来保存操作系统。如果还在 /etc/default/grub 中设置了 GRUB_SAVEDEFAULT=true,也可以保存它。在这种情况下,在从 GRUB 2 菜单手动选择新操作系统或执行 grub-set-default 命令之前,默认操作系统将保持不变。
我将行DEFAULT=savedANDGRUB_SAVEDEFAULT=true放入/etc/default/grub,然后运行sudo grub-set-default. 这是输出:
$ sudo grub-set-default
entry not specified.
Usage: grub-set-default [OPTION] entry
Set the default boot entry for GRUB.
-h, --help print this message and exit
-v, --version print the version information and exit
--boot-directory=DIR expect GRUB images under the directory DIR/grub
instead of the /boot/grub directory
ENTRY is a …Run Code Online (Sandbox Code Playgroud) 在 Ubuntu 12.04 中,当我按alt+ 时tab,会出现以下菜单:
(TODO: take screenshot of alt-tab menu)
Run Code Online (Sandbox Code Playgroud)
但是,当我打开 alt-tab 菜单时,当我按下Print Screen,因此Alt+ 时Print Screen,它会截取活动窗口的屏幕截图。