Results 1 to 10 of 11

Thread: Grub error: "grub_efi_secure_boot'

Hybrid View

  1. #1
    Join Date
    Jan 2013
    Beans
    11

    Grub error: "symbol not found: 'grub_efi_secure_boot'"

    Hi,
    I have a problem with my Lenovo ThinkPad T420. Since an update, i think two days, ago my laptop won't boot anymore.
    I get following error message:
    Code:
    error: symbol not found: 'grub_efi_secure_boot'.
    error: symbol not found: 'grub_efi_secure_boot'.
    My Laptop is running with UEFI BIOS Version 1.42 so it is using EFI but not secure boot. I'm using Ubuntu 12.04 64bit ( GRUB version 1.99-21ubuntu3.7) and formatted my hard disk as following:
    hd0

    • gpt1: EFI fat partition
    • gpt2: /boot (ext2)
    • gpt3: encrypted with LVM volume group inside

    I think the reason for this is an update of GRUB which messed with my GRUB configuration.
    Does anyone have a solution for this? Or some tutorials how I can find a solution myself?

    Thanks a lot!
    Nils

    EDIT:
    My GRUB menu entry:
    Code:
    setparams 'Ubuntu, mit Linux 3.2.0-35-generic'
    
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt2)'
    search --no-floppy --fs-uuid --set=root 5f965616-ad3e-4b6d-b786-99dba2174bdb
    linux /vmlinuz-3.2.0-35-generic root=/dev/mapper/vg_ubuntu-root ro  kopt=root=dev/mapper/vg_ubuntu-root
    initrd /initrd.img.3.2.0-35-generic
    Older, previously working kernel versions (tested with 3.2.0-29-generic) do not work either.
    Last edited by user753; January 8th, 2013 at 06:30 PM.

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub error: "grub_efi_secure_boot'

    If not using secure boot, 12.04 has UEFI capabilities with grub 1.99 that should work. But 12.10 has grub2 2.00 that works with secure boot. Grub2 2.00 is supposed to be added to 12.04 with the next point release, but I do see additions to 1.99, which may be adding to the issue.

    Probably best to run Boot-Repair.

    Post the link to the BootInfo report that this creates. Is part of Boot-Repair:
    https://help.ubuntu.com/community/Boot-Info
    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration and diagnose advanced problems.
    Install in Ubuntu liveCD or USB or Full RepairCD with Boot-Repair (for newer computers)
    http://sourceforge.net/p/boot-repair/home/Home/
    https://help.ubuntu.com/community/UbuntuSecureRemix
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Jan 2013
    Beans
    11

    Re: Grub error: "grub_efi_secure_boot'

    Ok I tried boot repair with an ubuntu secure remix live usb image and get the following:
    http://paste.ubuntu.com/1510412/
    Should I try the recommended repair? If yes boot repair says:
    "EFI detected. Please check the options."
    "/boot detected. Please check the options."
    But I can't see anything relevant in the advanced options.

  4. #4
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub error: "grub_efi_secure_boot'

    Perhaps the LVM with encryption is preventing Boot-Repair from fully parsing your system.

    Normally it will offer a checkbox to use separate /boot and reinstalls to efi partition. But system is encrypted, so it cannot see rest of system.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  5. #5
    Join Date
    Jan 2013
    Beans
    11

    Re: Grub error: "grub_efi_secure_boot'

    So I tried anyway and the problem persists:
    http://paste.ubuntu.com/1510482/
    next thing I did was encrypting the partition:
    Code:
    root@ubuntu:~# cryptsetup luksOpen /dev/sda3 crypt_lvm
    now boot-repair says:
    Code:
    RAID detected. You may want to retry after installing the [mdadm] packages (sudo apt-get install -y --force-yes mdadm --no install-recommends
    I ignored this message and got as info: http://paste.ubuntu.com/1510711/
    Should I try the recommend repair without these mdadm packages or install them first?

    EDIT:
    Ok I tried it with installation of the mdadm packages (boot info) but when I try to repair I get this error message:
    Code:
     "Please close all your package managers (Software Center, Update  Manager, Synaptic, ...). Then try again."
    But I'm not running any package managers!
    Any ideas? Or should I try to repair GRUB manually? I suspect that would require some chroot magic?
    Good night and thanks for the help so far!
    Last edited by user753; January 9th, 2013 at 12:14 AM.

  6. #6
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub error: "grub_efi_secure_boot'

    Bootinfoscript is part of Boot-Repair and I have this in my notes, but do not really know about LVM nor RAID.

    Boot script is able to search LVM partitions if the LVM2 package is install, Fedora needs to be mounted to see it with os-prober
    # ("apt-get install lvm2" in debian based distros)
    # Is able to search Linux Software Raid partitions (MD Raids) if
    # the "mdadm" package is installed.
    sudo apt-get install lvm2
    sudo apt-get install mdadm
    sudo apt-get install gawk
    sudo apt-get install xz-utils
    # unlzma is equivalent to xz --format=lzma --decompress.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Bookmarks

Posting Permissions

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