Ask Your Question
1

GRUB No longer shows up

asked 2019-01-01 10:18:22 -0500

Hawkx10 gravatar image

I installed Fedora 29 on a 50 GB partition of my Hard Drive and everything was fine. I used the Fedora for my internship and Windows for home use. Then one day when I tried to log into my most recent fedora it went into command line mode so I logged in using the farthest backup I had and used dnf update (or upgrade I can't tell the difference) to bring in the most recent version. However ever since then I've had to hit escape to go to the BIOS menu, hit f9 to get to the bios screen that allows me to choose which partition I boot to whereas before it automatically went to the GRUB. How can I get my computer to recognize the fedora boot and have it automatically go to GRUB again?

edit retag flag offensive close merge delete

Comments

Check the settings for booting from the BIOS. If you are bootable, the problem with BIOS modification can be solved easily by turning the BIOS back to its original state.Can you tell me if you can boot now?

simmon gravatar imagesimmon ( 2019-01-01 12:30:04 -0500 )edit

If I do nothing i boot to Windows if hit escape i go to vthe BIOS selection screen where I pick which to boot to, If I pick Fedora it goes to a GRUB Screen it used to go to a GRUB screen by default now it seems like /I have to force it to go to the GRUB screen (not sure if it would boot to Windows if I chose that option)

Hawkx10 gravatar imageHawkx10 ( 2019-01-01 18:21:43 -0500 )edit

Hawkx10, I am wondering if maybe when you say BIOS screen, might you be actually in the GRUB menu? Also, in your original question you say "command line mode", but which one?: Linux single user, Linux root, GRUB command line, Windows recovery? (Try "help" and "version" for clues whose command line it is.)

wallyk gravatar imagewallyk ( 2019-01-01 19:18:45 -0500 )edit

dnf update and dnf upgrade is exacly the same (except from the spelling).

villykruse gravatar imagevillykruse ( 2019-01-02 04:17:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-02 01:42:02 -0500

updated 2019-01-02 04:57:11 -0500

The first time you boot up, grub2 will appear on your first hard disk, so you should check the disk for confirmation and status. If the grub values are modified and set incorrectly, serious problems may occur.

Changing from BIOS Legacy Mode to UEFI will cause boot problems, and will force booting of GRUB2 on a system running in UEFI mode.

Perhaps if you have two disks and you use a different operating system, use grub2 on Linux to update the boot state as follows:

First, grub2 will work on the first hard disk without changing the state set in the BIOS.

[Case1. 1Disk - 2 OS or 2Disk 2 OS]

 Check the disk status. [fdisk /dev/sdX] p Enter  q Enter
 # fdisk /dev/sda             [MS-Windows System]
 # fdisk /dev/sdb             [Linux- Fedora System]
or
 # fdisk /dev/sda1            [MS-Windows System]
 # fdisk /dev/sda2            [Linux- Fedora System]

[Case 2. grub2 update and re-install for MBR(Master Boot Record) System]

 # grub2-mkconfig -o /boot/grub2/grub.cfg 
 or
 # grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Sometimes the location of grub.cfg may be different. [/boot/efi/EFI/fedora/grub.cfg ]

 # grub2-install /dev/sda

Do NOT run grub2-install if you intend to boot in UEFI mode. [ @villykruse ]. Use disk to distinguish between mbr and gpt. If UEFI is supported, check gpt when checking the fdisk status.

if the boot settings are correct, you can get new the boot status and will be update for grub2 in boot process

After boot linux, logging in to linux, update grub2 with the command, and let me know the progress so that you can better troubleshoot the problem. Please let me know your results and i will be update further.

edit flag offensive delete link more

Comments

Do NOT run grub2-install if you intend to boot in UEFI mode.

villykruse gravatar imagevillykruse ( 2019-01-02 04:14:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-01-01 10:18:22 -0500

Seen: 100 times

Last updated: Jan 02