Re: efibootmgr help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/27/2015 07:31 PM, Gordon Messmer wrote:
>
> After the system powers on, it loads and runs the UEFI firmware. The
> firmware initializes hardware according to a local configuration, and
> then searches the UEFI boot list for the first available boot device. 
> That list is what efibootmgr lists and edits.  In the system you've
> shown, Fedora, Ubuntu, and Windows all have their own boot loaders
> installed in the list.  You can select a boot loader from that list
> (typically) by hitting the F12 key on your keyboard during the UEFI
> boot sequence.
not exactly sure which part is UEFI & which is grub, but I will reboot &
try that...
>
> UEFI then loads shim.efi, which loads grub2.  In your case, it is
> loading the grub2 binary that Ubuntu installed, which searches for a
> configuration file in a different location than the grub2 binary that
> Fedora installed.  You don't see your new Fedora kernel there, because
> Fedora is updating a different configuration file.  You might have
> other options, but you should have at least these two: 1) you can
> manually edit the Ubuntu grub.cfg file and copy the kernel sections
> from Fedora there and 2) you can hit F12 to choose whether you want to
> load Fedora or Ubuntu's grub.
I tried booting into ubuntu & running the grub-mkconfig, hoping it would
update the grub.cfg, but it still didn't show the latest fedora kernel
when I booted..

>
> After UEFI loads grub2, grub2 looks for its configuration file, parses
> it, and gives you a menu to select which kernel to boot.
>  
> You don't need to use grub2-install on UEFI systems (and rarely on
> BIOS systems either).  It would normally build a custom grubx64.efi,
> but doing so would break under Secure Boot.
I think I have secure boot turned off..
>
>> this shows that the default is ubuntu. all I want is to update this &
>> make the newest fedora kernel the default.
>
> You could:
> # efibootmbr -o 0002,0004,0003,0000,0001
you meant efibootmgr, right?
my fedora is 0009 and 000C, but I get the idea.. and I TRIED THAT AND...
NADA

# efibootmgr -o 0009,000c,0004,0003
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0009,000C,0004,0003
Boot0000* P0: WDC WD10EZEX-75M2NA0
Boot0001* P4: TSSTcorp DVD+/-RW SH-216DB
Boot0002* Fedora
Boot0003* Windows Boot Manager
Boot0004* ubuntu
Boot0008* ubuntu
Boot0009* UEFI OS
Boot000C* UEFI OS


[root@pauls-desktop ~]# efibootmgr -v
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0009,000C,0004,0003
Boot0000* P0: WDC WD10EZEX-75M2NA0          BBS(17,,0x0)
Boot0001* P4: TSSTcorp DVD+/-RW SH-216DB    BBS(19,,0x0)
Boot0002* Fedora   
HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\fedora\shim.efi)
Boot0003* Windows Boot Manager   
HD(1,GPT,4cc2fdac-58ea-400c-8ef9-11e13499addf,0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...9................
Boot0004* ubuntu   
HD(1,GPT,4cc2fdac-58ea-400c-8ef9-11e13499addf,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0008* ubuntu   
HD(1,GPT,4cc2fdac-58ea-400c-8ef9-11e13499addf,0x800,0xfa000)/File(\EFI\Ubuntu\grubx64.efi)
Boot0009* UEFI OS   
HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\BOOT\BOOTX64.EFI)
Boot000C* UEFI OS   
HD(1,GPT,4cc2fdac-58ea-400c-8ef9-11e13499addf,0x800,0xfa000)/File(\EFI\BOOT\BOOTX64.EFI)


>
>> I thought when a new kernel was installed, grub would automagically add
>> it... not with efi?
>
> It does, as long as you've configured UEFI to use Fedora's grub.


-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux