Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


admin_grundlagen:systemsicherung

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
Nächste Überarbeitung Beide Seiten, nächste Überarbeitung
admin_grundlagen:systemsicherung [2019/11/08 17:05]
ingo_wichmann
admin_grundlagen:systemsicherung [2019/11/09 12:42]
ingo_wichmann
Zeile 332: Zeile 332:
   chroot /tmp/system /bin/bash   chroot /tmp/system /bin/bash
  
 +=== EFI Variablen schreiben ===
   efi_label='​Name der Distribution'​   efi_label='​Name der Distribution'​
   distro='​DISTRIBUTION'​   distro='​DISTRIBUTION'​
   efibootmgr --create --disk "​$BOOT_DEVICE"​ --part "​$esp_partition_id"​ --label 'UEFI OS' --loader '​\EFI\BOOT\BOOTX64.EFI'​   efibootmgr --create --disk "​$BOOT_DEVICE"​ --part "​$esp_partition_id"​ --label 'UEFI OS' --loader '​\EFI\BOOT\BOOTX64.EFI'​
   efibootmgr --create --disk "​$BOOT_DEVICE"​ --part "​$esp_partition_id"​ --label "​$efi_label"​ --loader '​\EFI\$distro\SHIMX64.EFI'​   efibootmgr --create --disk "​$BOOT_DEVICE"​ --part "​$esp_partition_id"​ --label "​$efi_label"​ --loader '​\EFI\$distro\SHIMX64.EFI'​
 +
 +=== Grub2 konfigurieren ===
  
 In CentOS 8 BLSCFG abschalten: In CentOS 8 BLSCFG abschalten:
Zeile 345: Zeile 348:
 TODO: Lösung mit BLSCFG finden TODO: Lösung mit BLSCFG finden
  
 +== CentOS ==
   grub2-mkconfig -o /​boot/​efi/​EFI/​$distro/​grub.cfg   grub2-mkconfig -o /​boot/​efi/​EFI/​$distro/​grub.cfg
 +
 +== Debian, Ubuntu ==
 +  dpkg-reconfigure grub-efi-amd64
 +oder
 +  update-grub2
 +
 +=== EFI Variablen prüfen ===
 +  efibootmgr -v
 +
 +  * Partition unique GUID: muss zur ESP Partition passen
 +  * The path of the EFI image to boot must use \ (backslash) instead of / (forward slash) as path separator.
  
 ==== Bootloader in mbr schreiben ==== ==== Bootloader in mbr schreiben ====
Zeile 399: Zeile 414:
 //If you are using gdisk, set the partition type to ‘0xEF02’. With partitioning programs that require setting the GUID directly, it should be ‘21686148-6449-6e6f-744e656564454649’. //)) //If you are using gdisk, set the partition type to ‘0xEF02’. With partitioning programs that require setting the GUID directly, it should be ‘21686148-6449-6e6f-744e656564454649’. //))
  
 +==== /boot auf separater Partition ====
 +Bei Debian mit UEFI anpassen: ''/​boot/​efi/​EFI/​debian/​grub.cfg''​
 ==== Bootloader grub ==== ==== Bootloader grub ====
 ''/​boot/​grub/​menu.lst''​ : ''/​boot/​grub/​menu.lst''​ :
admin_grundlagen/systemsicherung.txt · Zuletzt geändert: 2024/02/23 17:11 von ingo_wichmann