如何用 Windows 10 引导加载程序替换 GRUB?

may*_*ani 9 grub2

我的机器安装了 Windows 10 Pro 和 Ubuntu 15.10。当我在 Windows 之后安装 Ubuntu 时,GRUB 2 是默认的引导加载程序。对不起,Ubuntu 粉丝,但 GRUB 是“纯粹的丑陋”。

我尝试过 BURG,但它也不是很好。我想知道是否有任何方法可以用 Windows 引导加载程序替换 BURG(注意:我希望能够从 Windows 引导加载程序引导到 Ubuntu)。

附加信息:我的电脑是旧机器,它不使用 UEFI,只是经典的 MBR。

cl-*_*box 10

重要的预先信息:这对于具有Legacy BIOS 的旧机器有效,并解决了问题的此信息 -> 我的 PC 是旧机器,它不使用 UEFI,只是经典的 MBR。

启动 Ubuntu 系统...打开终端并执行:

sudo mount /dev/sdYY /mnt
sudo dd if=/dev/sdXX of=/mnt/linux.bin bs=512 count=1  
Run Code Online (Sandbox Code Playgroud)

注意:XX = Ubuntu 分区 | YY = Windows 10 分区
要识别磁盘和分区,您可以使用GParted

从 Windows 10 DVD 或 USB 安装介质启动。
在“立即安装”屏幕上,选择修复您的计算机。
选择命令提示符选项,然后执行:

bootrec.exe /fixmbr
bootrec.exe /fixboot  
bootrec.exe /rebuildbcd  
Run Code Online (Sandbox Code Playgroud)

关闭并引导至 Windows 操作系统。以管理员身份
打开命令提示符并执行:

bcdedit /create /d Ubuntu /application bootsector  
bcdedit /set {***} device partition=c:  
bcdedit /set {***} path \linux.bin  
Run Code Online (Sandbox Code Playgroud)

注意:*** = BCD 存储中新条目的标识符
现在您在 Windows 的启动菜单中有一个 Ubuntu 条目。

  • 我只是尝试这样做,在第一个命令中收到来自 dd 的错误:`dd:无法识别的操作数 'linux.bin'`。有什么建议? (2认同)