Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Gummiboot: A Simple UEFI Boot Manager

  1. #1
    Join Date
    Jan 2007
    Posts
    15,419

    Default Gummiboot: A Simple UEFI Boot Manager

    Phoronix: Gummiboot: A Simple UEFI Boot Manager

    For those looking to experiment with UEFI support on Linux, one of the alternatives to GRUB2 and efilinux is Gummiboot. The Gummiboot UEFI boot manager is an up and coming choice that's under active development for playing with EFI images...

    http://www.phoronix.com/vr.php?view=MTEzODY

  2. #2
    Join Date
    Aug 2007
    Posts
    6,646

    Default

    When you look at the gummiboot site you see this as option to the kernel "root=PARTUUID=084917b7-8be2-4e86-838d-f771a9902e08" - that's NO normal uuid, that only works with GPT as this is the partition id there - not the filesystem uuid which you can see with blkid/udev. The only app i know how to get this is gdisk, where you can use the i option to show that value. I would like to know if there is a better or more direct way to get this value.

    In theory it is good to have got a tiny loader as some uefi have got problems with "double" entries for the same file with different options, so you could use that to select the right entry. Maybe i try it later...

  3. #3
    Join Date
    Dec 2011
    Posts
    2,159

    Default Doesn't?

    Doesn't UEFI come with its own bootloader already?
    So that the bootloader is stored on the motherboard ROM instead of on the disk?

  4. #4
    Join Date
    Aug 2007
    Posts
    6,646

    Default

    Thats absolutely correct. Basically you can do everything that you can do with that loader with efibootmgr directly. The problem is however when you find bad uefi implementations, like firmware 3402 for asus p8z68-v. there on bootup only the last added loader (-l option for efibootmgr) is kept even when there was already an entry with a different label (-L) was there and had other (kernel) options. I reported that to asus but just got this response (i selected Linux as os because my examples are with efibootmgr):
    Dear Valued Customer,

    Thank you for contacting ASUS Technical Service.

    Sorry, we don't offically support Linux on desktop motherboard.

    Sorry for the trouble. Wish you a good day.

    If you continue to experience issues in the future, please do not hesitate to contact us again.
    Best Regards,
    Cherry
    ASUS Global Technical Support Center
    Basically i see this as bad joke when you look at the price for the board - then you could expect complete uefi support and not only a partitial one.
    Last edited by Kano; 07-12-2012 at 09:38 AM.

  5. #5
    Join Date
    Jan 2009
    Posts
    1,738

    Default

    I have my system set up with efibootmgr on an intel mobo and although it behaves a bit weird (ie if you change the boot order with efibootmgr for next boot it doesn't respect it) it gives me a boot menu in the boot screen with the entries created so i don't care that much.

    The only thing i am waiting is the kernel people to support passing kernel parameters with a file so that you don't have to do it with efibootmgr.

  6. #6
    Join Date
    Mar 2012
    Posts
    240

    Default

    I tried to compile it on fedora 17 but gave a "efi.h not found" error. Where the tech is that efi.h?

  7. #7
    Join Date
    May 2011
    Posts
    1,599

    Default

    Well now that GRUB2 has hit v2 it is time to re-invent the wheel after all.

    And with Lennart Poettering's involvement I'm sure there will be a lot of hype and a mad push by everyone to make this the new de facto standard.

  8. #8
    Join Date
    Aug 2007
    Posts
    6,646

    Default

    @Alex Sarmiento

    you need gnu-efi package. if somebody wants to compile it on debian get a new package here:

    http://sourceforge.net/projects/gnu-efi/files/

    Code:
    dch -v 3.0q-0 "New upstream release."
    debuild -b
    and then change the Makefile for gummiboot:
    Code:
    diff --git a/Makefile b/Makefile
    index b190341..2227528 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -24,13 +24,13 @@ CFLAGS += \
            -DEFI_FUNCTION_WRAPPER
     endif
    
    -LDFLAGS = -T $(LIBDIR)/gnuefi/elf_$(ARCH)_efi.lds \
    +LDFLAGS = -T $(LIBDIR)/elf_$(ARCH)_efi.lds \
            -shared \
            -Bsymbolic \
            -nostdlib \
            -znocombreloc \
            -L $(LIBDIR) \
    -       $(LIBDIR)/gnuefi/crt0-efi-$(ARCH).o \
    +       $(LIBDIR)/crt0-efi-$(ARCH).o \
            $(shell $(CC) -print-libgcc-file-name)
    
     %.o: %.c

  9. #9

    Default

    Quote Originally Posted by johnc View Post
    Well now that GRUB2 has hit v2 it is time to re-invent the wheel after all.

    And with Lennart Poettering's involvement I'm sure there will be a lot of hype and a mad push by everyone to make this the new de facto standard.
    In a mad push to be sarcastic, you miss the purpose behind it.

    http://mjg59.dreamwidth.org/12368.html

    Specifically, read the references to the simple first stage bootloader that will precede GRUB2.

  10. #10
    Join Date
    May 2011
    Posts
    1,599

    Default

    Quote Originally Posted by RahulSundaram View Post
    In a mad push to be sarcastic, you miss the purpose behind it.

    http://mjg59.dreamwidth.org/12368.html

    Specifically, read the references to the simple first stage bootloader that will precede GRUB2.
    Can't wait!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •