Re: efibootmgr help

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

 



On 08/27/2015 11:14 PM, Gordon Messmer wrote:
>> not exactly sure which part is UEFI & which is grub, but I will reboot &
>> try that...
>
> UEFI is everything before the grub2 menu, essentially.
well it changed now, booting from fedora, the original screen ( before
grub?) when it booted ubuntu default, had a line on the screen before
anything else happened.. something about booting insecure.. then the
grub menu came up. Now that the default is fedora, that line was missing
and it was REALLY fast getting the grub menu, I really didn't have much
time to try F12..

>
>> 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..
>
> Ubuntu and Fedora keep their kernels on different filesystems.  In
> each OS, grub2-mkconfig will locate only their own kernels, and update
> only the cfg file for their own installation of grubx64.efi.
no, grub finds all OSes that can be booted, when you run grub-mkconfig
it searches the entire hard drive, which is why it finds windows, and
fedora. BUT, since I was in fedora, and added a new kernel, the older
ubuntu grub.cfg didn't pick it up.

>
>>> 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..
>
> Doesn't matter, really.  Don't use grub2-install on UEFI systems. :)
right, and that is what I am trying to figure out, how I update
grub/UEFI so it knows when I have new kernels.. the process has changed
with UEFI, and I am new to it. fedora22 changed kernels sometimes
weekly... grub gets updated often. The other OS is ubuntu server, so it
doesn't change as often. WIndows will never be my default OS:) but I do
use it once in a while.... games, Turbo Tax...

> You could:
>>> # efibootmbr -o 0002,0004,0003,0000,0001
>> you meant efibootmgr, right?
>
> Yep.
>
>> my fedora is 0009 and 000C, but I get the idea.. and I TRIED THAT AND...
>> NADA
>
> No, it isn't.  Your output lists:
>
> Boot0002* Fedora
> HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\fedora\shim.efi)
>
>
> That boot entry identifies a filesystem (sda8) where
> \EFI\fedora\shim.efi is a bootloader.
>
> Boot entries 9 and C are generic entries that will load an EFI
> bootloader from the default path on partitions 8 and 1.
oh... I think I get it, but now my entries look like ( 10 entries in
boot order):

BootOrder: 0005,0009,000C,0004,0003,0010,0000,0001,0002,0008
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)
Boot0005* Fedora   
HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\FEDORA\shim.efi)

Boot0009* UEFI OS   
HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\BOOT\BOOTX64.EFI)

so 0005 and 0009 are both fedora, different kernels... one is
shimx64.efi and the other is shim.efi , whatever they are.. except there
is no shimx64.efi ...


-rwx------ 1 root root 1293304 Feb 17  2015 shim.efi
-rwx------ 1 root root 1287032 Feb 17  2015 shim-fedora.efi

-- 
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