Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a dual boot pc and i accidentally installed a program which has made my bootmgr of windows 7 corrupt. I have access to ubuntu though. Is there any way that i can uninstall that program from windows 7 using ubuntu ?

share|improve this question
add comment

2 Answers

As far as I know, once your boot manager is corrupt, there is no way to revert it without a backup. Windows Repair might help, but since this is not a generic problem it might not work. Even if you could uninstall the program via Ubuntu, which you can, manually, I don't think it will fix your bootmgr error.

You can take a look here too. It may solve your issues.

share|improve this answer
add comment

In short: No.

You cannot uninstall any Windows program from Ubuntu. However, you can delete the files related to that program, but if the program has already done damage, you won't be able to repair the damage just by deleting the program files.

If you've dual boot (Windows with Ubuntu) and boot manager is damaged means that you've to reinstall GRUB. To install GRUB, boot from an Ubuntu LiveUSB, open a terminal and run:

sudo grub-install /dev/sda
sudo update-grub

/dev/sda is the name of the harddisk. To find the name of harddisk run sudo fdisk -l.

enter image description here

Here /dev/sda is the name of the harddisk. Restart.

share|improve this answer
    
1st paragraph is correct. 2nd is not (reinstalling GRUB will NOT fix bootmgr, which is a Windows file used after selecting Windows in the GRUB menu) –  LovinBuntu Aug 30 '12 at 21:14
    
If he has a dual boot PC with GNU/Linux as an operating system, then it should be the GRUB which has broken. –  green7 Aug 31 '12 at 2:41
    
Wrong. He has access to Ubuntu so his GRUB is not broken. The problem is located AFTER grub, in the Windows partition. –  LovinBuntu Aug 31 '12 at 8:07
    
No it is not grub, it is windows boot manager which is corrupt. –  Rahul Shakywar Sep 18 '12 at 4:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.