First, I’m new to Linux and Fedora. Recently I’ve made a dual boot usb and install win 8.1 and Fedora30 (i know that linux it’s more stable than windows). After installing the os… I’ve decided to upgrade the win 8.1 to 10. Now my grub looks…wird:
There is any chance to make it clear? Like:
Try to run
sudo grub2-mkconfig to reconfigure GRUB.
You will always have multiple choice for Fedora, for older kernels if a new update causes problems.
If you really don’t want them, check this topic.
Hello and thank you for the reply.
Like I said…I am new to linux and I need a step by step instructions …
You need to: open a terminal - > type
sudo grub2-mkconfig and hit Enter, when the execution is finished, try to restart and see what your GRUB menu lookes like.
sudo keyword gives the command root access, which is much like administration access in Windows.
Does it work without an output file? The Fedora docs always specify one.
I’ve done that…and after restart…it look’s the same. 2 fedora entrys ( fedora 30 and rescue) and 2 windows 8 (on /dev/sda1 and sdb1). I just want to have 1 fedora 30 and 1 windows 10 (i don’t have win8 anymore).
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg if you’re on a uefi system or
sudo grub2-mkconfig -o /boot/grub2/grub.cfg for MBR.
Basically, grub tries to find all the installed OSes on your computer. If, let’s say, Win8 was installed on second hard drive (sdb1 on a screenshot refers to 1st partition on the second drive), then you’ve upgraded it to Win10, and Win10 placed it’s bootloader onto a first harddrive (sda1) – then grub would find two bootloaders and correctly (from it’s point of view) list them both.
If that was one-time glitch – then @refi64’s command shall help you. @amitgold’s one was a bit incorrect, you definitely should provide grub2-mkconfig with a filename, or else it’ll just print out the new config on the screen, not save it.
If it’s persistent – then it’s very easy to rectify, but will require manually editing config files. As this post haven’t been answered for 4 days, maybe you’ve already solved your issue. But if not and you still want to do it – ping me, I’ll try to provide you with simple instructions.
Hi nightromantic !
Thank you verry much for your answer. I’ve formated my HDD and reinstall both os (w10 and fedora30) and now the menu looks ok (I still have the fedora recovery on the boot menu…but it’s ok.
Thank you once again.
Andrei, reinstalling wasn’t necessary in my opinion – but I’m glad you’ve solved your issue in a way you’re comfortable with. )
Fedora recovery is created deliberately by Fedora installer and intended to help you, for example, if you can’t boot into your system normally. I personally never used it, but it’s always there.
Have a nice day!