Merge pull request #1634 from alim0x/master

[translated]20140915 How To Uninstall Ubuntu Linux From Windows 8 Dual Boot.md
This commit is contained in:
Xingyu.Wang 2014-09-17 11:31:32 +08:00
commit ac52426e4b
2 changed files with 127 additions and 127 deletions

View File

@ -1,127 +0,0 @@
alim0x translating
How To Uninstall Ubuntu Linux From Windows 8 Dual Boot
================================================================================
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Guide_Uninstall_Ubuntu_Windows_dual_Boot.jpeg)
I have covered [how to install Ubuntu in dual boot with Windows 8][1]注此篇文章原文做过原文文件名为Guide To Install Ubuntu 14.04 In Dual Boot Mode With Windows 8 Or 8.1 UEFI.md如果翻译发布了可以修改此链接。 several times in the past. But what about **uninstalling Ubuntu from Windows dual boot**? Tutorial which we are going to follow here applies on any Linux OS be it Ubuntu, Linux Mint, Elementary OS or any other Linux distribution.
If you think [installing Ubuntu with Windows 8 in dual boot][2] was a tough task and it will be very easy to remove Ubuntu from Windows dual boot, you are not completely wrong. Uninstalling Linux from Windows dual boot is a piece of cake if you have a Windows installation disk.
This tutorial teaches you how to remove Linux completely from Windows 8 or Windows 8.1 dual boot with a **Windows 8/8.1 installation disk**.
### Uninstall Ubuntu safely from Windows 8 dual boot mode ###
It doesnt matter if you have Windows 8 installation disk and Windows 8.1 installed on your system. It will work all the same. I cannot say the same of Windows 7 though. If you have your Windows disk with you, lets start the process to remove Ubuntu Linux from Windows dual boot.
Deleting Linux from dual boot is done in two parts. First is to delete the partition(s) on which Linux was installed. Second part is to fix Windows boot loader as just deleting the Linux partition will result in [Grub rescue error][3].
#### Part 1: Deleting Linux partition in Windows ####
**Step 1:**
Log in to Windows. Press **Windows+R** and run diskmgmt.msc command in it. It will open the Windows disk management tool.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Disk_Mgmt.jpg)
**Step 2:**
Since you had installed Linux, it will be easy for you to recognize the Linux partition by its size. Another hint to recognize the Linux partition is to look at the partitions which doesnt have a file system and drive number. Windows partition are labeled with a drive number such as C, D, E etc and are usually in NTFS or FAT file system.
As you can see, I have three Linux partitions here as I had created root, swap and home separately while installing Ubuntu.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_From_WIndows_Dual_Boot.jpg)
**Step 3:**
Select the Linux partition(s), right click on it and opt for **Delete Volume** option.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_From_WIndows_Dual_Boot_1.jpg)
It will throw you a warning, just select Yes here.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_From_WIndows_Dual_Boot_2.jpg)
**Step 4:**
The deleted partition(s) will be available as a chunk of free space. You can either extend the existing volume or create a new Windows partition out of it. I would suggest to create a new drive (or volume or partition, whatever you call it) as a new drive would be easier in case you decide to dual boot Linux with Windows again.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_From_WIndows_Dual_Boot_3.jpg)
#### Part 2: Fixing Windows boot loader ####
Once you have deleted the Linux partition, its time to fix the Windows boot loader. Pictures here are might not be that clear as it is easier to [take screenshot of login screen in Ubuntu][4] than in Windows. I took them with phone camera.
**Step 1:**
**Put the Windows 8 installation disk and restart** your computer. Press F10 or F12 at the boot time to go into BIOS/UEFI and choose to **boot from removable disk**.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_1.jpg)
**Step 2:**
Choose to repair your computer:
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_3.jpg)
**Step 3:**
Go for Troubleshoot option here:
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_2.jpg)
**Step 4:**
In troubleshoot page, choose for Advanced options:
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_4.jpg)
**Step 5:**
Look for command prompt option in here:
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_6.jpg)
**Step 6:**
In the command line, type the following command to fix the Windows boot loader:
bootrec.exe /fixmbr
Normally, it works instantly. You dont even have to wait for it.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_5.jpg)
**Step 7:**
Once its done, restart your computer and this time boot normally from hard disk. You should be able to boot in to Windows. In case you still see Grub rescue error, try the steps below.
**Step 8: If trick in step 6 did not work**
If the command in step 6 did not work, try the automatic repair option in advanced troubleshoot option.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_8.jpg)
It will take some time to find the issue and then repair it.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_7.jpg)
Now if you reboot, you should go in Windows normally and you should not see any Grub rescue error thingy.
I hope this guide helped you to **completely remove Ubuntu from Windows 8 dual boot**. Feel free to ask any questions or put up a suggestion.
--------------------------------------------------------------------------------
via: http://itsfoss.com/uninstall-ubuntu-linux-windows-dual-boot/
作者:[Abhishek][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://itsfoss.com/author/Abhishek/
[1]:http://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/
[2]:http://itsfoss.com/install-ubuntu-dual-boot-mode-windows/
[3]:http://itsfoss.com/solve-error-partition-grub-rescue-ubuntu-linux/
[4]:http://itsfoss.com/screenshot-login-screen-ubuntu-linux/

View File

@ -0,0 +1,127 @@
从Windows双启动中卸载Ubuntu Linux
================================================================================
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Guide_Uninstall_Ubuntu_Windows_dual_Boot.jpeg)
我在过去已经多次涉及过了[在UEFI模式下安装Ubuntu 14.04与Windows 8/8.1双启动][1]的话题。 但是要怎么从**Windows双启动中卸载Ubuntu呢**下面我们将看到的教程适用于任意的Linux操作系统如UbuntuLinux MintElementary OS或其它任意Linux发行版。
如果你认为[在双启动模式下安装Ubuntu与Windows 8共存][2]是件难事而从Windows双启动中移除Ubuntu将是很简单的的话你的想法并不是完全错误的。如果你有个Windows安装介质的话从Windows双启动中卸载Linux将是轻而易举的。
这个教程将教你如何在有**Windows 8/8.1安装介质**的情况下将Linux从Windows 8或Windows 8.1双启动中完全移除。
### 将Ubuntu从Windows 8双启动中安全卸载 ###
你有没有Windows 8安装介质以及是否有Windows 8.1安装在你系统上这都不重要。它同样工作得很好。但是我不能说在Windows 7上也一样。如果你身边有你的Windows安装盘让我们开始从Windows双启动中移除Ubuntu的进程吧。
从双启动中删除Linux分为两部分。第一部分是删除Linux安装的所在分区。第二部分是修复Windows启动引导因为简单地将Linux分区删除会引起[“Grub rescue”错误][3]。
### 第一部分在Windows下删除Linux分区 ###
**第一步:**
登录Windows。按下 **Windows+R** 然后在其中运行 diskmgmt.msc 命令。它将会打开Windows磁盘管理工具。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Disk_Mgmt.jpg)
**第二步:**
在你安装了Linux之后就能很容易地从大小上分辨出Linux分区。另一个分辨Linux分区的提示是找没有文件系统以及驱动器卷标的分区。Windows分区通常用卷标进行标记比如CDE等等而且通常是NTFS或FAT文件系统。
就像你所能看到的我在这里有三个Linux分区因为我在安装Ubuntu时单独地创建了根分区(root),交换分区(swap)和家目录(home)。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_From_WIndows_Dual_Boot.jpg)
**Step 3:**
**第三步:**
选择Linux分区右键点击并选择 **删除卷** 选项。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_From_WIndows_Dual_Boot_1.jpg)
如果出现了警告,在这里选择是即可。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_From_WIndows_Dual_Boot_2.jpg)
**Step 4:**
**第四步:**
被删除的分区会变成一块可用的空闲空间。你可以用它来扩展已有的卷或创建一个新的Windows分区。我会建议你创建一个新的驱动器或是卷或者分区随便你怎么叫因为这样子万一你将来又想将Linux和Winodws双启动时会简单一点。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_From_WIndows_Dual_Boot_3.jpg)
#### 第二部分修复Windows启动引导 ####
一旦你删除了Linux分区就是时候修复Windows启动引导了。这里的图片看起来可能不是很清楚因为相对于Windows来说[在Ubuntu下对登录画面进行截图][4]要简单的多。我用手机拍下了这些照片。
**第一步:**
**插入Windows 8安装介质并重启**你的电脑。在启动的时候按下F10或F12进入BIOS/UEFI选择**从可移除介质启动(boot from removable disk)**。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_1.jpg)
**第二步:**
选择修复你的计算机(repair your computer)
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_3.jpg)
**第三步:**
在这里选择疑难解答(Troubleshoot)
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_2.jpg)
**第四步:**
在疑难解答页面,选择高级选项(Advanced options)
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_4.jpg)
**第五步:**
找到这里的命令提示符(command prompt)
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_6.jpg)
**第六步:**
在命令行中输入下列命令来修复Windows启动引导
bootrec.exe /fixmbr
正常情况下,它是立即生效的。你甚至都不用等。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_5.jpg)
**第七步:**
一旦完成了这一步重启你的电脑这次从硬盘正常启动。你应该能够启动进入Windows。如果你仍然看到Grub rescue错误试试下面的步骤。
**第八步:如果第六步中的方法不起作用**
如果第六步中的命令不起作用,试试高级疑难解答中的自动修复选项。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_8.jpg)
它会花点时间查找问题然后修复它。
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/09/Uninstall_Linux_Windows_Dualboot_7.jpg)
现在如果你重启的话你应该能够正常进入Windows不再看到任何的Grub rescue错误提示。
我希望这个指南能够帮助你**将Ubuntu从Windows 8双启动中完全移除**。欢迎提出任何问题与建议。
--------------------------------------------------------------------------------
via: http://itsfoss.com/uninstall-ubuntu-linux-windows-dual-boot/
作者:[Abhishek][a]
译者:[alim0x](https://github.com/alim0x)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://itsfoss.com/author/Abhishek/
[1]:http://linux.cn/article-3178-1.html
[2]:http://itsfoss.com/install-ubuntu-dual-boot-mode-windows/
[3]:http://itsfoss.com/solve-error-partition-grub-rescue-ubuntu-linux/
[4]:http://itsfoss.com/screenshot-login-screen-ubuntu-linux/