re: BCDEdit.exe cannot add an OS.
Tuesday, September 8, 2009 at 8:25 pm Windows Vista Annoyances Discussion Forum
Posted by Gomez Addams
(24 messages posted)
Well, I was close! I was very, very close. All I was missing was:
bcdedit /displayorder {ntldr} /addlast
Or in my case /addfirst. Special thanks to http://www.tweakvista.com/articles/39206/how_to_dual_boot_xp_and_vista/
It's exceedingly frustrating to realize that after practically memorizing the damn
thing by rote, in the end, all I needed to do was RTFM.
On Tuesday, September 8, 2009 at 6:57 pm, Gomez Addams wrote:
>Hey! I have a dual boot XP/Vista system that recently broke. It has a single NTFS
>HDD w/ three partitions. Part. 1 is Vista, Part. 2 is XP, and Part. 3 is general
>storage.
>
>This setup has been working for over a year now. Today, I had some spyware and ran
>ComboFix to remove it. In doing so, I broke the Windows Boot Loader. I couldn't
load
>any operating system; I couldn't load the boot loader! I think it was giving me
error
>7, or something like that. I launched the Vista DVD, ran the recovery tools, and
>booted into Vista just fine, but I lost the XP entry in the boot loader, and now
>I can't get it back.
>
>After the recovery, BCDEdit displayed the following:
>
>Windows Boot Manager
>--------------------
>identifier {bootmgr}
>device partition=D:
>path \bootmgr
>description Windows Boot Manager
>default {current}
>displayorder {current}
>timeout 30
>
>Windows Boot Loader
>--------------------
>identifier {current}
>device partition=C:
>path \Windows\System32\winload.exe
>description Windows Vista (TM) enterprise (recovered)
>osdevice partition=C:
>systemroot \Windows
>resumeobject {af3224a9-9cc9-11de-90df-806e6f6e6963}
>
>I ran the following commands:
>
>bcdedit /create {ntldr} /d "Earlier Windows OS Loader"
>bcdedit /set {ntldr} path ntldr
>bcdedit /set {ntldr} device partition=D:
>
>and all of the operations were completed successfully, but the output of BCDEdit
>hasn't changed. It's still exactly the same as just after the recovery. If I run
>the /create command again, I get a message saying that "The specified entry already
>exists."
>
>All of the files on all of the partitions are intact. I can view them just fine
in
>Vista. It seems the only problem is that I can't add the XP OS to Vista's boot loader.
>I would appreciate your assistance with this problem. Thanks!
|