Boot, MBR, and Partition fix

Windows 7 fixmbr:

from: http://www.planetmy.com/blog/how-to-fixmbr-using-windows-vista-bootable-disk/
This is a Malaysian computer blog which I find interesting, visit it if you like the tutorial below!
The following tutorial will teach you “How to fixmbr using Windows Vista bootable disk“.

  • Boot up your computer using Microsoft Windows Vista Bootable disk. (Check your BIOS setup)
  • When you see the 1st Windows Vista installation screen appear, please configure your ‘language‘ preferences.
  • When prompted, click ‘Repair your computer’.
  • Startup Repair will automatically detect a problem. When prompted, click ‘Repair and restart’, and then restart your computer from the Windows Vista bootable disk. If Startup Repair does not automatically detect a problem, continue to the next step.
  • click ‘Repair Your Computer’.
  • Click Command Prompt from the System Recovery Options.
  • BootRec.exe provides the following command-line options:


  • /FixMbr. Re-writes the master boot record (MBR) of the system partition to start Windows Vista. This won’t overwrite the existing partition table.
  • /FixBoot. Writes a boot sector onto the system partition to start Windows Vista.
  • /ScanOs. Scans all disks for Windows Vista installations and displays them to you. Oddly, this didn’t work for me, even on a test system that was starting just fine.
  • /RebuildBcd. Scans all disks for Windows Vista installations and prompts you to pick the ones you want to add to the BCD.
  • Type  ‘BootRec.exe /fixmbrand press Enter.
  • Congratulations! You’re done.

To fix grub after installing windows destroyed your boot sector:
from: ubuntuforums.org

…any time you install a copy of windows it will erase grub

its a simple fix..

1. boot live cd
2. open terminal
3. sudo grub
4.from grub prompt do this
find /boot/grub/stage1
it will give you something like this (hd0,0)
5.use the disk that you found with the command above for this next command
root (hd0,0)
(remember to change the numbers to correspond to whatever you got in the previous step)
6.setup (hd0) (notice how i left out the ,0) thats not a typo!
it should give you some type of confirmation that it worked
then you can just quit grub
quit
then exit the terminal
exit
reboot!
(you will need to add windows to your /boot/grub/menu.lst)

Posted in Windows Tips. No Comments »