I want to remove all trace of multi-boot now and make Ubuntu boot up without grub that was installed when Windows 7 was there. Now Windows 7 is gone but not the boot menu.
How do I remove this?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Open a terminal and run the following command -
This will re-generate the grub config files so that only valid entries exist.
Note - You need a bootloader like grub or syslinux if you wish to boot into Ubuntu. Therefore, you must not remove grub itself, as suggested in the question.