Hallo liebe Community Ich habe folgendes RIESEN Problem und bin auf Eure Hilfe angewiesen!
Mein Nextcloud Server (mit all meinen Daten) hatte eines Morgens ein Problem und das Linux reagierte nicht mehr. Ich musste in mittels Power Button zwangsweise neu starten. Danach funktionierte alles wieder bis zum nächsten Morgen. Dasselbe wieder, nur nachdem ich nochmals auf die unschöne Art den Server neu starten musste, startete er nur noch im abgesicherten Modus mit der Meldung "failed to open /efi/ubuntu not found". Es scheint das er ein Problem mit der UEFI Firmware oder dem GRUB Bootloader hat. Nur leider habe ich da keine Ahnung wie man dies reparieren kann. Ich bekam ein Tip das ich es mit dem "Boot-Repair Uitility" versuchen soll. Das hatte ich dann auch versucht, er bootet immernoch nicht und das "Boot-Repair Summary" verstehe ich nicht was ich da jetzt tun sollte.
Was braucht Ihr noch für Infos um mir hierzu helfen zu können?
Auszug des Boot-Repair Summary:
Syntax highlighting: bash View raw boot-repair-4ppa2081 [20250520_0815] ============================= Boot Repair Summary ============================== User choice: [dmraid] packages may interfere with MDraid. Do you want to remove them? no =================== blkid (filtered) before raid activation ==================== /dev/sda1: UUID="fb609904-8216-031d-4055-128159fe8cda" UUID_SUB="b194a4b6-d216-ff1d-daef-8ff26ee5a06a" LABEL="ubuntu-server:0" TYPE="linux_raid_member" PARTUUID="ea377837-4689-4178-95bc-172f3f014f64" /dev/sdb1: UUID="fb609904-8216-031d-4055-128159fe8cda" UUID_SUB="701aa8d9-646b-a696-fc28-a3e98404f127" LABEL="ubuntu-server:0" TYPE="linux_raid_member" PARTUUID="3dca6e8f-ef41-46c1-952d-ad09df36f746" /dev/sdc1: UUID="8DDA-FC4B" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="db11df7d-7ba6-4d73-9f84-3559a59b0428" /dev/sdc2: UUID="8ef1ee28-d4aa-4de8-81fe-5484189a46c3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="1bb34b85-cd67-4077-bf9c-854d3c175d1e" /dev/sdd1: BLOCK_SIZE="2048" UUID="2025-02-15-09-15-26-00" LABEL="Ubuntu 24.04.2 LTS amd64" TYPE="iso9660" PARTLABEL="ISO9660" PARTUUID="b0ef6ca3-60d1-4a21-98d8-17c385a8b6f8" /dev/sdd2: SEC_TYPE="msdos" LABEL_FATBOOT="ESP" LABEL="ESP" UUID="B5A5-8010" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="Appended2" PARTUUID="b0ef6ca3-60d1-4a21-98db-17c385a8b6f8" /dev/sdd4: LABEL="writable" UUID="d3137c11-075f-4c76-9b0e-f8dce5e1c9a7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="688206c4-e83a-469f-be03-44e75f72b0a8" /dev/md127: UUID="c7ec35d8-1184-4eff-9fbf-3e2aaa96d1b3" SEC_TYPE="ext2" BLOCK_SIZE="4096" TYPE="ext3" /dev/sdd3: PARTLABEL="Gap1" PARTUUID="b0ef6ca3-60d1-4a21-98da-17c385a8b6f8" ==================================== dmraid ==================================== dmraid -si -c no raid disks No DMRAID disk. User chose to keep dmraid. It may interfere with mdadm. ==================================== mdadm ===================================== mdadm --assemble --scan mdadm --detail --scan ARRAY /dev/md/ubuntu-server:0 metadata=1.2 UUID=fb609904:8216031d:40551281:59fe8cda mdadm: No arrays found in config file or automatically modprobe: FATAL: Module efivars not found in directory /lib/modules/6.11.0-17-generic Recommended repair: ____________________________________________________________ The default repair of the Boot-Repair utility will purge (in order to enable-raid) and reinstall the grub-efi of sdc2, using the following options: sdc1/boot/efi Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file /boot/efi added in sdc2/fstab Mount /dev/sdc1 on /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3/boot/efi chroot /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 apt-get -y update Purge the GRUB of /dev/sdc2 grub-efi available The following NEW packages will be installed: grub-efi 0 upgraded, 1 newly installed, 0 to remove and 64 not upgraded. DEBCHECK debOK, grub-efi DEBCHECK debOK Please type: sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" dpkg --configure -ansudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" apt-get install -fynsudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" apt-get install -y mdadmnsudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" mdadm --assemble --scannsudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" apt-get install -y dmraidnsudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" dmraid -aynsudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" apt-get purge --allow-remove-essential -y grub-com*nsudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" apt-get purge --allow-remove-essential -y grub2-com*nsudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" apt-get purge --allow-remove-essential -y shim-signednsudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" apt-get purge --allow-remove-essential -y grub-common:*nsudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" apt-get purge --allow-remove-essential -y grub2-common:*n GRUB is still present. Please try again. (purge grub* packages from /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3) GRUB is still present. Please try again. (purge grub* packages from /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3) Then type: sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" apt-get install -y grub-efi Unhide GRUB boot menu in sdc2/etc/default/grub ===================== Reinstall the grub-efi of /dev/sdc2 ====================== chroot /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 grub-install --version grub-install (GRUB) 2.06-2ubuntu7.2 modprobe: FATAL: Module efivars not found in directory /lib/modules/6.11.0-17-generic chroot /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 modprobe efivars chroot /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 efibootmgr -v (filtered) before grub install EFI variables are not supported on this system. chroot /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 uname -r 6.11.0-17-generic chroot /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 grub-install --efi-directory=/boot/efi --target=x86_64-efi Installing for x86_64-efi platform. grub-install: warning: EFI variables cannot be set on this system. grub-install: warning: You will have to complete the GRUB setup manually. Installation finished. No error reported. df /dev/sdc1 mv /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3/boot/efi/EFI/Boot/bootx64.efi /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3/boot/efi/EFI/Boot/bkpbootx64.efi cp /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3/boot/efi/efi/ubuntu/grubx64.efi /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3/boot/efi/EFI/Boot/bootx64.efi chroot /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 grub-install --efi-directory=/boot/efi --target=x86_64-efi Installing for x86_64-efi platform. grub-install: warning: EFI variables cannot be set on this system. grub-install: warning: You will have to complete the GRUB setup manually. Installation finished. No error reported. chroot /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 efibootmgr -v (filtered) after grub install EFI variables are not supported on this system. Warning: NVram is locked (Ubuntu not found in efibootmgr). chroot /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 update-grub Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Found linux image: /boot/vmlinuz-5.15.0-140-generic Found initrd image: /boot/initrd.img-5.15.0-140-generic Found linux image: /boot/vmlinuz-5.15.0-139-generic Found initrd image: /boot/initrd.img-5.15.0-139-generic Unhide GRUB boot menu in sdc2/boot/grub/grub.cfg Boot successfully repaired. Locked-NVram detected. Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.5 LTS entry (sdc1/efi/ubuntu/grubx64.efi file) ! ============================ Boot Info After Repair ============================ => No boot loader is installed in the MBR of /dev/sda. => No boot loader is installed in the MBR of /dev/sdb. => No boot loader is installed in the MBR of /dev/sdc. sda1: __________________________________________________________________________ File system: linux_raid_member Boot sector type: - Boot sector info: sdb1: __________________________________________________________________________ File system: linux_raid_member Boot sector type: - Boot sector info: sdc1: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg sdc2: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 22.04.5 LTS Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub md/ubuntu-server:0: ____________________________________________________________ File system: ext3 Boot sector type: - Boot sector info: Mounting failed: mount: /mnt/BootInfo/MDRaid/md/ubuntu-server:0: mount(2) system call failed: Structure needs cleaning. dmesg(1) may have more information after failed mount system call. sdd: ___________________________________________________________________________ File system: iso9660 Boot sector type: Grub2 (v1.99-2.00) Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of sdd and looks at sector 0 of the same hard drive for core.img, but core.img can not be found at this location. Mounting failed: mount: /mnt/BootInfo/FD/sdd: /dev/sdd already mounted or mount point busy. dmesg(1) may have more information after failed mount system call. ================================ 1 OS detected ================================= OS#1 (linux): Ubuntu 22.04.5 LTS on sdc2 ================================ Host/Hardware ================================= CPU architecture: 64-bit Video: Turks PRO [Radeon HD 6570/7570/8550 / R5 230] from Advanced Micro Devices, Inc. [AMD/ATI] Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.2 LTS, noble, x86_64) ===================================== UEFI ===================================== BIOS/UEFI firmware: J01 v02.15(2.15) from Hewlett-Packard The firmware is EFI-compatible, and is set in EFI-mode for this live-session. SecureBoot disabled - This system doesn't support Secure Boot. BootCurrent: 0007 Timeout: 0 seconds No BootOrder is set; firmware will attempt recovery 1535d97a530fe1aa6f0d87717547d309 sdc1/BOOT/bkpbootx64.efi 1535d97a530fe1aa6f0d87717547d309 sdc1/BOOT/bootx64.efi 1d43d986c265d8c455d020e4a1f28c52 sdc1/BOOT/fbx64.efi 1d260ff1255f189ab621209796ee2fed sdc1/BOOT/mmx64.efi 1535d97a530fe1aa6f0d87717547d309 sdc1/ubuntu/grubx64.efi 1d260ff1255f189ab621209796ee2fed sdc1/ubuntu/mmx64.efi 07e25dcaf57c776875f78fa36827c58e sdc1/ubuntu/shimx64.efi ============================= Drive/Partition Info ============================= Disks info: ____________________________________________________________________ sdc : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes Partitions info (1/3): _________________________________________________________ sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far sdc2 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ng, update-grub, end-after-100GB md127 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far Partitions info (2/3): _________________________________________________________ sdc1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat sdc2 : isnotESP, fstab-has-bad-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4 md127 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext3 Partitions info (3/3): _________________________________________________________ sdc1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc sdc2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdc md127 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda fdisk -l (filtered): ___________________________________________________________ Disk sda: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors Disk identifier: 187B4816-8A5B-41B6-929E-1597791B69EC Start End Sectors Size Type sda1 2048 11721043967 11721041920 5.5T Linux RAID Disk sdb: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors Disk identifier: 27F9226C-9072-419E-A312-64CE65918439 Start End Sectors Size Type sdb1 2048 11721043967 11721041920 5.5T Linux RAID Disk sdc: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk identifier: 323BD580-5043-412D-9EC1-A3BE793B2D09 Start End Sectors Size Type sdc1 2048 2203647 2201600 1G EFI System sdc2 2203648 976771071 974567424 464.7G Linux filesystem Disk md127: 5.46 TiB, 6001038196736 bytes, 11720777728 sectors Disk sdd: 7.21 GiB, 7743995904 bytes, 15124992 sectors Disk identifier: B0EF6CA3-60D1-4A21-98D9-17C385A8B6F8 Start End Sectors Size Type sdd1 64 12378291 12378228 5.9G Microsoft basic data sdd2 12378292 12388435 10144 5M EFI System sdd3 12388436 12389035 600 300K Microsoft basic data sdd4 12390400 15124479 2734080 1.3G Linux filesystem parted -lm (filtered): _________________________________________________________ sda:6001GB:scsi:512:4096:gpt:ATA ST6000NE0023-2EX:; 1:1049kB:6001GB:6001GB:ext4::raid; sdb:6001GB:scsi:512:4096:gpt:ATA ST6000NE0023-2EX:; 1:1049kB:6001GB:6001GB:ext4::raid; sdc:500GB:scsi:512:512:gpt:ATA ST3500630AS:; 1:1049kB:1128MB:1127MB:fat32::boot, esp; 2:1128MB:500GB:499GB:ext4::; sdd:7744MB:scsi:512:512:gpt: USB DISK 2.0:; 1:32.8kB:6338MB:6338MB::ISO9660:hidden, msftdata; 2:6338MB:6343MB:5194kB::Appended2:boot, esp; 3:6343MB:6343MB:307kB::Gap1:hidden, msftdata; 4:6344MB:7744MB:1400MB:ext4::; md127:6001GB:md:512:4096:loop:Linux Software RAID Array:; 1:0.00B:6001GB:6001GB:ext3::; blkid (filtered): ______________________________________________________________ NAME FSTYPE UUID PARTUUID LABEL PARTLABEL sda └─sda1 linux_raid_member fb609904-8216-031d-4055-128159fe8cda ea377837-4689-4178-95bc-172f3f014f64 ubuntu-server:0 └─md127 ext3 c7ec35d8-1184-4eff-9fbf-3e2aaa96d1b3 sdb └─sdb1 linux_raid_member fb609904-8216-031d-4055-128159fe8cda 3dca6e8f-ef41-46c1-952d-ad09df36f746 ubuntu-server:0 └─md127 ext3 c7ec35d8-1184-4eff-9fbf-3e2aaa96d1b3 sdc ├─sdc1 vfat 8DDA-FC4B db11df7d-7ba6-4d73-9f84-3559a59b0428 └─sdc2 ext4 8ef1ee28-d4aa-4de8-81fe-5484189a46c3 1bb34b85-cd67-4077-bf9c-854d3c175d1e sdd iso9660 2025-02-15-09-15-26-00 Ubuntu 24.04.2 LTS amd64 ├─sdd1 iso9660 2025-02-15-09-15-26-00 b0ef6ca3-60d1-4a21-98d8-17c385a8b6f8 Ubuntu 24.04.2 LTS amd64 ISO9660 ├─sdd2 vfat B5A5-8010 b0ef6ca3-60d1-4a21-98db-17c385a8b6f8 ESP Appended2 ├─sdd3 b0ef6ca3-60d1-4a21-98da-17c385a8b6f8 Gap1 └─sdd4 ext4 d3137c11-075f-4c76-9b0e-f8dce5e1c9a7 688206c4-e83a-469f-be03-44e75f72b0a8 writable Mount points (filtered): _______________________________________________________ Avail Use% Mounted on /dev/sdc1 1G 1% /mnt/boot-sav/sdc1 /dev/sdc2 400.9G 7% /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 /dev/sdd1 0 100% /cdrom efivarfs 42.1K 26% /sys/firmware/efi/efivars Mount options (filtered): ______________________________________________________ /dev/sdc1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro /dev/sdc2 ext4 rw,nosuid,nodev,relatime,errors=remount-ro /dev/sdd1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8 ===================== sdc1/efi/ubuntu/grub.cfg (filtered) ====================== search.fs_uuid 8ef1ee28-d4aa-4de8-81fe-5484189a46c3 root hd2,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg ====================== sdc2/boot/grub/grub.cfg (filtered) ====================== Ubuntu 8ef1ee28-d4aa-4de8-81fe-5484189a46c3 ### END /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_uefi-firmware ### ========================== sdc2/etc/fstab (filtered) =========================== # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sdc2 during curtin installation /dev/disk/by-uuid/8ef1ee28-d4aa-4de8-81fe-5484189a46c3 / ext4 defaults 0 1 # /boot/efi was on /dev/sdc1 during curtin installation /swap.img none swap sw 0 0 /dev/md0 /data ext4 defaults 1 2 //192.168.1.135/photo /media/share_spaceplace/Photo cifs credentials=/root/.synologysmbcredentials,uid=33,gid=33,vers=1.0,nounix //192.168.1.135/music /media/share_spaceplace/Music cifs credentials=/root/.synologysmbcredentials,uid=33,gid=33,vers=1.0,nounix //192.168.1.135/video /media/share_spaceplace/Movie cifs credentials=/root/.synologysmbcredentials,uid=33,gid=33,vers=1.0,nounix //192.168.1.135/ocr_myfiles /media/share_spaceplace/ocr_myfiles cifs credentials=/root/.synologysmbcredentials,uid=33,gid=33,vers=1.0,nounix //192.168.1.135/ocr_myhandwritten /media/share_spaceplace/ocr_myhandwritten cifs credentials=/root/.synologysmbcredentials,uid=33,gid=33,vers=1.0,nounix //192.168.1.135/invoices /media/share_spaceplace/invoices cifs credentials=/root/.synologysmbcredentials,auto,users,vers=1.0,nounix //192.168.1.135/homes/bruno /media/share_spaceplace/Desktop cifs credentials=/root/.synologysmbcredentials,uid=33,gid=33,vers=1.0,nounix UUID=8DDA-FC4B /boot/efi vfat defaults 0 1 ======================= sdc2/etc/default/grub (filtered) ======================= GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=menu GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" GRUB_DISABLE_OS_PROBER=false ==================== sdc2: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) ?? = ?? boot/grub/grub.cfg 1 7.839050293 = 8.417116160 boot/vmlinuz 2 22.632007599 = 24.300933120 boot/vmlinuz-5.15.0-139-generic 1 7.839050293 = 8.417116160 boot/vmlinuz-5.15.0-140-generic 2 22.632007599 = 24.300933120 boot/vmlinuz.old 1 3.978084564 = 4.271435776 boot/initrd.img 7 7.673248291 = 8.239087616 boot/initrd.img-5.15.0-139-generic 1 3.978084564 = 4.271435776 boot/initrd.img-5.15.0-140-generic 7 7.673248291 = 8.239087616 boot/initrd.img.old 1 ===================== sdc2: ls -l /etc/grub.d/ (filtered) ====================== -rwxr-xr-x 1 root root 18683 Dec 18 2022 10_linux -rwxr-xr-x 1 root root 43031 Dec 18 2022 10_linux_zfs -rwxr-xr-x 1 root root 14387 Dec 18 2022 20_linux_xen -rwxr-xr-x 1 root root 13369 Dec 18 2022 30_os-prober -rwxr-xr-x 1 root root 1372 Dec 18 2022 30_uefi-firmware -rwxr-xr-x 1 root root 214 Dec 18 2022 40_custom -rwxr-xr-x 1 root root 215 Dec 18 2022 41_custom New paste Poster: Your name (30 characters max) Syntax: Expiration: Approximate and not guaranteed Content: © 2025 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd. Legal info Go to the top of the page