windows - Adding UEFI firmware boot entry using bcdedit -


how add new uefi firmware boot menu entry(in nvram) using bcdedit. e.g. tried following steps boot entry not getting added.

bcdedit /create /d "linuxloader" /application osloader  

this return new guid (say newguid)

bcdedit /set {newguid} device partition=s: bcdedit /set {newguid} path \boot\efi\bootx64.efi bcdedit /set {fwbootmgr} displayorder {newguid} /addfirst 

thanks in advance.

you cannot use applications of type osloader boot linux: kind windows loaders, such application boot applications (not same efi applications), signed microsoft exclusively , launched windows boot manager (see first slides of this uefi document description of process.)

on other hand, should possible add boot manager along windows', , register within uefi (in nvram storage); steps same wrote, use

bcdedit /create /d "linuxloader" {bootmgr}

as first operation. theory of operation of bcdedit (bcdsrv really) that, @ last step, entry should copied nvram well; uefi manager have @ least 2 options choose from, windows boot manager still being default one. means in practice may have use magic key bring menu (the uefi boot manager) up. change default entry, can try

bcdedit /set {fwbootmgr} default $newguid

which update bootcurrent variable in nvram, uefi firmware should select linux loader in preference windows; no guarantee though, believe there out there uefi firmwares badly programmed on issue; according this question, seems standard behaviour of windows 8 boot process revert such change :-(

also, additionally make entry, distinct standard place (esp)\efi\bootx64.efi, provision in {fwbootmgr} list: such entry survive when (ill-advised) tool decide restore correct value , flatly erase standard place microsoft's bootmgfw.efi...


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -