LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-05-2016, 01:33 PM   #1
TheDubiousDubber
LQ Newbie
 
Registered: May 2016
Location: Minnesota
Distribution: Fedora 23
Posts: 4

Rep: Reputation: Disabled
Dual boot - can boot Windows but not Linux


It seems there are plenty of posts out there but most involve separate OS's on a single drive, and many involve BIOS.

I have two separate installations on separate SSDs. All are using UEFI.

I have a Windows installation on ssdOne. I disconnected ssdOne and installed latest Fedora on ssdTwo. I rebooted and installation appeared to work, so I reconnected ssdOne and tried booting into Windows. Windows boots and I call it a night.

Now today I want to get into Fedora. Holding F12 on startup I'm posed with two options
1. Windows Boot Manager
2. Fedora

I choose 1 and it boots to Windows as it should, but if I choose 2, it boots to Windows.

I'm sure everything is intact as I haven't made any alterations since installing, but I'm not sure how to get Fedora to boot. Please help.
 
Old 05-05-2016, 06:08 PM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Quote:
I have a Windows installation on ssdOne. I disconnected ssdOne and installed latest Fedora on ssdTwo
When you disconnected ssdOne and installed Fedora, the Grub bootloader was installed on SSDTwo. Reconnecting SSDOne means that the system will always try and boot from SSDOne which is Windows... Every time a coconut!

Had you just installed Fedora on SSDTwo with everything connected it would have installed Grub on SSDOne and Grub would give you the choice of Windows and Fedora which would work.

As I know little about UEFI as I haven't had to tangle with it as yet, I'll let someone else with more knowledge explain how to fix your problem. (Probably by installing Grub on SSDOne?)

Play Bonny!

 
Old 05-05-2016, 08:58 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
With MBR firware, a case can be made for removing the Windows device before installing Linux. I've done it myself.
No such case can (probably) be made with UEFI firmware. The (initial) boot selection menu is in NVRAM, not in the bootloader - there is a UEFI shell environment that enables you to update the NVRAM. Don't even think about it.
Connect both SSDs and reinstall Fedora to the second SSD. It will use the efi partition Windows created (in normal installs) - I doubt it will recognise the efi partition on SSD2, but it might be worth checking the mount for /boot/efi during the install.
If you find two "Fedora" entries after all this, you can use efibootmgr to remove the defunct one - carefully.
 
Old 05-05-2016, 10:48 PM   #4
TheDubiousDubber
LQ Newbie
 
Registered: May 2016
Location: Minnesota
Distribution: Fedora 23
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
With MBR firware, a case can be made for removing the Windows device before installing Linux. I've done it myself.
No such case can (probably) be made with UEFI firmware. The (initial) boot selection menu is in NVRAM, not in the bootloader - there is a UEFI shell environment that enables you to update the NVRAM. Don't even think about it.
Connect both SSDs and reinstall Fedora to the second SSD. It will use the efi partition Windows created (in normal installs) - I doubt it will recognise the efi partition on SSD2, but it might be worth checking the mount for /boot/efi during the install.
If you find two "Fedora" entries after all this, you can use efibootmgr to remove the defunct one - carefully.
I had a feeling this was the case. Was hoping I wouldn't have to reinstall. So I guess my only remaining question is if I have to have an EFI partition on the SSD2. Or, can I point the installer to the existing EFI partition on SSD1 and only have a root partition and a boot partition on SSD2?

Actually now that I think of it I'm pretty sure I have to have an EFI partition on both, regardless. I don't believe the installer allows you to choose one from another drive. So I guess I don't have any more questions.

Thanks for the help.

Last edited by TheDubiousDubber; 05-05-2016 at 10:50 PM.
 
Old 05-05-2016, 10:54 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
A couple of options

Boot grub

Go to setup and set the second drive as the boot device. Boot into Linux and setup grub to boot windows from there.

Boot windows 8

Boot into windows and configure the windows loader to boot Linux

With this boot loader it loads windows 8 first but does not show the login screen. Should not take too long with ssd.
 
Old 05-05-2016, 10:57 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
The Fedora install would have created an efi on the drive - with both SSDs in it is superfluous. Only one is ever needed.
You need to ignore that - you have to ensure the Fedora installer is using the Windows one; check at the partitioning stage for the /boot/efi mount.
 
Old 05-06-2016, 09:26 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator response

Moved: This thread is more suitable in <Fedora> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-06-2016, 09:53 AM   #8
TheDubiousDubber
LQ Newbie
 
Registered: May 2016
Location: Minnesota
Distribution: Fedora 23
Posts: 4

Original Poster
Rep: Reputation: Disabled
I reinstalled Fedora without disconnecting the Windows drive. I installed same as before, but installer obviously did its own thing in terms of installing whatever is necessary for it to boot properly. Everything is working so far. The login screen is incredibly laggy, but at least this particular issue is solved.
 
  


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
[SOLVED] Dual boot not working after Windows upgrade, can't boot Linux or Windows dam50 Linux - Newbie 10 10-10-2015 06:50 AM
BIOS, UEFI & CSM Boot, GRUB and/or LILO and Windows/Linux Dual Boot rm_-rf_windows Linux - General 4 11-10-2014 08:30 AM
Boot Windows from within Linux in a dual-boot system? jbruyet Linux - General 3 07-30-2011 12:11 AM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:30 PM.

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