LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-18-2018, 05:52 PM   #31
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,499

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489

Quote:
efibootmgr is a way to edit like bcdedit does.
More accurately, Grub is a way to edit boot files like bcdedit. bcdedit and grub can be used to edit and manage boot files on their respective systems whether it is a Legacy or EFI install. efibootmgr is limited to managing the EFI booting.
 
Old 12-18-2018, 07:50 PM   #32
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
BCD (and the many bcd commands) is part of the new vista boot rewrite to support uefi. BCD isn't in any way a loader. Grub and it's configuration is a loader. eifbootmgr you are correct is a boot manager for efi in linux.

To manage uefi one may need this in windows. https://docs.microsoft.com/en-us/win...options-in-efihttps://neosmart.net/wiki/easybcd/uefi/

Last edited by jefro; 12-18-2018 at 08:01 PM.
 
Old 12-27-2018, 12:44 AM   #33
etcetera
Member
 
Registered: Aug 2004
Posts: 436

Original Poster
Rep: Reputation: 17
This only shows 2 SATA drives. There are 2 PCIe drives with Windows that are not showing.


# parted -l
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 316MB 315MB fat32 EFI system partition boot, esp
2 316MB 450MB 134MB Microsoft reserved partition msftres
3 450MB 913GB 913GB Basic data partition msftdata


Model: ATA Samsung SSD 860 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 1075MB 1074MB fat32 EFI System Partition boot, esp
2 1075MB 2149MB 1074MB ext4
3 2149MB 902GB 900GB lvm




What I don't understand is just the two SATA disks are shown by parted -l and the other two PCIe disks are now shown. Parted -l shows one data disks (not a boot disk) and the Linux disk. The two Windows disks are missing.

Maybe this visual diagram will help with understanding which disks are involved. Windows is a dead-end, when I fire up bcdedit, it doesn't even show the Linux option at all. So I must use grub2 and represent these 3 disks there as 3 different boot options.



Last edited by etcetera; 12-27-2018 at 01:59 AM.
 
Old 12-27-2018, 12:45 AM   #34
etcetera
Member
 
Registered: Aug 2004
Posts: 436

Original Poster
Rep: Reputation: 17
# efibootmgr
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0000,000E,000B,000F,0001,0011,0006
Boot0000* Windows Boot Manager
Boot0001* Fedora
Boot0006 Windows Boot Manager
Boot000B* Windows Boot Manager
Boot000E* Windows Boot Manager
Boot000F* Windows Boot Manager
Boot0011* UEFI OS
 
Old 12-27-2018, 12:50 AM   #35
etcetera
Member
 
Registered: Aug 2004
Posts: 436

Original Poster
Rep: Reputation: 17
I got Fedora 29 reinstalled on the new 1TB SSD. Again, I while I can multiboot Windows 10 (primary) and Windows 10 (backup), there is no option showing up in BIOS (that is, UEFI that shows you the Linux boot option, it appears to be impossible to configure.

In Windows, the Linux SSD is not even showing up with a letter and it's impossible to assign a drive letter to it as the option is grayed out (In Windows 10)

So I booted back in Linux.

Therefore forget bcdedit, how do I configure grub2 to multiboot Win10, Win10 and Fedora?

Am I correct in understanding that grub2 modifies UEFI options just like bcdedit? When I reboot the machine, by default it goes into the first SSD as defined by bcdedit which is Windows 10. The bootloader grub2 is located on the Linux SSD but how do I activate it if I am not hitting that SSD at all during the boot process - I Have to hit the F11 button and then select Fedora from the list of bootable devices?
 
Old 12-27-2018, 12:53 AM   #36
etcetera
Member
 
Registered: Aug 2004
Posts: 436

Original Poster
Rep: Reputation: 17
grub2-mkconfig -o /boot/grub2/grub.cfg

I ran that and it created the output file.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Setup custom built kernel (2.4 kernel with RT Linux patch) to boot in a partition along with existing multiboot *nix system barz_83_LQ Linux - Newbie 11 02-08-2018 08:13 AM
Multiboot system was fine, suddenly get NTLDR missing-no Linux mogmog Linux - Newbie 21 03-20-2017 07:43 AM
Linux multiboot system Raulmcsr Linux - General 7 07-06-2016 03:43 PM
How to create a multiboot multilinux system using two internal hard drives? Peufelon Linux - General 3 08-14-2010 03:26 PM
Multiboot Linux using configfile with a LiLo rusty2 Linux - Software 10 01-31-2009 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:12 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