How to designate a Linux drive as bootable in BIOS
I run MSI Titan GT80, it has 4 different SSDs:
1) PCIe NVMe 2280 with Win10 on it 2) PCIe NVMe 2280 that's a clone of (1) 3) M.2 SATA 2280 that has Fedora on it 4) Windows Data Disk 2.5" SATA I use bcdedit / bcdboot utility to designate (1) and (2) as bootable. By default, it goes to (1). How do I designed (3) to be one of the boot options that I can pick from the BIOS boot menu? When I ran Fedora installer, I specifically pointed to the (3) SSD and only it, no other drives were involved. |
If you have windows 10 it should be EFI and you should have a key on boot to select Boot Options to select the drive on which you have Fedora. Did you install Fedora EFI? If you have an EFI partition on one of the drives, Fedora should have created a directory for its EFI files. You can set Fedora to boot first and have windows as a menuentry in its boot file. Knowing the type of installs you have would help. You should be able to get EFI boot info from Fedora with efibootmgr run from a terminal as root.
|
Yes, the machine is UEFI
If I get Fedora to boot first in Boot Options, how do I boot Windows on another SSD? Each operating system gets its own SSD. |
os-prober will find windows and add it to the grub boot list - Linux tools tend not to be as brain-dead as the M$oft ones.
|
You would run the grub-mkconfig command from fedora. See the link at the fedoraproject site below.
https://fedoraproject.org/wiki/GRUB_2 |
I want Win10 to be my primary boot drive with Linux being one of the choices. Can that scheme be setup under Linux Grub bootloader?
|
Under [U]EFI there is no "primary boot drive" in the old sense - that is BIOS thinking. So last century.
Fedora will install itself in the Win10 EFI partition - maybe that will qualify. Stop fretting about Windows - there is no MBR being over-written, just a matter of adjusting which is the default boot manager. They are all always there. |
You can set windows or any other OS to be the default system to boot with Grub by editing the /etc/default/grub file. In that file find the line:
Quote:
http://tipsonubuntu.com/2016/07/20/g...-ubuntu-16-04/ |
Once you get to bcd you can't easily return to bios choice.
UEFI has a lot more tricks that aren't being used but the simple part of it is that you have a few ways to select the boot device in any bios usually. You move the boot order in one or more places. |
Quote:
|
Fedora is installed on the SanDisk X400 SATA M.2 2280 SSD. It's in the correct slot, in the M.2 SATA (non-PCIe slot).
I previously cloned Windows 10 to that SSD and apparently my BIOS cannot boot non-PCIe devices at all and this seems to extend to Linux also (no matter what is on the SSD). I have two PCIe devices, both used for Windows (One primary boot, the other backup boot or clone) I am beginning to think I might have to installed Linux on the PCIe SSD, the alternative boot one. The SATA ones are not even showing up in the BIOS boot options, I need to double check this. The 2.5" SATA Samsung 850 is definitely not showing up so no matter what OS I put on it, it won't boot. It's a BIOS issue. The machine is in the UEFI mode. I tried Legacy mode to no avail. |
Can you tell us which chipset your Titan GT80 has? Msi.com is giving nothing but errors trying to fetch manual and specifications, and all of the googled sites seem to have kept this secret. All I know for sure is the i7-4720HQ is a Haswell, which is on the border of support for NVMe booting, while the GT80 has far more storage interfaces than I expected ever to find on one laptop. The latter characteristic suggests to my instincts that there may be some boot limitations, maybe less than all M.2 interfaces can be booted from, due to at least one being intended for RAID0.
|
The model is MSI Titan GT80S SLI "SkyLake" edition 6QE.
I cloned my primary boot drive, well the one currently designed as such via bcdboot/bcdedit, from PCIe to SATA (both 2280 drives) and I could not boot, the BIOS does not see the non-PCIe (NVMe) drives. This is not a Windows issue, but a BIOS issue with my computer, just the way it's set up. I installed Linux on that SanDisk X400 and have no way to getting it to be seen in the boot option menu. So I am thinking of putting Linux on the backup boot drive, where currently Windows lives but that means I lose a clone of my primary drive. So decisions, decisions. |
The reason I asked for specifications, chipset specifically, is because of:
https://www.intel.com/content/www/us...iast-ssds.html Skylake I would expect to have full NVMe support, like the prior Broadwell, but not the 2nd prior Haswell. Cloning is a possible reason for your trouble. Literal clones can't go back into the same machine simultaneously with a disk cloned from, except after adjustments on either clone or original to compensate for the cloned UUIDs, which neither BIOS nor operating systems nor bootloaders are equipped to accommodate. Duplicated UUIDs cause unpredicable behavior at best, corruption at worst. |
I don't have a problem booting from NVMe. It boots just fine. The problem seems to be that you cannot boot from both NVMe *and* SATA. You have to pick one and a machine configured to boot from PCIe/NVMe cannot also boot from the SATA disk, no matter what operating system you put on it, Linux or not. I installed Linux on the SATA disk but cannot even get it to be seen by the machine in BIOS to boot off of it.
Quote:
|
All times are GMT -5. The time now is 11:14 AM. |