Sunday, September 20, 2015

windows 7 - Strange booting issue?


I have a laptop that I resized its partition to only fit the data. After that I had about `700 MB of free space left. Computer booted and it worked fine. I tried it a couple more times and it was fine. I thought it was good to go in regards to cloning so I proceeded to image the drive with Clonezilla on default settings.


After that, I formatted the drive and attempted to restore the image (using all default options) to verify it. Well, this is where my problem resides: when I try to boot, I just get that little blinking cursor at the top left.


What I tried:




  • I went into my Windows 7 DVD disk and tried the Startup repair. It said that it was successful in repairing it, but still had the same problem.
    Tried it 5 more times, to no avail.

  • Tried bootrec /fixboot, /fixmbr, /rebuildbcd. Still nothing.

  • Tried bootsect /nt60 sys /mbr. Can u guess, yea same thing?

  • Tried setting the partition to "Active" in diskpart.

  • Tried deleting the "boot" folder and even "bootmgr" and replacing them from the DVD.



Luckily, I have Hiren's BootCD on my USB and booted into it. I selected the "Boot from Windows 7/Vista (bootmgr)" option and it worked. The image was successfully booted. It booted off the bootmgr in Hiren's BootCD. It still worked but I need the bootmgr to work without the assistance of the BootCD.


How the hell do I fix this mess?




Update:


I found the solution. I was just sitting down, studying for my exams when an idea popped in my head. What if I delete all BCD entries manually then add a fresh one after? Well that's what I did.




  1. Booted into installation DVD

  2. Went into command prompt

  3. Typed bcdedit /enum

  4. Ran bcdedit /deletevalue (whatever value it was) for each value in the BCD

  5. Ran bootrec /scanos and verified that my OS was located

  6. Finally, ran bootrec /rebuildbcd

  7. And the computer boots up fine.



Answer



Wow, I found the solution. I was just sitting down, studying for my exams when an idea popped in my head. What if I delete all BCD entries manually then add a fresh one after? Well that's what I did.




  1. Booted into installation DVD

  2. Went into command prompt

  3. Typed bcdedit /enum

  4. Ran bcdedit /deletevalue (whatever value it was) for each value in the BCD

  5. Ran bootrec /scanos and verified that my OS was located

  6. Finally, ran bootrec /rebuildbcd

  7. And the computer boots up fine.



Thanks for all the answers and suggestions.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...