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 used grub-customizer to remove some old entries, but I made a mistake and now there's only Windows left in GRUB.

I tried booting into ubuntu through grub's command line but I don't know how to do anything there. Just booting once would be enough, or, if possible, fixing the listing right there in the command line.

share|improve this question
up vote 4 down vote accepted

Whilst the question is not identical, the answer is the same as this AU Question

In summary - boot from a LiveCD and recreate your Grub as per both these linked answers.

share|improve this answer

Your Grub is still there. You want to boot into Ubuntu and then run Grub Customizer and mark at least one kernel to appear in the Grub menu.

May I suggest that you do indeed run a live CD and browse the file system to boot/grub/grub.cfg? You do not need to edit this file. But find the part of the file that Grub uses to boot Ubuntu. Copy it down and use some of it as commands at the Grub command prompt to load into that kernel image. The key line would be the line that begins linux /boot/vmlinuz ... You may need to run each of the lines in that part of the menu entry one at a time in the order that they are listed.


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.