Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to add usb boot entry with efibootmgr?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 17

PostPosted: Thu Nov 16, 2017 2:10 am    Post subject: How to add usb boot entry with efibootmgr? Reply with quote

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
View user's profile Send private message
joanandk
n00b
n00b


Joined: 12 Feb 2017
Posts: 38

PostPosted: Thu Nov 16, 2017 9:44 am    Post subject: Reply with quote

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
View user's profile Send private message
P.Kosunen
Apprentice
Apprentice


Joined: 21 Nov 2005
Posts: 176
Location: Finland

PostPosted: Thu Nov 16, 2017 4:34 pm    Post subject: Reply with quote

Press and hold the Option (⌥) key immediately upon hearing the startup chime.

http://www.idownloadblog.com/2015/09/14/how-to-start-up-mac-from-bootable-media/

After this, check what efibootmgr says.
Back to top
View user's profile Send private message
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 17

PostPosted: Sun Nov 19, 2017 4:24 am    Post subject: Reply with quote

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
View user's profile Send private message
P.Kosunen
Apprentice
Apprentice


Joined: 21 Nov 2005
Posts: 176
Location: Finland

PostPosted: Sun Nov 19, 2017 7:53 am    Post subject: Reply with quote

http://www.rodsbooks.com/refind/installing.html#osx
https://apple.stackexchange.com/questions/235624/cant-make-refind-show-boot-menu-again

Is rEFInd an option?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum