Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a laptop which was Linux/Windows 7 dual-boot. I need to get rid of the Linux partition so that it only boots into windows.

I know how to do this if I have the Windows 7 CD(which I do). But this laptop does not come with a CD drive.

Is there anyway to do this without using the CD?

share|improve this question
add comment

4 Answers

Do the following

  1. Start a cmd shell running as administrator (Start / Search / cmd / right-click Run as Administrator)
  2. Type bcdboot c:\windows

That will re-write the MBR and so remove grub and re-install the Windows loader.

share|improve this answer
    
Is it possible to run bcdboot from linux or using vm ... –  rzr Aug 24 '13 at 12:23
add comment

A very easy solution would be to download and install Visual BCD Editor.

The tool comes with "Dual-boot Repair" utility. Run it and click "Automatic Repair". Confirm.

That's it ! You can reboot to Windows 7.

Explanation: The automatic dual-boot repair will (re)create Windows 7 MBR and PBR (master and partition boot record) and reset/repair the Boot Configuration Data (BCD) store to default values (e.g. timeout 30 sec., Windows 7 as default loader).

share|improve this answer
add comment

Check this out :

How to create a bootable Windows 7 USB/DVD

No CD but always a USB

If this option is not good trying looking into any other USB booting ways.

That's the only way ... MBR cannot be fixed while it's active.

share|improve this answer
    
Making a bootable USB flash storage is good idea but it is not only way. –  kamae Dec 13 '11 at 13:59
    
@Kamae... I'm sorry but I answer to the Original Poster... His case... he doesn't have a CD ROM drive so the only possible way is to do it with a flash drive... The other option would be to plug in a CD drive... So it comes to the same... Find me an other way and I will accept that you put minus -1 to my answer... Don't just minus my answer for now "apparent" reason... The answer is for the original poster not for general answer... –  pSyToR Dec 20 '11 at 10:21
    
@Kamae... It would be nice when you "flag" an answer... To actually explain properly WHY... Since Windows 7.. Like Paul Said a bit higher here the BCDBoot.exe is a new thing from Windows 7 that let's you re-write the MBR ... Nice blog about it : hanselman.com/blog/… –  pSyToR Dec 22 '11 at 5:30
add comment

What you need is a bootable flash drive with the Windows Recovery Disk installed to it. Tom's Hardware has a nice write-up on what you need to do. If you have another computer with a DVD drive, that'll make it easier to create the flash drive, otherwise you'll have to download a torrent of the image. In either case, a second computer with Windows 7 already installed is necessary.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.