LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-21-2019, 11:08 AM   #1
Chortle Buffer
LQ Newbie
 
Registered: May 2009
Posts: 21

Rep: Reputation: 0
Can you install Fedora Grub UEFI over legacy?


I was trying to revive my Fedora 30 installation using the live disk and chrooting to install grub
This is quite involved. Finally I got grub to install.without errors on /sda with the EFI files in /boot/EFI.

No luck. I am told there is no operating system.

Should this have worked? I am just asking to figure out whether I have a valid boot there somewhere.

I got into this mess installing Fedora 30 over my Fedora 25 which dual booted with windows 8.1 in legacy mode (what I just tried was all done in UEFI mode.)

I have a HP laptop. Back when I initially got the dual boot going via legacy mode was the way to do it. Somehow I got windows to boot again, that time, from a Windows live disk and bootrec etc.
 
Old 09-21-2019, 11:12 AM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Did you check out my last post on your other thread

Last edited by colorpurple21859; 09-21-2019 at 11:25 AM.
 
Old 09-21-2019, 01:00 PM   #3
Chortle Buffer
LQ Newbie
 
Registered: May 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Posted a reply over there. I am tired now, as it is late. I will have another go in the morning.
 
Old 09-21-2019, 02:26 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,409

Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
FWIW On my Samsung NP350V5C, if I have sda formatted GPT, the BIOS defaults to super-secure UEFI, despite what I tell it. Only way to get legacy boot is to format MBR. Fancy me trying to work that out in 2013, when all this was new!

Last edited by business_kid; 09-22-2019 at 04:38 AM.
 
Old 09-21-2019, 03:11 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
What has come out of the ops other thread, had a duel boot of windows 8 and fedora 25 in efi mode on a gpt drive. Did a reinstall with fedora30 in legacy mode, and windows quit booting. Fedora 30 would only boot in legacy mode. According to the op
Quote:
Boot device not found" when I disable legacy.
During the process of trying to help the op out, I was able to figure out what was happening when fedora 30 is installed in legacy mode on an uefi system gpt disk. The fedora 30 installer sets the active flag of the protective partition on the gpt.

This is what you get if you run gdisk on a gpt disk after installing fedora 30 in legacy mode

Code:
sudo gdisk /dev/sda
Found valid GPT with protective MBR; using GPT.

Command (? for help): v

Warning: The 0xEE protective partition in the MBR is marked as active. 
This is technically a violation of the GPT specification, and can cause some EFIs to ignore the disk, but it is required to boot from a GPT disk on some BIOS-based computers.
 You can clear this flag by creating a fresh protective MBR using
the 'n' option on the experts' menu.

I had something similar happen to me a while back after installing fedora in legacy mode on a hp uefi gpt drive system and started this thread about it:
https://www.linuxquestions.org/quest...de-4175657780/

Last edited by colorpurple21859; 09-21-2019 at 03:19 PM.
 
Old 09-22-2019, 06:55 AM   #6
Chortle Buffer
LQ Newbie
 
Registered: May 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
sudo gdisk /dev/sda
Command (? for help): v
Command (? for help):x
Expert command (? for help):n
Expert command (? for help):w
Windows booted after following your instructions. Now I'm trying to revive Fedora. I am staying in UEFI mode (legacy off).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install grub-legacy with grub-install command on latest Antix/Debian bingel74 Linux - Software 5 03-16-2017 07:13 PM
Can't get dual boot, win 7 uefi and elementary freya os uefi working shywolf Linux - Newbie 4 12-10-2015 06:14 PM
how to install linux mint side by side windows into an uefi machine without uefi partition valgalsan Linux - Newbie 2 11-03-2015 12:25 PM
Can't install LM 32bit with UEFI disabled on UEFI Asus X200MA laptop dblaisde Linux Mint 3 10-15-2015 05:37 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration