标签: grub2

如何删除旧内核版本以清理启动菜单?

每次我安装一个新的 Linux 内核时,它都会留在 grub_config 中,每次都会使引导菜单变长。

我知道我可以手动搜索已安装的软件包并删除它们。

Ubuntu 是否提供了更简单的方法来清理它们或防止它们显示在引导列表中?

cleanup grub2 kernel

735
推荐指数
17
解决办法
115万
查看次数

如何修复grub?(安装 Windows 后如何取回 Ubuntu?)

我安装了 Windows 7,它吃了 Ubuntu 的启动文件。启动计算机时,它现在直接进入 Windows,而没有给我启动 Ubuntu 的选项。

我怎样才能找回 Ubuntu?

grub2 dual-boot windows boot-repair

392
推荐指数
10
解决办法
89万
查看次数

如何更改 GRUB 引导顺序?

我在共享机器上安装了 Windows 7 和 Ubuntu。因为很多非开发人员都使用 Windows,所以我想更改引导顺序,让他们更容易使用。

目前,引导顺序如下所示:

  • Ubuntu 11.10 内核通用 *86
  • Ubuntu 11.10 内核通用 *86(安全启动)
  • 记忆测试
  • 记忆测试
  • Windows 7 上 /dev/sda6

如何更改默认顺序以使 Windows 7 位于列表顶部?

  • Windows 7 上 /dev/sda6
  • Ubuntu 11.10 内核通用 *86
  • Ubuntu 11.10 内核通用 *86(安全启动)
  • 记忆测试
  • 记忆测试

boot grub2

388
推荐指数
4
解决办法
159万
查看次数

如何在启动时进入 GRUB 菜单?

我的系统不是双启动的,我在“金属上”运行标准的 Ubuntu 桌面系统(我认为在 VM 中运行它是一样的)。

c启动时按下不会导致 GRUB 菜单出现(我相信它适用于双启动系统)。

如何让 GRUB 菜单在引导系统上显示?

boot grub2 menu

361
推荐指数
7
解决办法
104万
查看次数

如何在引导加载程序中将 Windows 设置为默认引导?

如何设置引导加载程序,以便在 Windows 7/Ubuntu 11.04 的双引导中,Windows 作为标准启动而不是 Ubuntu?

grub2

265
推荐指数
8
解决办法
79万
查看次数

如何设置 grub 超时和 grub 默认启动项?

在 Ubuntu 12.04(或更高版本)中,如何设置 GRUB 时间和默认操作系统(我在启动时看到的),因为我是双启动 Windows(7/8)和 Ubuntu(12.04 或更高版本)?

boot grub2 dual-boot

229
推荐指数
6
解决办法
77万
查看次数

如何添加内核启动参数?

我需要将引导参数添加foo=bar到我的内核中。如果测试成功,我如何才能一次完成测试,并永久执行此操作?

grub2 kernel

200
推荐指数
3
解决办法
52万
查看次数

卸载 GRUB 并使用 Windows 引导加载程序

我预装了 Windows 8,然后我用 Ubuntu 安装了 GRUB。Ubuntu 不是我的菜,所以现在我想将它与 GRUB 一起删除。据我所知,使用 UEFI,GRUB 不会覆盖 EFI 分区中的 Windows 引导加载程序,而是存储在其他地方。我将如何删除 GRUB 并让我的 PC 使用 Windows 引导加载程序?需要注意的是,我在安装 Ubuntu 时创建了一个单独的 /boot 分区。

boot grub2 dual-boot windows bootloader

180
推荐指数
8
解决办法
100万
查看次数

如何重新运行引导加载程序?

跑步sudo apt-get -f installThe link /vmlinuz.old is a damaged link和:

you may need to re-run your boot loader[grub]
Run Code Online (Sandbox Code Playgroud)

这是完整的输出:

user@chrubuntu:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic
  linux-image-3.13.0-32-generic linux-image-extra-3.13.0-32-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
user@chrubuntu:~$ sudo apt-get autoremove
Reading package lists... Done …
Run Code Online (Sandbox Code Playgroud)

apt boot grub2 kernel bootloader

154
推荐指数
3
解决办法
16万
查看次数

如何让 grub2 记住最后的选择?

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)

grub2 dual-boot

133
推荐指数
3
解决办法
18万
查看次数

标签 统计

grub2 ×10

boot ×5

dual-boot ×4

kernel ×3

bootloader ×2

windows ×2

apt ×1

boot-repair ×1

cleanup ×1

menu ×1