-

2011年8月4日星期四

Why can't I boot Windows 7?

-I recently got a new laptop with Windows 7 on it. I use Linux for programming so I setup a partition just for Linux and installed it on the computer. Everything went find but then I decide instead of dual booting I'll use VMware because I hate having to restart to use Linux. So I deleted the Linux partition. Now I knew it would mess up the boot loader and I know how to fix it. You just put in a Windows 7 disk and hit repair and go to the command line. Then you type "bootrec /fixmbr" and then "bootrec /fixboot" and it normally fixes the boot loader but this time it didn't. It think it has something to do with the way the computer came it has 3 NTSF partitions. The first is a system restore, second is system reserve, and the last is Windows 7. So I went though a lot of ways to fix it but none worked and I think I some how delete the boot files in the Windows 7 partition. I then use a live Ubuntu cd to install Grub which worked but it will not find Windows 7 and thats why I think I deleted the boot files for Windows. I tried to make a new entry in grub for the OS but that didn't work so I either didn't do it right or I'm right about the boot files missing. I check the Acer partition which is the same as the C drive and in the boot folder it only has a backup file. Does anyone know anyway to fix this? Also does Windows boot from the Windows 7 partition or the system reserve partition?Here is a link http://support.microsoft.com/kb/2004518



Windows 7 bootloader is completely different than XP. The commands you used don't work anymore. Follow the directions in the above link.



In Windows 7 there is no such file as boot.ini This file has not been used since Vista was released. The new bootloader for Vista and Windows 7 uses BCD, Boot Configuration Data. This data is not stored in a text file like boot.ini, It is stored in the BCD store. To edit the BCD you have to use the BCDEDIT command line tool or you can download Easy BCD which is a GUI front end tool for BCDEDIT.



For more info on this new bootloader read this article.

http://www.multibooters.co.uk/bootmgr.ht鈥?/a>Install any OS along with your 7.

Start your 7, go to the boot.ini file, edit it.

It will show you 2 lines that have different OS's.

Delete the one that has the newer one you installed, and set the 7 as default (just search through the script I'm sure you'll find out).

Save as.

Make sure you have a backup of the old boot.ini file saved on your pc (save it on desktop) reboot your pc and it will automatically go onto your 7.

没有评论:

发表评论