Re: efibootmgr help

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

 



On Thu, Aug 27, 2015 at 6:58 AM, Paul Cartwright <pbcartwright@xxxxxxxxx> wrote:


> ok, I am running fedora 22, along with ubuntu & Windows 10. a new kernel
> got installed last night, and I rebooted, but grub doesn't show it, and
> still defaults to the ubuntu OS. I am new to this efibootmgr, and google
> is letting me down.. This is all new to me, and I am having a problem
> understanding what I need to do now...
>
> #df -h
> /dev/sda10 46G 8.3G 36G 19% /
> /dev/sdb6 154G 80G 67G 55% /home
> /dev/sda8 95M 9.5M 86M 11% /boot/efi
>
> grub2-mkconfig works, but grub2-install /dev/sda gives me an error
> grub2-install /dev/sda
> grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist.
> Please specify --target or --directory.

The message is clear. Use "grub2-install --target=x86_64-efi
--efi-directory=/boot/efi /dev/sda"


> this shows that the default is ubuntu. all I want is to update this & make the newest fedora kernel the default.
> # efibootmgr -v
> BootCurrent: 0004
> Timeout: 0 seconds
> BootOrder: 0004,0003,0000,0001
> 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)
> Boot000C* UEFI OS
> HD(1,GPT,4cc2fdac-58ea-400c-8ef9-11e13499addf,0x800,0xfa000)/File(\EFI\BOOT\BOOTX64.EFI)
> Boot0016* UEFI OS
> HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\BOOT\BOOTX64.EFI)
> Boot001A* ubuntu
> HD(1,GPT,4cc2fdac-58ea-400c-8ef9-11e13499addf,0x800,0xfa000)/File(\EFI\Ubuntu\grubx64.efi)
>
> #efibootmgr -o 0004,0003,0000,0001
> BootCurrent: 0004
> Timeout: 0 seconds
> BootOrder: 0004,0003,0000,0001
> Boot0000* P0: WDC WD10EZEX-75M2NA0
> Boot0001* P4: TSSTcorp DVD+/-RW SH-216DB
> Boot0002* Fedora
> Boot0003* Windows Boot Manager
> Boot0004* ubuntu
> Boot000C* UEFI OS
> Boot0016* UEFI OS
> Boot001A* ubuntu

You've set Ubuntu to be the default efi binary.

You'd have to run "efibootmgr -o 0002,..." to set Fedora as the default.


> is there a good manual somewhere for efibootmgr??

efibootmgr -h


> I thought when a new kernel was installed, grub would automagically add
> it... not with efi?

Because you're using Ubuntu's grub. So you'd have to boot into Ubuntu
and run "update-grub" in order to add the latest Fedora kernel to the
Ubuntu grub mennu.
-- 
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