Super User is a question and answer site for computer enthusiasts and power users. 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 mistakenly deleted all the grub entries while customizing grub using "Grub Customizer". Now whenever Im trying to boot into Fedora Linux a black screen is coming up only with "grub>" prompt.

How can I fix this problem ? I have other two OSs installed side-by-side. Fedora is on "sda3"

share|improve this question

Luckily the Fedora Wiki covers this topic! Seems you can just reinstall GRUB very easily, just using a live CD.

  1. Boot the system from an installation boot medium. (live CD/USB)

  2. Type linux rescue at the installation boot prompt to enter the rescue environment.

  3. Type chroot /mnt/sysimage to mount the root partition.

  4. Type /sbin/grub-install bootpart to reinstall the GRUB boot loader, where bootpart is the boot partition (typically, /dev/sda). (in your case, sda3 perhaps)

  5. Review the /etc/grub.d/10_linux file, as additional entries may be needed in the /etc/grub.d/40_custom for GRUB to control additional operating systems.

  6. Reboot the system.

These instructions are straight from the Wiki.

share|improve this answer

No need to change as sda3; use /dev/sda. Then use the command

grub2-mkconfig -o /boot/grub2/grub.cfg
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .