Removing Linux from a dual-boot setup. How to recover Windows bootloader or keep GRUB?

alexvas

I recently discovered that running a Linux virtual machine is both cheap (RAM/CPU-wise) and easy; it seems like there's absolutely no need to have a dual-boot Windows/Linux machine (if this is not true - please tell me why!). That said, I would like to format my HDD's Linux partition and allocate that space to Windows. The only thing I'm worried about is the GRUB file, which (I assume) lives on the Linux partition, because I installed Linux second after Windows. Is it possible that by formatting the Linux partition I can damage the GRUB file and be unable to boot?

Details: Windows 7/Ubuntu 13.04 living on an SSD. When I turn on my computer the screen to choose an OS to boot to is the Ubuntu one (vivid purple color).

sshilovsky

Short answer is Yes, you'll damage your GRUB installation.

It doesn't matter where GRUB is located, on MBR (likely in your case) or on Linux partition, it needs /boot/grub directory to work which is (almost) always on your Linux partition. This is because the GRUB binary needs to be kept in a partition because it's too big for the MBR.

If you have separate /boot partition, you may keep it, and your GRUB will keep working, although if you select Ubuntu it won't boot.

Or you can boot from a Windows CD and "repair" the bootloader.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How to prevent GRUB from appearing after selecting Ubuntu from Windows' Dual Boot menu?

분류에서Dev

How can I prevent Windows from overwriting GRUB when using a dual-boot machine

분류에서Dev

How to partition hard disk for dual boot for Windows 7 and Ubuntu Linux

분류에서Dev

How to dual boot Windows 7 and Red Hat Enterprise Linux 7?

분류에서Dev

Ubuntu 및 Windows 10 Dual Boot Grub 문제

분류에서Dev

Dual-Boot Windows 10 and Ubuntu, GRUB 2 not booting

분류에서Dev

Dual-boot Windows and Ubuntu laptop stuck on Lenovo screen (no grub)

분류에서Dev

Dual boot installation Windows 10 / Linux Mint

분류에서Dev

Arch Linux - Moving to Dual Boot w/ Windows

분류에서Dev

grub-install : 오류 : EFI 디렉토리를 찾을 수 없습니다. (Grub Boot Loader Windows 10 / Kali Linux Dual Boot with Dual Hard Drive 재설치)

분류에서Dev

corrupted Arch Linux OS after accessing partition from Windows 7(dual boot)

분류에서Dev

How to remove "Ubuntu" from Boot Menu after deleting Ubuntu partition in Windows 10 (Dual Boot)

분류에서Dev

How to dual-boot Windows and Ubuntu?

분류에서Dev

Removing Ubuntu from Triple Boot Windows OS?

분류에서Dev

Preinstalled Windows 8 and Linux UEFI dual boot on a laptop

분류에서Dev

Windows 8 with UEFI dual boot kali linux 1.0.9

분류에서Dev

Arch Linux Dual Boot Windows 10 2 SSD?

분류에서Dev

How to disable hibernation and fastboot from windows so dual boot works in Ubuntu 14.04

분류에서Dev

Ubuntu 13.04 및 Windows 8 Dual Boot GRUB 옵션 / 문제

분류에서Dev

Dual-boot Ubuntu 12.10 on UEFI along Windows 8 (GRUB - error: can't find command drivemap)

분류에서Dev

Ubuntu 13.04 및 Windows 8 Dual Boot GRUB 옵션 / 문제

분류에서Dev

Dual boot - SSD + mSATA - GRUB partition placement

분류에서Dev

How to boot into Windows 7 when grub is installed in the Windows partition?

분류에서Dev

How to install BURG on Ubuntu 13.04 with Windows 8 dual boot?

분류에서Dev

How can I install Ubuntu and Windows 10 as dual boot?

분류에서Dev

How to boot from iso with Grub2/Burg boot loader

분류에서Dev

Dell laptop boot up failure after trying to install linux and windows to dual boot

분류에서Dev

Dual Boot Windows 10 with Ubuntu

분류에서Dev

How to get Windows-7 to boot (GRUB/EFI problem)

Related 관련 기사

  1. 1

    How to prevent GRUB from appearing after selecting Ubuntu from Windows' Dual Boot menu?

  2. 2

    How can I prevent Windows from overwriting GRUB when using a dual-boot machine

  3. 3

    How to partition hard disk for dual boot for Windows 7 and Ubuntu Linux

  4. 4

    How to dual boot Windows 7 and Red Hat Enterprise Linux 7?

  5. 5

    Ubuntu 및 Windows 10 Dual Boot Grub 문제

  6. 6

    Dual-Boot Windows 10 and Ubuntu, GRUB 2 not booting

  7. 7

    Dual-boot Windows and Ubuntu laptop stuck on Lenovo screen (no grub)

  8. 8

    Dual boot installation Windows 10 / Linux Mint

  9. 9

    Arch Linux - Moving to Dual Boot w/ Windows

  10. 10

    grub-install : 오류 : EFI 디렉토리를 찾을 수 없습니다. (Grub Boot Loader Windows 10 / Kali Linux Dual Boot with Dual Hard Drive 재설치)

  11. 11

    corrupted Arch Linux OS after accessing partition from Windows 7(dual boot)

  12. 12

    How to remove "Ubuntu" from Boot Menu after deleting Ubuntu partition in Windows 10 (Dual Boot)

  13. 13

    How to dual-boot Windows and Ubuntu?

  14. 14

    Removing Ubuntu from Triple Boot Windows OS?

  15. 15

    Preinstalled Windows 8 and Linux UEFI dual boot on a laptop

  16. 16

    Windows 8 with UEFI dual boot kali linux 1.0.9

  17. 17

    Arch Linux Dual Boot Windows 10 2 SSD?

  18. 18

    How to disable hibernation and fastboot from windows so dual boot works in Ubuntu 14.04

  19. 19

    Ubuntu 13.04 및 Windows 8 Dual Boot GRUB 옵션 / 문제

  20. 20

    Dual-boot Ubuntu 12.10 on UEFI along Windows 8 (GRUB - error: can't find command drivemap)

  21. 21

    Ubuntu 13.04 및 Windows 8 Dual Boot GRUB 옵션 / 문제

  22. 22

    Dual boot - SSD + mSATA - GRUB partition placement

  23. 23

    How to boot into Windows 7 when grub is installed in the Windows partition?

  24. 24

    How to install BURG on Ubuntu 13.04 with Windows 8 dual boot?

  25. 25

    How can I install Ubuntu and Windows 10 as dual boot?

  26. 26

    How to boot from iso with Grub2/Burg boot loader

  27. 27

    Dell laptop boot up failure after trying to install linux and windows to dual boot

  28. 28

    Dual Boot Windows 10 with Ubuntu

  29. 29

    How to get Windows-7 to boot (GRUB/EFI problem)

뜨겁다태그

보관