Todou

Stay Learning

Personal Blog


ubuntu & win10 双系统删除 uefi

之前装了Ubuntu和windows双系统,后面不想用ubuntu了,网上大部分的卸载方法都是mbr的,但是我的是uefi,所以不适用。 自己网上查资料查了半天,后面才找到一个解决的办法。

需要的东西:

  • U盘,容量大于等于8G
  • easyuefi
  • Windows 10 原版镜像

首先用easyuefi等软件,把多的系统启动项删除掉,比如删除掉ubuntu。

然后用制作windows 10的U盘启动盘。 用windows自带的磁盘管理把ubuntu的分区都给删除掉。

如果就这样做,一般情况是可以奏效了,但是ubuntu在双系统安装时,似乎把windows boot manager给重写到grub64.efi了,所以单纯的使用easyuefi,还是会无法停用grub引导。
每次开机都是grub引导就会很尴尬,无法开机到windows,所以我们就需要重写做windows引导。

这里就需要使用windows的原版镜像,重启后用U盘启动,然后在安装界面时选择修复计算机
,选择高级选项后命令行模式,输入以下指令:

bcdboot C:\Windows (如果C盘是系统盘的话)

这样windows就会自动重写,然后重启你就会看见熟悉的windows启动了

Newer Post

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in …

继续阅读
Older Post

Some useful Command

apt list –installedList the package that you have installed dpkg -iInstall the pkg that you want bash-aliasThe bash alias can save your time and life. …

bash 继续阅读