[{"data":1,"prerenderedAt":490},["ShallowReactive",2],{"\u002Fdocs\u002Fgetting-started\u002Fcreate-a-bootable-usb":3},{"id":4,"title":5,"body":6,"description":481,"extension":482,"meta":483,"navigation":484,"path":486,"seo":487,"stem":488,"__hash__":489},"docs\u002Fdocs\u002Fgetting-started\u002Fcreate-a-bootable-usb.md","Create a Bootable USB Drive",{"type":7,"value":8,"toc":474},"minimark",[9,13,17,36,438,442,448,461,470],[10,11,5],"h1",{"id":12},"create-a-bootable-usb-drive",[14,15,16],"p",{},"To try or install LeiOS, you start your computer from a USB stick that has the LeiOS image on it.\nThis page shows you how to make one. You need:",[18,19,20,33],"ul",{},[21,22,23,24,28,29,32],"li",{},"a USB stick with ",[25,26,27],"strong",{},"at least 4 GB"," (8 GB is better). ",[25,30,31],{},"Everything on it will be erased",", so copy\noff anything you want to keep;",[21,34,35],{},"a computer with Windows, macOS or Linux to create the stick. It can be the computer you want to\ninstall LeiOS on.",[37,38,40,45,59,70,74,81,225,228,232,244,426,430],"steps",{"level":39},"2",[41,42,44],"h2",{"id":43},"download-the-image","Download the image",[14,46,47,48,53,54,58],{},"Get the LeiOS image from the ",[49,50,52],"a",{"href":51},"\u002Fdownload","download page",". It is a single file of about 3 GB, named\nlike ",[55,56,57],"code",{},"leios-live-\u003Cversion>-amd64.hybrid.iso",".",[14,60,61,62,69],{},"You only need the newest image. Older images are kept in the\n",[49,63,68],{"href":64,"rel":65,"target":67},"https:\u002F\u002Fgit.leicraftmc.de\u002FLeiOS\u002Flive\u002Fimages\u002F-\u002Fpackages",[66],"nofollow","_blank","image archive",", but there\nis no reason to use them: LeiOS updates itself to the newest release after installing anyway.",[41,71,73],{"id":72},"check-the-download","Check the download",[14,75,76,77,80],{},"This step is optional, but it saves time if the download went wrong. The download page shows a\n",[25,78,79],{},"SHA-256 checksum",", a long string of letters and numbers that is unique to the file. Calculate the\nchecksum of the file you downloaded and compare the two. If they are identical, the file is complete\nand unchanged.",[82,83,84,148,196],"tabs",{},[85,86,89,96],"tabs-item",{"icon":87,"label":88},"i-lucide-monitor","Windows",[14,90,91,92,95],{},"Open ",[25,93,94],{},"PowerShell"," (search for it in the Start menu), go to your Downloads folder and calculate\nthe checksum:",[97,98,103],"pre",{"className":99,"code":100,"language":101,"meta":102,"style":102},"language-powershell shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","cd $HOME\\Downloads\nGet-FileHash .\\leios-live-*.iso -Algorithm SHA256\n","powershell","",[55,104,105,121],{"__ignoreMap":102},[106,107,110,114,118],"span",{"class":108,"line":109},"line",1,[106,111,113],{"class":112},"sTEyZ","cd ",[106,115,117],{"class":116},"sMK4o","$",[106,119,120],{"class":112},"HOME\\Downloads\n",[106,122,124,128,131,134,137,140,143,145],{"class":108,"line":123},2,[106,125,127],{"class":126},"s2Zo4","Get-FileHash",[106,129,130],{"class":112}," .\\leios",[106,132,133],{"class":116},"-",[106,135,136],{"class":112},"live",[106,138,139],{"class":116},"-*",[106,141,142],{"class":112},".iso ",[106,144,133],{"class":116},[106,146,147],{"class":112},"Algorithm SHA256\n",[85,149,152,158],{"icon":150,"label":151},"i-lucide-laptop","macOS",[14,153,91,154,157],{},[25,155,156],{},"Terminal"," and run:",[97,159,163],{"className":160,"code":161,"language":162,"meta":102,"style":102},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","cd ~\u002FDownloads\nshasum -a 256 leios-live-*.iso\n","bash",[55,164,165,174],{"__ignoreMap":102},[106,166,167,170],{"class":108,"line":109},[106,168,169],{"class":126},"cd",[106,171,173],{"class":172},"sfazB"," ~\u002FDownloads\n",[106,175,176,180,183,187,190,193],{"class":108,"line":123},[106,177,179],{"class":178},"sBMFI","shasum",[106,181,182],{"class":172}," -a",[106,184,186],{"class":185},"sbssI"," 256",[106,188,189],{"class":172}," leios-live-",[106,191,192],{"class":112},"*",[106,194,195],{"class":172},".iso\n",[85,197,200,203],{"icon":198,"label":199},"i-lucide-terminal","Linux",[14,201,202],{},"Open a terminal and run:",[97,204,206],{"className":160,"code":205,"language":162,"meta":102,"style":102},"cd ~\u002FDownloads\nsha256sum leios-live-*.iso\n",[55,207,208,214],{"__ignoreMap":102},[106,209,210,212],{"class":108,"line":109},[106,211,169],{"class":126},[106,213,173],{"class":172},[106,215,216,219,221,223],{"class":108,"line":123},[106,217,218],{"class":178},"sha256sum",[106,220,189],{"class":172},[106,222,192],{"class":112},[106,224,195],{"class":172},[14,226,227],{},"If the checksums are different, download the image again.",[41,229,231],{"id":230},"write-the-image-to-the-usb-stick","Write the image to the USB stick",[14,233,234,235,239,240,243],{},"The LeiOS image is a ",[236,237,238],"em",{},"hybrid ISO",": it has to be written to the stick byte for byte. ",[25,241,242],{},"Copying the\nfile onto the stick does not work."," Use one of the tools below.",[82,245,246,318,348],{},[85,247,248,254,283,289],{"icon":87,"label":88},[14,249,250,253],{},[25,251,252],{},"balenaEtcher"," is the simplest option:",[255,256,257,264,271,277],"ol",{},[21,258,259,260,58],{},"Download and install ",[49,261,252],{"href":262,"rel":263,"target":67},"https:\u002F\u002Fetcher.balena.io",[66],[21,265,266,267,270],{},"Click ",[25,268,269],{},"Flash from file"," and choose the LeiOS image.",[21,272,266,273,276],{},[25,274,275],{},"Select target"," and choose your USB stick. Double-check it is the right one.",[21,278,266,279,282],{},[25,280,281],{},"Flash!"," and wait until it has written and verified the stick.",[14,284,285,288],{},[25,286,287],{},"Rufus"," works too:",[255,290,291,299,309],{},[21,292,293,294,298],{},"Download ",[49,295,287],{"href":296,"rel":297,"target":67},"https:\u002F\u002Frufus.ie",[66]," and start it.",[21,300,301,302,305,306,270],{},"Choose your USB stick under ",[25,303,304],{},"Device",", then click ",[25,307,308],{},"SELECT",[21,310,266,311,314,315,58],{},[25,312,313],{},"START",". When Rufus asks how to write the image, choose ",[25,316,317],{},"Write in DD Image mode",[85,319,320,341],{"icon":150,"label":151},[255,321,322,327,331,336],{},[21,323,259,324,58],{},[49,325,252],{"href":262,"rel":326,"target":67},[66],[21,328,266,329,270],{},[25,330,269],{},[21,332,266,333,335],{},[25,334,275],{}," and choose your USB stick.",[21,337,266,338,340],{},[25,339,281],{}," and enter your password when asked.",[14,342,343,344,347],{},"When macOS says that the disk is not readable after flashing, click ",[25,345,346],{},"Eject",". That is expected:\nmacOS can't read the LeiOS file system.",[85,349,350,363,378,416],{"icon":198,"label":199},[14,351,352,353,356,357,359,360,58],{},"On LeiOS and other KDE desktops, use ",[25,354,355],{},"ISO Image Writer"," (install it from Discover if it is\nmissing), or ",[25,358,252],{},". On GNOME, right-click the image and choose ",[25,361,362],{},"Open With → Disk\nImage Writer",[14,364,365,366,369,370,373,374,377],{},"In a terminal, you can use ",[55,367,368],{},"dd",". First find your stick's device name with ",[55,371,372],{},"lsblk",", for example\n",[55,375,376],{},"\u002Fdev\u002Fsdb",", and make sure it is not one of your internal disks:",[97,379,381],{"className":160,"code":380,"language":162,"meta":102,"style":102},"lsblk\nsudo dd if=leios-live-*.iso of=\u002Fdev\u002FsdX bs=4M status=progress oflag=sync\n",[55,382,383,388],{"__ignoreMap":102},[106,384,385],{"class":108,"line":109},[106,386,387],{"class":178},"lsblk\n",[106,389,390,393,396,399,401,404,407,410,413],{"class":108,"line":123},[106,391,392],{"class":178},"sudo",[106,394,395],{"class":172}," dd",[106,397,398],{"class":172}," if=leios-live-",[106,400,192],{"class":112},[106,402,403],{"class":172},".iso",[106,405,406],{"class":172}," of=\u002Fdev\u002FsdX",[106,408,409],{"class":172}," bs=4M",[106,411,412],{"class":172}," status=progress",[106,414,415],{"class":172}," oflag=sync\n",[14,417,418,419,422,423,425],{},"Replace ",[55,420,421],{},"\u002Fdev\u002FsdX"," with your stick. ",[55,424,368],{}," writes to whatever device you name, without asking.",[41,427,429],{"id":428},"start-your-computer-from-the-stick","Start your computer from the stick",[14,431,432,433,437],{},"Your LeiOS stick is ready. Continue with ",[49,434,436],{"href":435},"\u002Fdocs\u002Fgetting-started\u002Fbooting-and-secure-boot","Booting and Secure Boot","\nto start the live system.",[41,439,441],{"id":440},"troubleshooting","Troubleshooting",[14,443,444,447],{},[25,445,446],{},"The stick shows only a small partition or looks empty on Windows.","\nThat is normal after flashing: Windows can't read the LeiOS file systems. Don't let Windows format\nthe stick when it offers to.",[14,449,450,453,454,457,458,58],{},[25,451,452],{},"I want to use the stick for files again.","\nOn Windows, open ",[25,455,456],{},"Disk Management",", delete the stick's partitions and create a new one, or use\nRufus or balenaEtcher to write a different image. On LeiOS, use ",[25,459,460],{},"Partition Manager",[14,462,463,466,467,58],{},[25,464,465],{},"The computer doesn't start from the stick.","\nSee ",[49,468,436],{"href":469},"\u002Fdocs\u002Fgetting-started\u002Fbooting-and-secure-boot#troubleshooting",[471,472,473],"style",{},"html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}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);}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":102,"searchDepth":123,"depth":123,"links":475},[476,477,478,479,480],{"id":43,"depth":123,"text":44},{"id":72,"depth":123,"text":73},{"id":230,"depth":123,"text":231},{"id":428,"depth":123,"text":429},{"id":440,"depth":123,"text":441},"Download the LeiOS image, check that it arrived intact, and write it to a USB stick on Windows, macOS or Linux.","md",{},{"title":485},"Create a Bootable USB","\u002Fdocs\u002Fgetting-started\u002Fcreate-a-bootable-usb",{"title":5,"description":481},"docs\u002Fgetting-started\u002Fcreate-a-bootable-usb","2vPVkIukSRu6_IJ_6KslnPrcVF0bZC61bCyXYnhjaGQ",1794173483862]