Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 recently changed from Windows 7 to Ubuntu 10.04 as my default OS.

I formatted the hard drive with Windows 7 on it, but it still shows the boot loader at startup.

How do I remove the Windows 7 bootloader?

share|improve this question

migrated from Jun 3 '10 at 7:29

This question came from our site for professional and enthusiast programmers.

Installing Ubuntu should make grub the default loader. Have you disabled it, or took any other steps? – Kobi Jun 3 '10 at 6:25
Are you sure it's not just showing the Windows entry on GRUB? GRUB looks something like… – Matthew Flaschen Jun 3 '10 at 6:42
@Tom: Make sure that you click the checkmark next to an answer if it answers your question. – Ben Alpert May 12 '11 at 14:58

sudo grub-update

share|improve this answer
There is no grub-update command. May be you meant update-grub. Actually this command won't remove Windows 7 or 8 loader it simply scans and updates the boot list. – N Bhargav Oct 3 '14 at 16:17

Install the Grub or Grub2 and you have to edit menu.lst in case of grub and grub.cfg in case of grub2 for windows selection according to the partition.

share|improve this answer

You might need to get grub to rescan to allow it to find / not find any operating systems that have been added / removed since grub was installed. The command is update-grub, and there is a Ubuntu Howto on using Grub that you might find useful.

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.