作者:chen人气:0来源:网吧系统下载站2014-04-14 09:30:27
在Win7上安装Linux双系统后,一般都是用的grub启动管理器,想安全的卸载还真是有些难度,下面是我实践过的方法。
网上好多说一条命令:bootrec /fixmbr就搞定的,反正在我这个华硕笔记本上始终没有成功。
1. 下载MbrFix.exe
首先进入Windows 操作系统,进入www.sysint.no 网站下载MbrFix.exe,从上往下数第三个软件即是;
下载完成后解压zip压缩包,将MbrFix.exe 剪切到C盘(系统盘);
(如果是64位的系统,请用MbrFix64.exe)
开始–>运行–>cmd–cd 命令进入C盘符–>运行命令:
(如果是Win7系统,运行命令: MbrFix64 /drive 0 fixmbr /win7 /yes –>Enter回车)
这样MBR修复就完成了,没有任何提示(没有消息就是最好的消息)。接下来直接删除linux分区就可以了。
*************************************************************************************************************
好了,如果以上方法不行,先要有个安装的DVD光盘,从光盘启动,然后点击语言选择–>修复系统,这时候如果出现了win7的系统,那么上面的那条命令方法可能有效,不过为了保险起见,用全套命令行最爽,上面选择修复系统后,应该有个命令提示符的选项,点击后可以进入DOS命令行,开始狂敲命令。(下面的//代表注释,不要敲)
So to begin with, you’re going to need a recovery disc (Windows 7/Vista/XP installation disc and boot into setup. I dont think it matters which one as long as you can get to the command prompt).
Once in, navigate and find the Repair option, and then choose Command Prompt.
We’ll first make the partition ACTIVE by using DISKPART:
1. Enter in command prompt:
DISKPART
2. List all disks
LIST disk
3. Select which disk to use
SELECT disk # // where # is 0 through n depending on what drive you want
4. List the partitions on the disk
LIST partition
5. Select which partition to use
SELECT partition #
6. Make the partition ACTIVE
ACTIVE
7. Exit out of DISKPART
EXIT
Now we move on to the main part.
1. Delete original bcd file (it’s probably not there if you’re getting this error but go ahead and do it anyways)
del C:bootbcd
2. Recreate the boot directory
md C:boot
3. Create a new temporary bcd file
bcdedit /createstore C:bootbcd.temp
4. Add an entry
bcdedit /store C:bootbcd.temp /create {bootmgr} /d “Windows Boot Manager”
5. Import the bcd file
bcdedit /import C:bootbcd.temp
6. These commands set the temp file in place…
bcdedit /set {bootmgr} device partition=C:
bcdedit /timeout 10
7. Delete the temp file
del C:bootbcd.temp
8. Add an entry
bcdedit /create /d “Windows 7″ /application osloader // in case of Win7
9. Something like this should come up:
The entry {c0dfc4fa-cb21-11dc-81bf-005056c00008} was successfully created.
Where {c0dfc4fa-cb21-11dc-81bf-005056c00008} would be the GUID that was created in your command prompt. Do not use this specific value!
Note: Use the copy/paste feature of command prompt to make your lives easier.
Right click the command prompt and select “Mark” and then highlight the text you want using left click, and then right click on the highlighted section. It should now be copied to the clipboard. To paste, right click next to the text cursor and it should paste, or else just right click the prompt and choose paste.
10. The next list of commands sets things in place (i think lol)
bcdedit /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} device partition=C:
bcdedit /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} osdevice partition=C:
bcdedit /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} path Windowssystem32winload.exe
bcdedit /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} systemroot Windows
11. Tell windows to boot the new entry by default
bcdedit /displayorder {c0dfc4fa-cb21-11dc-81bf-005056c00008}
12. Exit and reboot. You’re not done! You’ll notice if you boot up again you get “Bootmgr is missing.” You need to go back to the recovery disc and go into repair mode. Allow the disc to automatically repair the boot problems, and then reboot.
It should be fixed!
Source:
…I don’t have a post count greater than 5 so I can’t post the link…but I do have the link if you need it.
继续阅读:win7