![从 ubuntu 恢复 Windows 8 启动](https://linux22.com/image/1056709/%E4%BB%8E%20ubuntu%20%E6%81%A2%E5%A4%8D%20Windows%208%20%E5%90%AF%E5%8A%A8.png)
由于我没有 Windows 8 的恢复 CD,因此我尝试从 ubuntu 恢复 Windows 8 启动。
我找到了这个指南: http://robert.penz.name/221/mini-howto-restore-windows-mbrbootloader-with-linux/
但我真的不确定应该在哪个驱动器上安装启动。这是我从sudo fdisk -l
...
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 32F9688F-8F84-46A9-93D9-188BF073AA26
Device Start End Sectors Size Type
/dev/sda1 34 262177 262144 128M Microsoft reserved
/dev/sda2 264192 878591 614400 300M Windows recovery environment
/dev/sda3 878592 1083391 204800 100M EFI System
/dev/sda4 1083392 457779199 456695808 217.8G Microsoft basic data
/dev/sda5 457779200 459732991 1953792 954M Linux swap
/dev/sda6 459732992 500117503 40384512 19.3G Linux filesystem
Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x93560dfd
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 488394751 488392704 232.9G 83 Linux
基于上述情况,我认为我应该这样做:
/dev/sda4 1083392 457779199 456695808 217.8G Microsoft basic data
这意味着我将运行这个命令:
sudo install-mbr -i n -p D -t 0 /dev/sda4
那是对的吗?
答案1
您有一个 EFI 启动,我认为 mbr 对您不起作用。
您可以从 GRUB 中选择 Win8 启动选项吗?如果不能,请尝试使用它Grub Customizer
来修复任何启动问题。安装它
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
(或来自Ubuntu Software
)
首次运行,您可以看到 win8 启动项,按保存并重新启动您的机器。在 GRUB 菜单中选择 Windows 启动选项,按住SHIFT
键,然后按 ENTER,您将进入恢复模式,然后您可以选择修复 Windows 的启动问题。