安装 Ubuntu 12.10 后没有 Grub 并且无法启动 Windows 8

安装 Ubuntu 12.10 后没有 Grub 并且无法启动 Windows 8

首先,我在台式电脑上安装了 Windows 8。(不是预装的……我自己安装的)。然后我以 UEFI 模式启动了 Ubuntu DVD(对 Windows 8 也做了同样的操作)并安装了 Ubuntu 12.10 64 位。一切顺利。重启后,没有 grub!系统直接带我进入 Ubuntu!我无法登录 Windows 8。请帮忙!之前,我使用了 Boot Repair,但它弄乱了我的 Windows EFI 文件。所以即使删除了 Ubuntu,我也无法启动 Windows。我无法使用启动修复。现在这是一个全新的安装,请告诉我如何启动 Windows 8 和 Ubuntu!

这是我的 /etc/defaults/grub:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

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=""

# 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"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=1024×768
#GRUB_GFXPAYLOAD_LINUX=1024×768

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

答案1

运行 Boot-Repair --> Advanced Options--> 勾选Restore EFI backups--> Apply,并指示将出现的新 URL。重新启动,您应该可以重新访问 Windows。

答案2

我最近在 PC 的额外硬盘上安装了 Windows 8 Pro。我的系统主要运行 Ubuntu,并通过 GRUB 启动,安装后似乎找不到新操作系统。因此,我搜索并阅读了所有这些解决方案,包括手动重新配置 GRUB 系统文件、卸载并重新安装 Windows 等。所有这些都是糟糕的解决方案。最好的解决方案非常简单。您所要做的就是从 Linux 发行版中的终端窗口运行此 GRUB 更新命令:

$ sudo update-grub

它会搜索您的硬盘以查找新内核和操作系统。问题已解决。尽情享受吧!

相关内容