![双启动 Ubuntu+Windows 8:Ubuntu 不会显示](https://linux22.com/image/858633/%E5%8F%8C%E5%90%AF%E5%8A%A8%20Ubuntu%2BWindows%208%EF%BC%9AUbuntu%20%E4%B8%8D%E4%BC%9A%E6%98%BE%E7%A4%BA%20.png)
是的,这个网站上有很多与这个问题相关的帖子,尤其是Ubuntu 和 Windows 8 双启动菜单不显示和使用 UEFI 安装 Ubuntu 和预装的 Windows。但我还是没法解决这个问题。
我在 Windows 8.1 中禁用了快速启动和安全启动,并从 Live 磁盘安装了 Xubuntu Trusty,但没有任何 GRUB 菜单。奇怪的是,在 BIOS 中,“启动设备优先级”只有两个选项:“Windows 启动管理器”和“已禁用”。我认为应该启用“已禁用”功能,但不幸的是我不知道它到底是什么!
我从实时磁盘运行了两次 Boot Repair,但没有任何效果。这台机器是三星 ATIV 9。我知道这个问题更多的是关于特定机器的 BIOS 和 Win 8,但我需要答案才能使用 Ubuntu。
以下是 Boot Repair 输出的下部:
/boot/efi detected in the fstab of sda8: UUID=1C3F-D310 (sda2)
*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09)
Subsystem: Samsung Electronics Co Ltd Device [144d:c109]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09)
*******
grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ... not found. Looking for /proc/device-tree ...
grub-install: info: ... not found.
grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
,.
GRUB too old for SecureBoot. Please report this message to [email protected]
chroot /mnt/boot-sav/sda8 efibootmgr -v
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
chroot /mnt/boot-sav/sda8 uname -r
Kernel: 3.13.0-24-generic
Reinstall the grub-efi of sda8
grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
grub-install : exit code of grub-install :1
Error: no grub*.efi generated. Please report this message to [email protected]
Add /mnt/boot-sav/sda8/boot/efi efi entries in /mnt/boot-sav/sda8/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda8/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Adding custom /mnt/boot-sav/sda8/boot/efi/EFI/Boot/bootx64.efi
sda2/bootx64.efi already added
sda2/bootmgfw.efi already added
Add /mnt/boot-sav/sda6 efi entries in /mnt/boot-sav/sda8/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda6/EFI/Asclepius/bootx64.efi
---- Grub-install verbose
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: cannot create nŵ?ŵ????T?T?@T?@DD?Påtd?ŒÒ?ŒÒLŒÒLl9l9?Qåtd??Råtd?ŵ=?ŵ=nŵ=n?????/lib64/ld-linux-x86-64.so.2???GNU??????GNUm: Directory nonexistent
+ ELF???? @????@@@@@ø?ø????8?8?@8?@?????@@d:?d:? ??ŵ=?ŵ=nŵ=nž{ ? ???
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: ELF????: not found
/usr/sbin/grub-install: 2: /usr/sbin/grub-install: Syntax error: ")" unexpected
--------
/usr/sbin/grub-install : exit code of grub-install :2
---- End of grub-install verbose
chroot /mnt/boot-sav/sda8 efibootmgr -v
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
chroot /mnt/boot-sav/sda8 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found Windows 8 (loader) on /dev/sda2
Unhide GRUB boot menu in sda8/boot/grub/grub.cfg
An error occurred during the repair.
You can now reboot your computer.
You may want to retry after deactivating the [Backup and rename Windows EFI files] option.
The boot of your PC is in Legacy mode. You may want to retry after changing it to EFI mode.
答案1
我跟着本指南。关键是我必须在禁用安全启动后选择启动选项 UEFI,然后安装 Ubuntu。之前我已将其设置为 CMS。