View previous topic :: View next topic |
Author |
Message |
Chili0_ n00b
Joined: 09 Oct 2017 Posts: 71
|
Posted: Thu Nov 16, 2017 2:10 am Post subject: How to add usb boot entry with efibootmgr? |
|
|
I have a Mac min(late 2012) installed Gentoo with kernel stub.
but, now I found it is can only boot from hard disk but not usb.
so I want to add a entry to usb, seems no documents about just add a usb entry.
Code: |
mini /usr/src/linux # efibootmgr -v[quote]
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000
Boot0000* Gentoo HD(1,GPT,ed6ad4fa-5f43-4c26-935c-1e5710e864d5,0x28,0x64000)/File(\efi\boot\bzimage.efi)
|
with usb: /dev/sdc
Code: |
(parted) print devices
/dev/sda (500GB) --> data disk
/dev/sdb (250GB) --> SSD Gentoo OS
/dev/sdc (15.6GB) --> usb stick bootable with efi livedvd
|
Thx. |
|
Back to top |
|
|
joanandk Apprentice
Joined: 12 Feb 2017 Posts: 169
|
Posted: Thu Nov 16, 2017 9:44 am Post subject: |
|
|
What happens with
Code: | efibootmgr -c -d /dev/sdc -p 1 -L "USB" -l "\efi\boot\bzimage.efi" |
where the Bootloader or EFI-Stubbed-Kernel is in "/dev/sdc1/efi/boot/bzimage.efi"?
BR |
|
Back to top |
|
|
P.Kosunen Guru
Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
|
Back to top |
|
|
Chili0_ n00b
Joined: 09 Oct 2017 Posts: 71
|
Posted: Sun Nov 19, 2017 4:24 am Post subject: |
|
|
The Mac mini ignore the "option" key, directly start from my /dev/sdb1, the kernel stub efi I compiled when power on.
It seems efi firmware have a problem. |
|
Back to top |
|
|
P.Kosunen Guru
Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
|
Back to top |
|
|
|