Skip to content

搞英语 → 看世界

翻译英文优质信息和名人推特

Menu
  • 首页
  • 作者列表
  • 独立博客
  • 专业媒体
  • 名人推特
  • 邮件列表
  • 关于本站
Menu

当 GPU 死机并且无法从 BIOS 执行此操作时,如何强制 Linux 设备从 USB 启动

Posted on 2024-12-29

tl;dr:使用efibootmgr

假设您有一个带有 Linux ISO 的 Kingston DataTraveler,并且想要从它启动,但您的 GPU 损坏或发生其他情况,您无法查看输出。这就是你要做的:

使用sudo efibootmgr列出潜在的引导目标:

 $ sudo efibootmgr BootCurrent: 0005 Timeout: 1 seconds BootOrder: 0005,0000,0006 Boot0000* Linux Boot Manager HD(3,GPT,d540ada8-f3df-4783-b774-01f46cb8246f,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi) Boot0005* UEFI OS HD(3,GPT,d540ada8-f3df-4783-b774-01f46cb8246f,0x800,0xff800)/File(\EFI\BOOT\BOOTX64.EFI)0000424f Boot0006* UEFI: KingstonDataTraveler 3.0, Partition 2 PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(2,0)/USB(0,0)/HD(2,GPT,39313032-3630-4130-b232-303133343532,0x150,0x1680)0000424f

Kingston DataTraveler 是 Boot0006,因此告诉 efibootmgr 将 0006 标记为下一个引导目标:

 $ sudo efibootmgr --bootnext 0006 BootNext: 0006 BootCurrent: 0005 Timeout: 1 seconds BootOrder: 0005,0000,0006 Boot0000* Linux Boot Manager HD(3,GPT,d540ada8-f3df-4783-b774-01f46cb8246f,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi) Boot0005* UEFI OS HD(3,GPT,d540ada8-f3df-4783-b774-01f46cb8246f,0x800,0xff800)/File(\EFI\BOOT\BOOTX64.EFI)0000424f Boot0006* UEFI: KingstonDataTraveler 3.0, Partition 2 PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(2,0)/USB(0,0)/HD(2,GPT,39313032-3630-4130-b232-303133343532,0x150,0x1680)0000424f

然后重新启动。您将从 USB 驱动器启动。

原文: https://xeiaso.net/notes/2024/force-linux-boot-usb/

本站文章系自动翻译,站长会周期检查,如果有不当内容,请点此留言,非常感谢。
  • Abhinav
  • Abigail Pain
  • Adam Fortuna
  • Alberto Gallego
  • Alex Wlchan
  • Answer.AI
  • Arne Bahlo
  • Ben Carlson
  • Ben Kuhn
  • Bert Hubert
  • Bits about Money
  • Brian Krebs
  • ByteByteGo
  • Chip Huyen
  • Chips and Cheese
  • Christopher Butler
  • Colin Percival
  • Cool Infographics
  • Dan Sinker
  • David Walsh
  • Dmitry Dolzhenko
  • Dustin Curtis
  • eighty twenty
  • Elad Gil
  • Ellie Huxtable
  • Ethan Dalool
  • Ethan Marcotte
  • Exponential View
  • FAIL Blog
  • Founder Weekly
  • Geoffrey Huntley
  • Geoffrey Litt
  • Greg Mankiw
  • Henrique Dias
  • Hypercritical
  • IEEE Spectrum
  • Investment Talk
  • Jaz
  • Jeff Geerling
  • Jonas Hietala
  • Josh Comeau
  • Lenny Rachitsky
  • Li Haoyi
  • Liz Danzico
  • Lou Plummer
  • Luke Wroblewski
  • Maggie Appleton
  • Matt Baer
  • Matt Stoller
  • Matthias Endler
  • Mert Bulan
  • Mind Matters
  • Mostly metrics
  • Naval Ravikant
  • News Letter
  • NextDraft
  • Non_Interactive
  • Not Boring
  • One Useful Thing
  • Phil Eaton
  • Product Market Fit
  • Readwise
  • ReedyBear
  • Robert Heaton
  • Rohit Patel
  • Ruben Schade
  • Sage Economics
  • Sam Altman
  • Sam Rose
  • selfh.st
  • Shtetl-Optimized
  • Simon schreibt
  • Slashdot
  • Small Good Things
  • Steph Ango
  • Steve Blank
  • Taylor Troesh
  • Telegram Blog
  • The Macro Compass
  • The Pomp Letter
  • thesephist
  • Thinking Deep & Wide
  • Tim Kellogg
  • Understanding AI
  • Wes Kao
  • 英文媒体
  • 英文推特
  • 英文独立博客
©2025 搞英语 → 看世界 | Design: Newspaperly WordPress Theme