Wednesday, May 6, 2015

ubuntu - Backup windows 7 boot loader


I have windows 7 ultimate and planning to install ubuntu as second OS.


Is there any way by which I can backup my windows 7 ultimate boot loader so that whenever I want to get rid-off ubuntu just run that backup and format the drive in which ubuntu was installed and it's over.


by running that backup only boot loader should to changed. All the drives must not be affected.


Answer



You don't have to.
The command bootsect /nt60 will quickly restore your bootloader.


Procceed as follows:


-Boot from your Windows Disc
-Go to the command prompt ('rapair your computer')
-enter: bootsect /nt60 sys
-enter: bootrec /fixmbr


Now reboot your pc and you should get straight to windows. From there, using your favourite partition editor, delete your linux partitions and resize your windows partitions to maximum size.


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...