[{"data":1,"prerenderedAt":644},["ShallowReactive",2],{"\u002Fdocs\u002Fgetting-started\u002Fbooting-and-secure-boot":3},{"id":4,"title":5,"body":6,"description":635,"extension":636,"meta":637,"navigation":638,"path":640,"seo":641,"stem":642,"__hash__":643},"docs\u002Fdocs\u002Fgetting-started\u002Fbooting-and-secure-boot.md","Booting and Secure Boot",{"type":7,"value":8,"toc":623},"minimark",[9,13,28,33,40,222,229,250,266,270,273,318,321,325,328,349,352,362,373,377,382,393,398,421,424,469,497,501,504,526,533,537,551,572,607,619],[10,11,5],"h1",{"id":12},"booting-and-secure-boot",[14,15,16,17,22,23,27],"p",{},"With your ",[18,19,21],"a",{"href":20},"\u002Fdocs\u002Fgetting-started\u002Fcreate-a-bootable-usb","LeiOS USB stick"," ready, the next step is\nto start your computer from it. You then get the ",[24,25,26],"strong",{},"live system",": LeiOS running entirely from the\nstick, without changing anything on your computer.",[29,30,32],"h2",{"id":31},"open-the-boot-menu","Open the boot menu",[14,34,35,36,39],{},"Plug in the stick, then restart the computer and immediately press the ",[24,37,38],{},"boot menu key"," a few\ntimes, until a menu with your disks and the USB stick appears. Choose the USB stick.",[41,42,43,59],"table",{},[44,45,46],"thead",{},[47,48,49,53,56],"tr",{},[50,51,52],"th",{},"Manufacturer",[50,54,55],{},"Boot menu",[50,57,58],{},"Firmware setup (BIOS\u002FUEFI)",[60,61,62,79,100,113,135,149,163,177,190,205],"tbody",{},[47,63,64,68,74],{},[65,66,67],"td",{},"Acer",[65,69,70],{},[71,72],"kbd",{"value":73},"F12",[65,75,76],{},[71,77],{"value":78},"F2",[47,80,81,84,93],{},[65,82,83],{},"ASUS",[65,85,86,89,90],{},[71,87],{"value":88},"F8"," or ",[71,91],{"value":92},"Esc",[65,94,95,89,97],{},[71,96],{"value":78},[71,98],{"value":99},"Del",[47,101,102,105,109],{},[65,103,104],{},"Dell",[65,106,107],{},[71,108],{"value":73},[65,110,111],{},[71,112],{"value":78},[47,114,115,118,130],{},[65,116,117],{},"HP",[65,119,120,123,124,126,127,129],{},[71,121],{"value":122},"F9"," (or ",[71,125],{"value":92},", then ",[71,128],{"value":122},")",[65,131,132],{},[71,133],{"value":134},"F10",[47,136,137,140,144],{},[65,138,139],{},"Lenovo ThinkPad",[65,141,142],{},[71,143],{"value":73},[65,145,146],{},[71,147],{"value":148},"F1",[47,150,151,154,159],{},[65,152,153],{},"Lenovo IdeaPad \u002F Legion",[65,155,156,158],{},[71,157],{"value":73}," or the Novo button",[65,160,161],{},[71,162],{"value":78},[47,164,165,168,173],{},[65,166,167],{},"MSI",[65,169,170],{},[71,171],{"value":172},"F11",[65,174,175],{},[71,176],{"value":99},[47,178,179,182,186],{},[65,180,181],{},"Gigabyte",[65,183,184],{},[71,185],{"value":73},[65,187,188],{},[71,189],{"value":99},[47,191,192,195,199],{},[65,193,194],{},"ASRock",[65,196,197],{},[71,198],{"value":172},[65,200,201,89,203],{},[71,202],{"value":78},[71,204],{"value":99},[47,206,207,210,217],{},[65,208,209],{},"Microsoft Surface",[65,211,212,213,216],{},"Hold ",[24,214,215],{},"Volume Down"," while pressing power",[65,218,212,219,216],{},[24,220,221],{},"Volume Up",[14,223,224,225,228],{},"On some laptops you hold ",[71,226],{"value":227},"Fn"," together with the F key.",[230,231,232],"tip",{},[14,233,234,237,238,241,242,245,246,249],{},[24,235,236],{},"Coming from Windows?"," If the key doesn't work because Windows starts too fast, let Windows open\nthe menu for you: ",[24,239,240],{},"Settings → System → Recovery → Advanced startup → Restart now",", then choose\n",[24,243,244],{},"Use a device"," and pick your USB stick. (On Windows 10: ",[24,247,248],{},"Settings → Update & Security →\nRecovery",".)",[14,251,252,253,257,258,261,262,265],{},"If your stick appears twice, for example as ",[254,255,256],"code",{},"UEFI: SanDisk"," and ",[254,259,260],{},"SanDisk",", choose the ",[24,263,264],{},"UEFI","\nentry. Computers that came with Windows 10 or 11 use UEFI, and LeiOS should be installed the same\nway as the system that is already there.",[29,267,269],{"id":268},"the-leios-boot-menu","The LeiOS boot menu",[14,271,272],{},"After a moment you see the LeiOS boot menu. It starts the first entry automatically after a few\nseconds.",[41,274,275,285],{},[44,276,277],{},[47,278,279,282],{},[50,280,281],{},"Entry",[50,283,284],{},"What it does",[60,286,287,298,308],{},[47,288,289,295],{},[65,290,291,294],{},[24,292,293],{},"Live system"," (first entry)",[65,296,297],{},"Starts LeiOS in English.",[47,299,300,305],{},[65,301,302],{},[24,303,304],{},"Live system (German)",[65,306,307],{},"Starts LeiOS in German.",[47,309,310,315],{},[65,311,312],{},[24,313,314],{},"Advanced options…",[65,316,317],{},"Contains a memory test (memtest86+) for checking faulty RAM.",[14,319,320],{},"The language of the live system doesn't matter for the installation: you choose the language of\nyour installed LeiOS in the installer.",[29,322,324],{"id":323},"try-the-live-system","Try the live system",[14,326,327],{},"The live system logs you in automatically. Take the chance to check that your hardware works:",[329,330,331,338,344],"ul",{},[332,333,334,337],"li",{},[24,335,336],{},"Wi-Fi:"," click the network icon in the bottom-right corner of the screen.",[332,339,340,343],{},[24,341,342],{},"Sound:"," play a video in Firefox and check the volume icon.",[332,345,346],{},[24,347,348],{},"Display, touchpad, keyboard, webcam and external monitors.",[14,350,351],{},"Everything you do in the live system is lost when you restart, and your disks are not touched.\nRunning from a USB stick is slower than an installed LeiOS, so don't judge the speed yet.",[353,354,355],"note",{},[14,356,357,358,361],{},"If the screen locks while you try LeiOS, the live system's password is ",[254,359,360],{},"live",".",[14,363,364,365,368,369,361],{},"When you are ready, double-click ",[24,366,367],{},"Install LeiOS"," on the desktop. See\n",[18,370,372],{"href":371},"\u002Fdocs\u002Fgetting-started\u002Finstallation","Installation",[29,374,376],{"id":375},"secure-boot","Secure Boot",[14,378,379,381],{},[24,380,376],{}," is a firmware feature that only starts boot software signed by a trusted key. It\nprotects you from malware that hides in the boot process. Most computers sold with Windows 8 or\nnewer have it turned on.",[14,383,384,385,388,389,392],{},"LeiOS works ",[24,386,387],{},"with Secure Boot turned on",". It uses the same signed boot chain as Debian: Debian's\n",[254,390,391],{},"shim"," (signed by Microsoft's third-party UEFI certificate, both the 2011 and the 2023 version),\nDebian's signed GRUB boot loader, and Debian's signed kernel. Your installed LeiOS uses the same\nchain, so you can leave Secure Boot on.",[394,395,397],"h3",{"id":396},"when-secure-boot-blocks-leios","When Secure Boot blocks LeiOS",[14,399,400,401,404,405,409,410,413,414,89,417,420],{},"Some computers trust ",[24,402,403],{},"only Microsoft's Windows certificate"," out of the box, not the third-party\ncertificate that Linux distributions use. This includes many PCs sold as ",[406,407,408],"em",{},"Secured-core PCs"," and\nrecent Lenovo ThinkPads. On those, the stick doesn't start and you see a message such as ",[24,411,412],{},"Secure\nBoot Violation",", ",[24,415,416],{},"Invalid signature detected",[24,418,419],{},"Image failed to verify",", or the computer\nsimply starts Windows again.",[14,422,423],{},"Fix it in the firmware setup (press the firmware key from the table above while the computer\nstarts):",[425,426,427,449],"ol",{},[332,428,429,432,433,436,437,440,441,444,445,448],{},[24,430,431],{},"Allow the third-party certificate."," Look for a setting like ",[24,434,435],{},"Allow Microsoft 3rd Party UEFI\nCA"," (Lenovo: ",[406,438,439],{},"Security → Secure Boot",") or ",[24,442,443],{},"Microsoft & 3rd party CA"," (Surface: ",[406,446,447],{},"Security →\nSecure Boot → Change configuration","). Turn it on, save and restart. This is the best option:\nSecure Boot stays on.",[332,450,451,454,455,457,458,461,462,89,465,468],{},[24,452,453],{},"Or turn Secure Boot off."," If your firmware has no such option, set ",[24,456,376],{}," to\n",[24,459,460],{},"Disabled",", usually under ",[406,463,464],{},"Security",[406,466,467],{},"Boot",". LeiOS works the same without it.",[470,471,472],"warning",{},[14,473,474,477,478,481,482,485,486,493,494,361],{},[24,475,476],{},"Using Windows with BitLocker?"," Many Windows 11 computers encrypt the disk with BitLocker\n(",[406,479,480],{},"device encryption","). After you change Secure Boot settings, Windows may ask for the ",[24,483,484],{},"BitLocker\nrecovery key"," on its next start. Find your key before you change anything: it is in your Microsoft\naccount at ",[18,487,492],{"href":488,"rel":489,"target":491},"https:\u002F\u002Faka.ms\u002Fmyrecoverykey",[490],"nofollow","_blank","aka.ms\u002Fmyrecoverykey",", or in Windows\nunder ",[24,495,496],{},"Manage BitLocker → Back up your recovery key",[394,498,500],{"id":499},"check-the-secure-boot-state","Check the Secure Boot state",[14,502,503],{},"On LeiOS, this command shows whether Secure Boot is on:",[505,506,511],"pre",{"className":507,"code":508,"language":509,"meta":510,"style":510},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","mokutil --sb-state\n","bash","",[254,512,513],{"__ignoreMap":510},[514,515,518,522],"span",{"class":516,"line":517},"line",1,[514,519,521],{"class":520},"sBMFI","mokutil",[514,523,525],{"class":524},"sfazB"," --sb-state\n",[14,527,528,529,361],{},"Extra drivers that are built on your computer, such as NVIDIA's graphics driver, have to be signed\nwith your own key when Secure Boot is on. That takes one extra step, described in\n",[18,530,532],{"href":531},"\u002Fdocs\u002Fusage\u002Fhardware-and-drivers#drivers-and-secure-boot","Hardware and Drivers",[29,534,536],{"id":535},"troubleshooting","Troubleshooting",[14,538,539,542,543,546,547,550],{},[24,540,541],{},"The USB stick doesn't appear in the boot menu.","\nWrite the stick again (with Rufus, choose ",[406,544,545],{},"DD Image mode","), then try another USB port, preferably\ndirectly on the computer and not through a hub. In the firmware setup, check that USB boot is\nallowed and turn off ",[24,548,549],{},"Fast Boot"," if it exists.",[14,552,553,556,557,560,561,564,565,568,569,361],{},[24,554,555],{},"The computer starts Windows every time.","\nUse the boot menu key or Windows' ",[406,558,559],{},"Advanced startup"," as described above. Also turn off Windows'\n",[24,562,563],{},"Fast Startup",": ",[406,566,567],{},"Control Panel → Power Options → Choose what the power buttons do → Change\nsettings that are currently unavailable",", then clear ",[24,570,571],{},"Turn on fast startup",[14,573,574,577,578,581,582,585,586,589,590,593,594,597,598,89,601,603,604,361],{},[24,575,576],{},"The screen stays black or freezes after choosing the live system.","\nThis happens with some graphics cards, most often NVIDIA. In the LeiOS boot menu, highlight the\nfirst entry and press ",[71,579],{"value":580},"E",". In the line that starts with ",[254,583,584],{},"linux",", add ",[254,587,588],{},"nomodeset"," after\n",[254,591,592],{},"splash",", then press ",[71,595],{"value":596},"Ctrl"," + ",[71,599],{"value":600},"X",[71,602],{"value":134}," to start. After\ninstalling, set up the right driver as described in ",[18,605,532],{"href":606},"\u002Fdocs\u002Fusage\u002Fhardware-and-drivers",[14,608,609,612,613,618],{},[24,610,611],{},"Still stuck?"," Ask on ",[18,614,617],{"href":615,"rel":616,"target":491},"https:\u002F\u002Fdiscord.gg\u002F8YC5BXjCc5",[490],"Discord"," and mention your\ncomputer model.",[620,621,622],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":510,"searchDepth":624,"depth":624,"links":625},2,[626,627,628,629,634],{"id":31,"depth":624,"text":32},{"id":268,"depth":624,"text":269},{"id":323,"depth":624,"text":324},{"id":375,"depth":624,"text":376,"children":630},[631,633],{"id":396,"depth":632,"text":397},3,{"id":499,"depth":632,"text":500},{"id":535,"depth":624,"text":536},"Start your computer from the LeiOS USB stick, try the live system, and get past Secure Boot and firmware settings.","md",{},{"title":639},"Booting & Secure Boot","\u002Fdocs\u002Fgetting-started\u002Fbooting-and-secure-boot",{"title":5,"description":635},"docs\u002Fgetting-started\u002Fbooting-and-secure-boot","e3MC73pNIIrRce_9wrqxk0p2qTeEJWsJ7Z49yIYPJ4g",1794173483863]