Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Messed up /RebuildBcd command, now can't boot either Win7 or Ubuntu

29 Jul 2016   #1
bertrand

Windows 7 Home Premium 64bit
 
 
Messed up /RebuildBcd command, now can't boot either Win7 or Ubuntu

Hello,

(Please see original issue posted over at the Ubuntu forums: https://ubuntuforums.org/showthread.php?t=2332104)

I spent about 10 hours last night trying all possible solutions I could find on this and other forums, so if this has already been solved elsewhere and I have not found it, I sincerely apologies for the double. It seems that none of the existing [solved] threads work for me. Here follows a description of i) what I intended to do, then ii) what I actually did, and, finally, iii) what I have tried so far and iv) where I am at now. Any help much appreciated! I really do not want to lose the existing Windows installation, because it contains several important pieces of licensed software that I use for work on a daily basis. Here goes:

i) WHAT I INTENDED TO DO

Yesterday, I decided that I wanted to remove my partition containing Ubuntu Studio and extend my Windows 7 installation onto it -- in other words, I wanted to get rid of my dual-OS setup by removing Ubuntu but keep Windows 7 Home Premium intact. So, here's what I intended to do:

1. Insert Windows 7 installation/recovery CD in disc drive and boot from CD drive in BIOS.
2. In Windows installation program, select Repair Your Computer option in the dialogue prompt.
3. In the System Recovery Options menu, open the Command Prompt.
4. In the Command Prompt (X:\Sources>), type the following, in order to restore the Windows boot manager in place of GRUB:
Code:
bcdedit /export C:\BCD_Backup
C:
CD Boot
Attrib bcd s h r
ren c:\boot\bcd bcd.old
bootrec /RebuildBcd

ii) WHAT I ACTUALLY DID

I am pretty sure that the whole problem arose when I forgot to execute the first of the commands:


Code:
bcdedit /export C:\BCD_Backup

Instead, I started the whole process from

Code:
C:
CD Boot
Attrib bcd s h r
ren c:\boot\bcd bcd.old
bootrec /RebuildBcd

skipping the entire first line
Code:
bcdedit /export C:\BCD_Backup

After that, I rebooted and found myself staring at a blank screen with a blinking cursor, in other words no GRUB menu, and no Win7 boot. My only option is Ctrl-Alt-Del. This issue persists still today after all my attempted solutions below.


iii) WHAT I HAVE TRIED SO FAR

- Boot using the Windows installation CD in order to run the automatic Startup Repair option. Result: Fail, because the existing Windows 7 installation is not recognised by the installer.
- Boot using the Windows installation CD, and in the Command Prompt tried to repeat the whole sequence from the beginning, this time not forgetting to include the first command. However, this fails, because when I type
Code:
bcdedit /export C:\BCD_Backup


Code:
     The store export operation has failed. The requested system device cannot be found.
(^EDIT 2016-07-29: At least this is the closest translation of the Windows locale I am using)

- Used Boot-Repair, MBRWizard, EasyBCD, Easy Recovery Essentials for Windows (NeoSmart Technologies) -- but all of them return with no results at all, or inform me that the partition is corrupted and cannot be accessed. The partition is designated as Unmountable Volume in Easy Recovery Essentials. So no automatic repair tool appears to work.
- Used diskpart from the Command Line to make sure the correct partition is set to Active.
- Tried various other commands in diskpart (perhaps recklessly, but I think I have mainly been using descriptive commands and never actually succeeded with any operations) that I have found on websites and forums. I have managed to establish that the disk containing my Windows 7 installation is listed as RAW, and that no volume is associated with it.
- Attempted to reinstall Ubuntu from scratch, hoping that it might recognize that Win7 is also installed on the system, but it does not (so have cancelled the installation, because I really do not want to overwrite Win7).

iv) WHERE I AM AT NOW

I can switch on the computer, but after the BIOS flash screen, the boot sequence simply stops at a blank screen with a blinking white cursor in the upper left hand corner. I can override the boot sequence using F12, in order to boot from CD or USB. I am certain that the Windows drive is first in the boot sequence.
Basically, I have tried all the solutions I have found, and am amazed that none of them work for me. People appear to have had the exact same problem, and they have for the most part been able to solve it using the above solutions. Any help is much appreciated, because I appear to have drained my capabilities here.

If it's any help, here are two links to two instances of Boot-Repair. I am not sure what I might have done inbetween the two, but I suppose the latest (last) of the two is the one to look into:

Ubuntu Pastebin
Ubuntu Pastebin

Many thanks in advance,

----------------------------------------
2016-07-29 BELOW ADDED on SevenForum only:

- I have also tried to use https://www.runtime.org/data-recovery-live-cd.htm, and as far as I can tell from running the pre-installed GetDataBack Simple software on the Live USB, the Windows partition is still there.



My System SpecsSystem Spec
.
Reply

 Messed up /RebuildBcd command, now can't boot either Win7 or Ubuntu




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Wanted to Dual Boot Win7 and Ubuntu - Windows Won't Boot Anymore
I wanted to set up Ubuntu on my computer, and followed the instructions in the first answer to this thread: dual boot - How to install Ubuntu alongside Windows 7/8 - Ask Ubuntu As instructed, I created a logical partition using EaseUS software. I did this on my H:/ drive, a hard disk drive...
Installation & Setup
Messed up BCD, Error 0xc000000f. Unable to '/rebuildBCD'
I have an asus n56vz laptop that is a couple years old. I replaced the HDD with a SSD when I bought it and put a clean win7 install on it. Today, I decided to swap the blu-ray drive with a HDD caddy and put the original HDD back in. I think my mistake started because I never wiped the original...
Installation & Setup
Configuring BootMgr for dual boot Win7/Ubuntu ?
Hello, I need some hint about configuring Windows7 bootmgr to give a choice of these two OS. I have Win7 and Ubuntu installed on two separate primary partitions, but always will boot right to Windows. So (if even bootmgr supports booting into Linux partition), I'd like to get any guidance howto,...
Installation & Setup
Help required in Win7 - Ubuntu dual boot install
Hello All, I currently have Win 7 HP installed on my HP dv4 laptop with T6600 processor, 300GB HDD & 4GB RAM. My objective is to install ubuntu 9.10 with Windows 7 in the dual-boot mode. I searched previous posts regarding the same but could not quite find the exact...
Installation & Setup
Dual Boot Win7 and Ubuntu 9.10
Hey guys, I am looking to dual boot 7 and Ubuntu 9.10 and need some assistance. I installed 7 first on one drive and Ubuntu later on a completely separate drive. Here are my current dilemmas: 1) I do not get the option to choose the OS I boot to. 2) When Linux boots it goes to black screen...
Installation & Setup
Failing to dual boot Win7 and Ubuntu
Hello! I have Windows 7 RC1 installed for some time, dual-booting with Windows XP. And that worked like a charm. But a couple of days ago I installed Ubuntu on the Windows XP partition (after formatting it with ext3, of course). But the thing is, I have been trying to boot into my dear Windows 7...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:58.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App