Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 11.10 and Windows 7 in dual boot. Today I tried to update grub and I run the following command in terminal:

sudo fdisk -l    
sudo mount /dev/sda6 /mnt 
sudo grub-install --root-directory=/mnt /dev/sda
sudo grub-install

After installation and reboot, it does not show the grub menu (from which I can choose which OS to boot) and it directly boots Ubuntu.

Please help.

share|improve this question
Try holding Shift while booting to get to GRUB. – hexafraction Aug 3 '12 at 13:53
i try but nothing happen. which way i can add or recover windows7 loader in boot loader – bugsbunny Aug 3 '12 at 14:12
Did you install Ubuntu via wubi? – hexafraction Aug 3 '12 at 14:24
no live cd...and before update grub its workig well... and it was also show the grubloader also but now it cann't show grubloader and so i cannot load windows7.. if u cann't understand my problem than i can explain in other way.. because i m not good enough in explain. so plz reply and thank u.. – bugsbunny Aug 3 '12 at 14:37
I can understand your problem. I just don't see a way out right now. – hexafraction Aug 3 '12 at 14:46

Boot to your live cd.

Then: in a terminal type.........

sudo mount /dev/sdXY


sudo mount /dev/sda1

Run the grub-install command as described below. This will reinstall the GRUB 2 files on the mounted partition to the proper location and to the MBR of the designated device.

sudo grub-install --root-directory=/mnt /dev/sdX


sudo grub-install --root-directory=/mnt /dev/sda

Refresh the GRUB 2 menu with

sudo update-grub.


If this does not work for you - try the link bellow.

share|improve this answer

Your Answer


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.