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

Re: efibootmgr headach?



Morgan Read wrote:

> I had a punt that 'Boot0001* Solid State Disk' /boot/efi/EFI/BOOT and
> the Boot Options' menu entry 'Windows Boot Manager' might be related so
> did 'efibootmgr -b 1 -B' and that removed the 'Boot Options' menu entry
> 'Windows Boot Manager' but not /boot/efi/EFI/BOOT.  So, I moved
> /boot/efi/EFI/BOOT to /BOOT and nothing seemed to change on rebooting -
> so, I put back /boot/efi/EFI/BOOT and low and behold, under the 'Boot
> Options' menu the 'Windows Boot Manager' had reappeared and efibootmgr
> now gives me:
> BootCurrent: 0004
> Timeout: 0 seconds
> BootOrder: 0004,0005,9999
> Boot0004* debian
> Boot0005* Solid State Disk
> Boot9999* USB Drive (UEFI)
> 
> I feel like I'm going completely potty!!!  Is anyone able to shed some
> light on what is going on?  And, get me able to boot from my usb flash
> drive...?  (Again.)
> 
> System info to follow.

I don't know about /boot/efi/EFI/BOOT
IMO it shouldn't be there

# ls /boot/efi/EFI/
debian

The directory "debian" is the entry, you see when the PC boots.


What is in /boot/efi/EFI is a bit of UEFI code that tells the system to read
from /boot/grub/grub.cfg. You handle this with 

1. boot in UEFI mode
2. grub-install /dev/sdX
3. update-grub

check with efibootmgr

# efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0006,0005,0007,0008
Boot0003* debian       
HD(1,GPT,b5d4d6b6-4111-4591-bf50-71df738ef848,0x800,0x80000)/File(\EFI\debian\shimx64.efi)
Boot0005* WDC WDS500G1B0A-00H9H0        BBS(HD,,0x0)AMBO
Boot0006* TSSTcorp CDDVDW SN-208AB      BBS(CDROM,,0x0)AMBO
Boot0007* WDC  WDS500G1R0A-68A4W0       BBS(HD,,0x0)AMBO
Boot0008* IBA GE Slot 00C8 v1372        BBS(Network,,0x0)AMBO

Last but not least it also depends on how the BIOS is done, but recent work
quite well, although if you have something like "Fast Boot" etc. could
cause problems.




Reply to: