Grub-Hinweis

Hi zusammen,

ich nutze als Bootmanager Grub und heute wurde dieses anscheinend beim
Update Native Packages - 1. Eintrag im Welcome v25.3.1-1 aktualisiert.

Dabei wurde diese Meldung angezeigt:
:: To use the new features provided in this GRUB update, it is recommended
to install it to the MBR or UEFI. Due to potential configuration
incompatibilities, it is advised to run both, installation and generation
of configuration:
# grub-install …
# grub-mkconfig -o /boot/grub/grub.cfg

Ich nehme an ich sollte dieses Update und die Config vor dem nΓ€chsten Start des Systems durchfΓΌhren, richtig?

Hinweis: Ich habe OS-Prober aktiv, damit ich das alte Win11 im Notfall booten kann, da da noch Daten/Anwendungen sind, die ich ab und an brauche.

Ich habe Grub bei der Installation des Systems in UEFI installieren lassen.
Wie ergΓ€nze ich den ersten Befehl nun korrekt damit alles wieder so ist, wie gehabt (also auch mit OS-Prober fΓΌrs alte Win11)?

Hier auch gleich ein paar relevante Befehle zur Information.

[petermb@EndeavourOSNeo-Machine /]$ lsblk -f
NAME      FSTYPE FSVER LABEL                    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                                 
└─sda1    ntfs         Samsung_860_EVO_SATA-SSD 7C50627A50623B52                                    
sdb                                                                                                 
β”œβ”€sdb1                                                                                              
└─sdb2    ntfs         Samsung_870_QVO_SATA-SSD 1C4C54294C53FFC6                      854,6G     8% /run/media/petermb/Samsung_870_QVO_SATA-SSD
sdc                                                                                                 
└─sdc1    ext4   1.0   HDD_Daten2               63f24bf1-f6cf-49d2-9974-7b14e59b47c8  863,8G     1% /run/media/petermb/HDD_Daten2
sdd                                                                                                 
└─sdd1    vfat   FAT32 Austausch                CB1B-933E                               443G    52% /run/media/petermb/Austausch
sde                                                                                                 
└─sde1    ntfs         WD My Passport 5 TB      BCB6C347B6C3013E                        1,6T    65% /run/media/petermb/WD My Passport 5 TB
sdf                                                                                                 
└─sdf1    ext4   1.0   Toshiba4GB-MX            aa995c3d-704a-43d2-adb8-ab668df31a07    2,9T    14% /run/media/petermb/Toshiba4GB-MX
nvme1n1                                                                                             
└─nvme1n1p1
          ntfs         Games_und_Modding        205D6F8114AA6B77                                    
nvme0n1                                                                                             
β”œβ”€nvme0n1p1
β”‚         vfat   FAT32 EFI-SYSTEM               D8BD-3C46                             221,1M    12% /boot/efi
β”œβ”€nvme0n1p2
β”‚         ext4   1.0   endeavouros              769af07a-8736-423d-ab30-75dead2b6f9d  113,4G    71% /
β”œβ”€nvme0n1p3
β”‚                                                                                                   
└─nvme0n1p4
          ntfs                                  BA9A9B5C9A9B13CB  
[petermb@EndeavourOSNeo-Machine /]$ bootctl status
Failed to read "/boot/efi/EFI/systemd": Keine Berechtigung
Failed to open '/boot/efi//loader/loader.conf': Keine Berechtigung
System:
      Firmware: n/a (n/a)
 Firmware Arch: x64
   Secure Boot: disabled
  TPM2 Support: yes
  Measured UKI: no
  Boot into FW: supported

Current Boot Loader:
      Product: GRUB 2.12
     Features: βœ— Boot counting
               βœ— Menu timeout control
               βœ— One-shot menu timeout control
               βœ— Default entry control
               βœ— One-shot entry control
               βœ— Support for XBOOTLDR partition
               βœ— Support for passing random seed to OS
               βœ— Load drop-in drivers
               βœ— Support Type #1 sort-key field
               βœ— Support @saved pseudo-entry
               βœ— Support Type #1 devicetree field
               βœ— Enroll SecureBoot keys
               βœ— Retain SHIM protocols
               βœ— Menu can be disabled
               βœ— Multi-Profile UKIs are supported
               βœ“ Boot loader set partition information
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32

Random Seed:
 System Token: not set
       Exists: no

Available Boot Loaders on ESP:
          ESP: /boot/efi (/dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32)
         File: (can't access /boot/efi: Keine Berechtigung)

Boot Loaders Listed in EFI Variables:
        Title: endeavouros
           ID: 0x0002
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32
         File: └─/EFI/ENDEAVOUROS/GRUBX64.EFI

        Title: Windows Boot Manager
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32
         File: └─/EFI/MICROSOFT/BOOT/BOOTMGFW.EFI

        Title: UEFI OS
           ID: 0x0001
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32
         File: └─/EFI/BOOT/BOOTX64.EFI

[petermb@EndeavourOSNeo-Machine /]$ 

[petermb@EndeavourOSNeo-Machine /]$ efibootmgr
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001
Boot0000* Windows Boot Manager  HD(1,GPT,e13374c0-e569-4283-a047-26419bdd0b32,0x800,0x80000)/\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000050100000010000000040000007fff0400
Boot0001* UEFI OS       HD(1,GPT,e13374c0-e569-4283-a047-26419bdd0b32,0x800,0x80000)/\EFI\BOOT\BOOTX64.EFI0000424f
Boot0002* endeavouros   HD(1,GPT,e13374c0-e569-4283-a047-26419bdd0b32,0x800,0x80000)/\EFI\ENDEAVOUROS\GRUBX64.EFI
[petermb@EndeavourOSNeo-Machine /]$ 

[petermb@EndeavourOSNeo-Machine /]$ cat /etc/default/grub
# GRUB boot loader configuration

GRUB_DEFAULT='0'
GRUB_TIMEOUT='50'
GRUB_DISTRIBUTOR='EndeavourOS'
GRUB_CMDLINE_LINUX_DEFAULT='nowatchdog nvme_load=YES nvidia_drm.modeset=1 loglevel=3'
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY='true'

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND='/usr/share/endeavouros/splash.png'
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
GRUB_DISABLE_SUBMENU='false'

# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
GRUB_DISABLE_OS_PROBER=false
GRUB_EARLY_INITRD_LINUX_STOCK=''
[petermb@EndeavourOSNeo-Machine /]$ 

Da ich im Moment ein nichtbootbares System nicht riskieren kann (Bewerbungsphase) und morgen frΓΌh direkt weiter arbeiten kΓΆnnen muss, frage ich lieber nochmal nach bzw. bin auf eure Tipps, was ich vielleicht anders oder besser konfigurieren kann gespannt.

Vielen Dank im Voraus.
pete

Guten Morgen,
kann mir keiner einen Tipp geben, wie der 1. Befehl grub-install … bei mir komplettiert werden muss?

This post may help: New grub updates - #4 by manuel

Vielleicht auf diese Weise.

sudo grub-install 
sudo grub-mkconfig -o /boot/grub/grub.cfg

Die zwei Terminalkommandos fΓΌr EFI boot sind (Schritt 1 und 2):

sudo grub-install --no-nvram
sudo grub-mkconfig -o /boot/grub/grub.cfg

Bei EOS gibt es keinen pacman hook fΓΌr das Grub update, der die drei Schritte automatisch durchfΓΌhrt, so wie bei Garuda und Manjaro.
Genau genommen gibt es noch einen dritten Schritt, bei dem die /EFI/ENDEAVOUROS/GRUBX64.EFI kopiert wird zur Fallback /EFI/BOOT/BOOTX64.EFI.
sudo tree /boot/efi (fΓΌr die genauen Pfade)
sudo ls -l /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI (fΓΌr das genaue Versionsdatum pro Datei)
sudo cp /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI (für das Überschreiben der Fallback BOOTX64.EFI wenn diese Àlter ist als die GRUBX64.EFI)

Alle Pfade sind aus Ihrer bootctl oben rauskopiert, bitte bootctl so ausfΓΌhren:
sudo bootctl status

Hier die Ausgabe von sudo bootctl status:

systemd-boot not installed in ESP.
System:
      Firmware: n/a (n/a)
 Firmware Arch: x64
   Secure Boot: disabled
  TPM2 Support: yes
  Measured UKI: no
  Boot into FW: supported

Current Boot Loader:
      Product: GRUB 2.12
     Features: βœ— Boot counting
               βœ— Menu timeout control
               βœ— One-shot menu timeout control
               βœ— Default entry control
               βœ— One-shot entry control
               βœ— Support for XBOOTLDR partition
               βœ— Support for passing random seed to OS
               βœ— Load drop-in drivers
               βœ— Support Type #1 sort-key field
               βœ— Support @saved pseudo-entry
               βœ— Support Type #1 devicetree field
               βœ— Enroll SecureBoot keys
               βœ— Retain SHIM protocols
               βœ— Menu can be disabled
               βœ— Multi-Profile UKIs are supported
               βœ“ Boot loader set partition information
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32

Random Seed:
 System Token: not set
       Exists: no

Available Boot Loaders on ESP:
          ESP: /boot/efi (/dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32)
         File: └─/EFI/BOOT/BOOTX64.EFI

Boot Loaders Listed in EFI Variables:
        Title: endeavouros
           ID: 0x0002
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32
         File: └─/EFI/ENDEAVOUROS/GRUBX64.EFI

        Title: Windows Boot Manager
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32
         File: └─/EFI/MICROSOFT/BOOT/BOOTMGFW.EFI

        Title: UEFI OS
		   ID: 0x0001
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32
         File: └─/EFI/BOOT/BOOTX64.EFI

Boot Loader Entries:
        $BOOT: /boot/efi (/dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32)
        token: endeavouros

0 entries, no entry could be determined as default.
lines 11-61/61 (END)


Soll ich noch die anderen Befehle hier reinschreiben?

Oder jetzt erst

sudo grub-install --no-nvram
sudo grub-mkconfig -o /boot/grub/grub.cfg

ausfΓΌhren und dann den 3. Schritt ?

So, das Grub-Update scheint geklappt zu haben.

Aber bei sudo tree /boot/efi findet er den Befehl nicht.

[petermb@EndeavourOSNeo-Machine ~]$ sudo grub-install --no-nvram
[sudo] Passwort fΓΌr petermb: 
x86_64-efi wird fΓΌr Ihre Plattform installiert.
Installation beendet. Keine Fehler aufgetreten.
[petermb@EndeavourOSNeo-Machine ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
GRUB-Konfigurationsdatei wird erstellt …
Hintergrund gefunden: /usr/share/endeavouros/splash.png
Linux-Abbild gefunden: /boot/vmlinuz-linux
Initrd-Abbild gefunden: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  initramfs-linux-fallback.img
Warnung: Zur Erkennung anderer bootfΓ€higer Partitionen wird os-prober ausgefΓΌhrt.
Dessen Ausgabe wird zur Erkennung bootfΓ€higer Programmdateien und Erzeugen neuer Boot-EintrΓ€ge verwendet.
Windows Boot Manager auf /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi gefunden
BootmenΓΌ-Eintrag fΓΌr UEFI-Firmware-Einstellungen wird hinzugefΓΌgt …
abgeschlossen
[petermb@EndeavourOSNeo-Machine ~]$ sudo tree /boot/efi
sudo: tree: Befehl nicht gefunden
[petermb@EndeavourOSNeo-Machine ~]$ 


Woran liegt das jetzt? Ich bin verwirrt.

Tree installieren mit sudo pacman -S tree

Mit sudo ls -l /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI erhalte ich die folgende Infos:

[petermb@EndeavourOSNeo-Machine ~]$ sudo ls -l /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI
[sudo] Passwort fΓΌr petermb:
-rw-r----- 1 root root 139264 31. Okt 00:49 /boot/efi/EFI/BOOT/BOOTX64.EFI
-rw-r----- 1 root root 155648 2. Apr 12:17 /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI
[petermb@EndeavourOSNeo-Machine ~]$

Wie vorgeschlagen jetzt also die BOOTX64.EFI, mit der GRUBX64.EFI ΓΌberschreiben!

Hier jetzt die Ausgabe von Tree:

[petermb@EndeavourOSNeo-Machine ~]$ sudo tree /boot/efi
/boot/efi
β”œβ”€β”€ EFI
β”‚   β”œβ”€β”€ BOOT
β”‚   β”‚   └── BOOTX64.EFI
β”‚   β”œβ”€β”€ endeavouros
β”‚   β”‚   └── grubx64.efi
β”‚   β”œβ”€β”€ Microsoft
β”‚   β”‚   β”œβ”€β”€ Boot
β”‚   β”‚   β”‚   β”œβ”€β”€ BCD
β”‚   β”‚   β”‚   β”œβ”€β”€ BCD.LOG
β”‚   β”‚   β”‚   β”œβ”€β”€ BCD.LOG1
β”‚   β”‚   β”‚   β”œβ”€β”€ BCD.LOG2
β”‚   β”‚   β”‚   β”œβ”€β”€ bg-BG
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi
β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi
β”‚   β”‚   β”‚   β”œβ”€β”€ BOOTSTAT.DAT
β”‚   β”‚   β”‚   β”œβ”€β”€ boot.stl
β”‚   β”‚   β”‚   β”œβ”€β”€ CIPolicies
β”‚   β”‚   β”‚   β”‚   └── Active
β”‚   β”‚   β”‚   β”‚       β”œβ”€β”€ {5DAC656C-21AD-4A02-AB49-649917162E70}.cip
β”‚   β”‚   β”‚   β”‚       β”œβ”€β”€ {82443e1e-8a39-4b4a-96a8-f40ddc00b9f3}.cip
β”‚   β”‚   β”‚   β”‚       └── {CDD5CB55-DB68-4D71-AA38-3DF2B6473A52}.cip
β”‚   β”‚   β”‚   β”œβ”€β”€ cs-CZ
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ da-DK
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ de-DE
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ el-GR
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ en-GB
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ en-US
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ es-ES
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ es-MX
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ et-EE
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ fi-FI
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ Fonts
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ chs_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ cht_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ jpn_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ kor_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ malgun_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ malgunn_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ meiryo_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ meiryon_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ msjh_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ msjhn_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ msyh_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ msyhn_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ segmono_boot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ segoen_slboot.ttf
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ segoe_slboot.ttf
β”‚   β”‚   β”‚   β”‚   └── wgl4_boot.ttf
β”‚   β”‚   β”‚   β”œβ”€β”€ fr-CA
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ fr-FR
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ hr-HR
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ hu-HU
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ it-IT
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ ja-JP
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_10df.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_10ec.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_1137.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_1414.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_14e4.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_15ad.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_15b3.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_1969.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_19a2.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_1af4.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_02_8086.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_07_1415.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kd_0C_8086.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kdnet_uart16550.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ kdstub.dll
β”‚   β”‚   β”‚   β”œβ”€β”€ ko-KR
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ lt-LT
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ lv-LV
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ memtest.efi
β”‚   β”‚   β”‚   β”œβ”€β”€ nb-NO
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ nl-NL
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ pl-PL
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ pt-BR
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ pt-PT
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ qps-ploc
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ qps-plocm
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ Resources
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootres.dll
β”‚   β”‚   β”‚   β”‚   └── de-DE
β”‚   β”‚   β”‚   β”‚       └── bootres.dll.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ ro-RO
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ ru-RU
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ SecureBootRecovery.efi
β”‚   β”‚   β”‚   β”œβ”€β”€ sk-SK
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ sl-SI
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ sr-Latn-RS
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ sv-SE
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ tr-TR
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ uk-UA
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   └── bootmgr.efi.mui
β”‚   β”‚   β”‚   β”œβ”€β”€ winsipolicy.p7b
β”‚   β”‚   β”‚   β”œβ”€β”€ zh-CN
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚   β”‚   └── memtest.efi.mui
β”‚   β”‚   β”‚   └── zh-TW
β”‚   β”‚   β”‚       β”œβ”€β”€ bootmgfw.efi.mui
β”‚   β”‚   β”‚       β”œβ”€β”€ bootmgr.efi.mui
β”‚   β”‚   β”‚       └── memtest.efi.mui
β”‚   β”‚   └── Recovery
β”‚   β”‚       β”œβ”€β”€ BCD
β”‚   β”‚       β”œβ”€β”€ BCD.LOG
β”‚   β”‚       β”œβ”€β”€ BCD.LOG1
β”‚   β”‚       └── BCD.LOG2
β”‚   └── MX
β”‚       └── grubx64.efi
└── System Volume Information

51 directories, 148 files
[petermb@EndeavourOSNeo-Machine ~]$ 

die Pfade sind /boot/efi/EFI/BOOT/BOOTX64.EFI und /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI.

Also kann jetzt /boot/efi/EFI/BOOT/BOOTX64.EFI mit der neueren /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI aktualisiert werden und dann ist der 3. Schritt auch erledigt?

Ja ist es geschafft. Danach nochmal mit sudo ls -l /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI ΓΌberprΓΌfen ob Versionsdatum gleich ist.
Die Meisten sparen sich Schritt 3, weil Sie vermutlich davon ausgehen, niemals vom Fallback Eintrag ( siehe oben beo bootctl - Title: UEFI OS) zu booten.

So, hab den Befehl ausgefΓΌhrt und der ging durch.

Hier jetzt der Stand von sudo bootctl status danach:

[petermb@EndeavourOSNeo-Machine ~]$ sudo bootctl status
systemd-boot not installed in ESP.
System:
      Firmware: n/a (n/a)
 Firmware Arch: x64
   Secure Boot: disabled
  TPM2 Support: yes
  Measured UKI: no
  Boot into FW: supported

Current Boot Loader:
      Product: GRUB 2.12
     Features: βœ— Boot counting
               βœ— Menu timeout control
               βœ— One-shot menu timeout control
               βœ— Default entry control
               βœ— One-shot entry control
               βœ— Support for XBOOTLDR partition
               βœ— Support for passing random seed to OS
               βœ— Load drop-in drivers
               βœ— Support Type #1 sort-key field
               βœ— Support @saved pseudo-entry
               βœ— Support Type #1 devicetree field
               βœ— Enroll SecureBoot keys
               βœ— Retain SHIM protocols
               βœ— Menu can be disabled
               βœ— Multi-Profile UKIs are supported
               βœ“ Boot loader set partition information
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32

Random Seed:
 System Token: not set
       Exists: no

Available Boot Loaders on ESP:
          ESP: /boot/efi (/dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32)
         File: └─/EFI/BOOT/BOOTX64.EFI

Boot Loaders Listed in EFI Variables:
        Title: endeavouros
           ID: 0x0002
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32
         File: └─/EFI/ENDEAVOUROS/GRUBX64.EFI

        Title: Windows Boot Manager
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32
         File: └─/EFI/MICROSOFT/BOOT/BOOTMGFW.EFI

        Title: UEFI OS
           ID: 0x0001
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32
         File: └─/EFI/BOOT/BOOTX64.EFI

Boot Loader Entries:
        $BOOT: /boot/efi (/dev/disk/by-partuuid/e13374c0-e569-4283-a047-26419bdd0b32)
        token: endeavouros

0 entries, no entry could be determined as default.
[petermb@EndeavourOSNeo-Machine ~]$ 

und von sudo ls -l /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI

[petermb@EndeavourOSNeo-Machine ~]$ sudo ls -l  /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI
[sudo] Passwort fΓΌr petermb: 
-rw-r----- 1 root root 155648  2. Apr 13:32 /boot/efi/EFI/BOOT/BOOTX64.EFI
-rw-r----- 1 root root 155648  2. Apr 12:17 /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI
[petermb@EndeavourOSNeo-Machine ~]$

Damit sollte jetzt alles wieder korrekt sein, so hoffe ich.

Meinen Dank @Goyano

Heute Abend fahre ich das System runter und wieder hoch und dann sehen wir, ob es funktioniert und ich kennzeichne diesen thread dann als gelΓΆst.

Ich hatte das gestern schon gemacht. Da sah das dann als Ergebnis so aus:

❯ sudo ls -l  /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI
-rw-r----- 1 root root 303104 26. MΓ€r 19:25 /boot/efi/EFI/BOOT/BOOTX64.EFI
-rw-r----- 1 root root 303104  1. Apr 20:43 /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI

Dachte, damit wΓ€re das erledigt. Aber nachdem ich nun deinen 3. Schritt

❯ sudo cp /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI

auch noch durchgefΓΌhrt habe, sieht das Ergebnis bei mir so aus:

❯ sudo ls -l  /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI /boot/efi/EFI/BOOT/BOOTX64.EFI
-rw-r----- 1 root root 303104  2. Apr 18:51 /boot/efi/EFI/BOOT/BOOTX64.EFI
-rw-r----- 1 root root 303104  2. Apr 18:49 /boot/efi/EFI/ENDEAVOUROS/GRUBX64.EFI

Damit sollte das nun auch tatsΓ€chlich bei mir passen. Vielen Dank, @Goyano !

1 Like

LΓ€uft. PC kann heruntergefahren werden und fΓ€hrt am nΓ€chsten Tag wieder sauber hoch. Damit ist der thread mit Hinweis auf die LΓΆsung von @Goyano fΓΌr mich als gelΓΆst abgeschlossen.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.