FS#34641 - [linux] 3.8.x - 3.9.x Efibootmgr do nothing
Attached to Project:
Arch Linux
Opened by UnicornDarkness (Xorg) - Saturday, 06 April 2013, 13:34 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 23 June 2013, 12:10 GMT
Opened by UnicornDarkness (Xorg) - Saturday, 06 April 2013, 13:34 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 23 June 2013, 12:10 GMT
|
Details
Description:
Since kernel 3.8.X, I can't create entries in my UEFI with 'efibootmgr' command. It was working fine with kernel 3.7.X. But recreate a same entry print this error : ** Warning ** : Boot0000 has same label ArchLinux And do nothing changes. Additional info: * package version(s) : extra/efibootmgr 0.6.0-1 core/linux 3.8.5-1 (base) * config and/or log files etc. x86_64 BIOS EFI AMI (motherboard : Asus P8P67) Steps to reproduce: In a root terminal, I do this : # echo "root=UUID=792e28b7-7115-4879-9f80-29c517b4ca9f ro quiet nomodeset vga=0 fglrxfb fbcon=scrollback:512k resume=/dev/md1 rootfstype=ext4 add_efi_memmap initrd=\EFI\arch\initramfs-arch.img" | iconv -f ascii -t ucs2 | efibootmgr --verbose -c -g -d /dev/sda -p 2 -L "ArchLinux" -l '\EFI\arch\vmlinuz-arch.efi' --append-binary-args - Or : # echo "initrd=\EFI\arch\initramfs-arch.img root=/dev/md0 ro quiet" | iconv -f ascii -t ucs2 | efibootmgr --verbose -c -g -d /dev/sda -p 2 -L "ArchLinux" -l '\EFI\arch\vmlinuz-arch.efi' --append-binary-args - And there are no output. Then, when I use this command, to verify : # efibootmgr -v There is not the entry who was created. Efibootmgr is crucial for EFI Boot Stub. Without, it is not possible to boot without using a bootloader. |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Sunday, 23 June 2013, 12:10 GMT
Reason for closing: None
Additional comments about closing: https://bugs.archlinux.org/task/34641#co mment111365
Sunday, 23 June 2013, 12:10 GMT
Reason for closing: None
Additional comments about closing: https://bugs.archlinux.org/task/34641#co mment111365
Motherboard is Asus P8H77-M Pro.
Possibly related to <https://bbs.archlinux.org/viewtopic.php?id=160583>?
I'm still on kernel 3.8.X, it's the same result.
So I think problem is not efibootmgr's version but the kernel 3.8.X.
Xorg, you can install gummiboot once (by temporarily downgrading the kernel), and then use it to boot any new efistub you get without ever needing efibootmgr anymore.
Kernel upgrade, new version is Linux 3.8.7-1, and problem still exists.
Linux 3.9.0-2-ARCH
UEFI 2.00 (American Megatrends 4.640)
Gummiboot also updates flawlessly.
efibootmgr 0.6.0-1 gives me the ENOSPC (No space left on device)
efibootmgr 0.5.4-3 gives me the EIO (Input/Output error)
Mobo: Asus Sabertooth 990FX R2.0
BIOS: 1503
update1 at 01:24 GMT : Booted into linux-lts 3.0.77-1 x86_64 using efibootmgr 0.6.0-1 and it works fine.
When I boot using EFI Stub, Efibootmgr silently fails, but when I boot using GRUB 2, it's work. Boots parameters are sames...
I just tried this myself and same thing happens with me... EFISTUB not working, GRUB2 works
# efibootmgr -v
Timeout: 2 seconds
But I have Grub2 to troubleshoot myself, so it's a good alternative to boot with "efi_no_storage_paranoia" parameter, I know. Thanks !
Check for existence of /sys/firmware/efi/efivars/dump-* files. If they exist delete them (ie. pstore dumps stored in efivars) and reboot. You should be able to use efibootmgr properly without "efi_no_storage_paranoia". For a similar discussion in Fedora's bugzilla see https://bugzilla.redhat.com/show_bug.cgi?id=947142 . https://bugzilla.redhat.com/show_bug.cgi?id=919485 may also be helpful.