Outils pour utilisateurs

Outils du site


hardware:lenovo:thinkstation_s30:erreur_demarrage_debian_uefi

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
hardware:lenovo:thinkstation_s30:erreur_demarrage_debian_uefi [2024/11/08 10:07] yoannhardware:lenovo:thinkstation_s30:erreur_demarrage_debian_uefi [2024/12/10 10:12] (Version actuelle) yoann
Ligne 46: Ligne 46:
   * Depuis l'onglet Startup, UEFI Boot Mode=UEFI ; CSM Support=Disabled   * Depuis l'onglet Startup, UEFI Boot Mode=UEFI ; CSM Support=Disabled
   * <key>F10</key> Save and Exit   * <key>F10</key> Save and Exit
 +
 +Le démarrage échoue toujours. Il est cependant possible de [[sysadmin:grub2:booter_linux_manuellement|démarrer le système via une clé usb]] :
 +
 +<code bash>
 +set prefix=(hd1,gpt1)/boot/grub
 +set root=(md/0)
 + 
 +insmod normal
 +normal
 + 
 +insmod linux
 +linux /vmlinuz root=/dev/md0
 +initrd /initrd.img
 + 
 +boot
 +</code>
 +
 +Après MAJ firmware et une fois le système démarré, **efibootmgr** retourne des informations cohérentes :
 +
 +<file>
 +BootCurrent: 0000
 +Timeout: 1 seconds
 +BootOrder: 0000,000E,000A,000B,000C,000F,000D
 +Boot0000* debian        HD(1,GPT,8a9e57fd-1bc5-4848-abda-2d08de433cb5,0x800,0xee000)/File(\EFI\debian\shimx64.efi)
 +Boot000A* HL-DT-STDVD-RAM GHA2N BBS(CDROM,,0x0)AMBO
 +Boot000B* ST4000NM0035         03X4440      LENOVO      BBS(HD,,0x0)AMBO
 +Boot000C* WDC WD4000FYYZ-88UL1B0        BBS(HD,,0x0)AMBO
 +Boot000D* IBA GE Slot 00C8 v1372        BBS(Network,,0x0)AMBO
 +Boot000E* UEFI: KingstonDataTraveler 3.0PMAP    PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x2aa57217,0x58e0,0x4a60)AMBO
 +Boot000F* KingstonDataTraveler 3.0PMAP  BBS(HD,,0x0)AMBO
 +</file> 
 +
 +
 +A tester :
 +<file>
 +If the Debian .efi loader is copied to the EFI system partition at /EFI/BOOT/BOOTX64.EFI then it should be booted automatically without an NVRAM boot entry.
 +
 +Reference: http://www.rodsbooks.com/efi-bootloaders/fallback.html
 +
 +The --removable flag for `grub-install` does this.
 +
 +The only problem then is that the firmware will almost certainly favour Windows' renegade bootmgfw.efi loader but the OP may be able to use the firmware boot menu to switch between the operating systems (or move bootmgfw.efi and make a custom boot entry for it, which is what I do).
 +</file>
 +
 +<code bash>
 +grub-install --removable /dev/sda --target=x86_64-efi --efi-directory=/boot/efi/
 +grub-install --removable /dev/sdb --target=x86_64-efi --efi-directory=/boot/efi/
 +
 +efibootmgr --create --disk /dev/sda --part 1 --label debian1 --loader '\EFI\BOOT\BOOTX64.EFI' AMBO
 +</code>
 +
 +Les entrées crées via efibootmgr n'apparaissent pas dans le menu UEFI au démarrage, elles ne semblent apparaître que lorsque grub-install utilise l'option %%--removable%% et que le loader est placé  :
 +
 +<code bash>
 +efibootmgr --create --disk /dev/sda --part 1 --label debian1 --loader '\EFI\BOOT\BOOTX64.EFI' AMBO
 +</code>
 +
 +<note>
 +Après redémarrage les entrées du boot uefi sont modifiées par le BIOS.
 +</note>
 +
 +Avant redémarrage :
 +
 +Après redémarrage :
  
  
Ligne 53: Ligne 117:
   * [[https://forums.linuxmint.com/viewtopic.php?t=427207| Astuces de migration vers Mint22 sur ThinkStation S30 (forums.linuxmint.com 08/2024)]]   * [[https://forums.linuxmint.com/viewtopic.php?t=427207| Astuces de migration vers Mint22 sur ThinkStation S30 (forums.linuxmint.com 08/2024)]]
   * [[https://pcsupport.lenovo.com/be/fr/products/workstations/thinkstation-s-series-workstations/thinkstation-s30/downloads/driver-list/component?name=BIOS|Support Lenovo liste des MAJ BIOS pour ThinkStation S30]]    * [[https://pcsupport.lenovo.com/be/fr/products/workstations/thinkstation-s-series-workstations/thinkstation-s30/downloads/driver-list/component?name=BIOS|Support Lenovo liste des MAJ BIOS pour ThinkStation S30]] 
 +  * https://forums.debian.net/viewtopic.php?p=680550&sid=8cb79190bfef9fe824469cb5f6d9c63d#p680550
 +
hardware/lenovo/thinkstation_s30/erreur_demarrage_debian_uefi.1731060449.txt.gz · Dernière modification : 2024/11/08 10:07 de yoann