ubuntuusers.de

Failed to open /efi/ubuntu not found

Status: Ungelöst | Ubuntu-Version: Ubuntu 22.04 (Jammy Jellyfish)
Antworten |

bruno79

Anmeldungsdatum:
20. Mai 2025

Beiträge: Zähle...

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

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 18220

Wohnort: in deinem Browser, hier auf dem Bildschirm

Livesystem booten, gucken was mit der EFI-Partition ist. Gibt es die nicht oder ist da was kaputt, ist nix mit Booten.

Teste, ob man die im Livesystem mounten kann.

Ebenfalls in die SMART-Werte gucken, ob es Auffälliges gibt. Mit badblocks die ganze Platte zu testen wird auch nicht schaden.

bruno79

(Themenstarter)

Anmeldungsdatum:
20. Mai 2025

Beiträge: 11

Wie schaue ich was mit der EFI Partition ist? Mit dem Live System versuchte ich die Platte md0 zu mounten, das ging nicht. Weis aber nicht ob ich da etwas falsch gemacht habe.

Was braucht ihr um mir da zu helfen, Bitte mit Commands?

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 18220

Wohnort: in deinem Browser, hier auf dem Bildschirm

lsblk

bruno79

(Themenstarter)

Anmeldungsdatum:
20. Mai 2025

Beiträge: 11

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ubuntu@ubuntu:~$ lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
loop0       7:0    0   1.7G  1 loop  /rofs
loop1       7:1    0 522.8M  1 loop  
loop2       7:2    0 895.7M  1 loop  
loop3       7:3    0     4K  1 loop  /snap/bare/5
loop4       7:4    0 210.4M  1 loop  /snap/thunderbird/644
loop5       7:5    0 112.4M  1 loop  /snap/ubuntu-desktop-bootstrap/315
loop6       7:6    0  73.9M  1 loop  /snap/core22/1748
loop7       7:7    0  44.4M  1 loop  /snap/snapd/23545
loop8       7:8    0  10.8M  1 loop  /snap/snap-store/1248
loop9       7:9    0   568K  1 loop  /snap/snapd-desktop-integration/253
loop10      7:10   0  91.7M  1 loop  /snap/gtk-common-themes/1535
loop11      7:11   0  11.1M  1 loop  /snap/firmware-updater/167
loop12      7:12   0   516M  1 loop  /snap/gnome-42-2204/202
loop13      7:13   0   258M  1 loop  /snap/firefox/5751
sda         8:0    0   5.5T  0 disk  
└─sda1      8:1    0   5.5T  0 part  
  └─md127   9:127  0   5.5T  0 raid1 
sdb         8:16   0   5.5T  0 disk  
└─sdb1      8:17   0   5.5T  0 part  
  └─md127   9:127  0   5.5T  0 raid1 
sdc         8:32   0 465.8G  0 disk  
├─sdc1      8:33   0     1G  0 part  
└─sdc2      8:34   0 464.7G  0 part  
sdd         8:48   1   7.2G  0 disk  
├─sdd1      8:49   1   5.9G  0 part  /cdrom
├─sdd2      8:50   1     5M  0 part  
├─sdd3      8:51   1   300K  0 part  
└─sdd4      8:52   1   1.3G  0 part  /var/crash
                                     /var/log
sr0        11:0    1  1024M  0 rom  

bruno79

(Themenstarter)

Anmeldungsdatum:
20. Mai 2025

Beiträge: 11

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
ubuntu@ubuntu:~$ sudo parted -l
Model: ATA ST6000NE0023-2EX (scsi)
Disk /dev/sda: 6001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  6001GB  6001GB  ext4               raid


Model: ATA ST6000NE0023-2EX (scsi)
Disk /dev/sdb: 6001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  6001GB  6001GB  ext4               raid


Model: ATA ST3500630AS (scsi)
Disk /dev/sdc: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1128MB  1127MB  fat32              boot, esp
 2      1128MB  500GB   499GB   ext4


Model:  USB DISK 2.0 (scsi)
Disk /dev/sdd: 7744MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name       Flags
 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


Model: Generic Flash Disk (scsi)
Disk /dev/sde: 4089MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start  End     Size    Type     File system  Flags
 1      410kB  4089MB  4089MB  primary  fat32


Model: Linux Software RAID Array (md)
Disk /dev/md127: 6001GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags: 

Number  Start  End     Size    File system  Flags
 1      0.00B  6001GB  6001GB  ext3

bruno79

(Themenstarter)

Anmeldungsdatum:
20. Mai 2025

Beiträge: 11

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ubuntu@ubuntu:~$ sudo mdadm -D /dev/md127
/dev/md127:
           Version : 1.2
     Creation Time : Thu Oct 25 18:25:18 2018
        Raid Level : raid1
        Array Size : 5860388864 (5.46 TiB 6.00 TB)
     Used Dev Size : 5860388864 (5.46 TiB 6.00 TB)
      Raid Devices : 2
     Total Devices : 2
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Tue May 20 13:33:30 2025
             State : clean 
    Active Devices : 2
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : bitmap

              Name : ubuntu-server:0
              UUID : fb609904:8216031d:40551281:59fe8cda
            Events : 51024

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1

bruno79

(Themenstarter)

Anmeldungsdatum:
20. Mai 2025

Beiträge: 11

1
2
3
4
5
ubuntu@ubuntu:~$ cat /proc/mdstat
Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] [raid10] 
md127 : active (auto-read-only) raid1 sda1[0] sdb1[1]
      5860388864 blocks super 1.2 [2/2] [UU]
      bitmap: 0/44 pages [0KB], 65536KB chunk

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 18220

Wohnort: in deinem Browser, hier auf dem Bildschirm

sdc1 dürfte die ESP vom installierten System sein. Kann man die mounten und sind die Verzeichnisse da?

bruno79

(Themenstarter)

Anmeldungsdatum:
20. Mai 2025

Beiträge: 11

Ich hab ein

mount /dev/sdc1 /media

gemacht, die kann ich mounten.

Inhalt: EFI ubuntu

bruno79

(Themenstarter)

Anmeldungsdatum:
20. Mai 2025

Beiträge: 11

Was mir Sorge bereitet ist, dass ich vom Raid nur md127 sehe, da sollte doch noch ein md0 oder so sein? Da sind alle Daten darauf die mir sehr wichtig sind. Das Raid1 scheint in Ordnung zu sein so wie ich das sehe, oder bin ich da falsch?

Was brauch Ihr noch um mir hierzu zu helfen?

Bilder

bruno79

(Themenstarter)

Anmeldungsdatum:
20. Mai 2025

Beiträge: 11

Weiter noch etwas was ich nicht ganz verstehe:

Im Boot-Repair Summary steht noch:

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

Muss das jetzt nachträglich noch manuell ausgeführt werden oder würde ich damit etwas falsch machen?

Danke für eure Hilfe Grüsse Bruno }}}

schwarzheit Team-Icon

Supporter
Avatar von schwarzheit

Anmeldungsdatum:
31. Dezember 2007

Beiträge: 4638

Codeblock und den Vorschaubutton benutzen. So ein Post ist ne Frechheit für jeden Helfer.

bruno79

(Themenstarter)

Anmeldungsdatum:
20. Mai 2025

Beiträge: 11

Danke für deine freundliche Nachricht. Entschuldige, ja ich habe den falschen Button erwischt. Ich Poste es hier nochmals.

Weiter noch etwas was ich nicht ganz verstehe:

Im Boot-Repair Summary steht noch:

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:

1
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. (

1
purge grub* packages from /media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3

) GRUB is still present. Please try again. (

1
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

Muss das jetzt nachträglich noch manuell ausgeführt werden oder würde ich damit etwas falsch machen?

Danke für eure Hilfe! Grüsse Bruno

von.wert

Anmeldungsdatum:
23. Dezember 2020

Beiträge: 11999

bruno79, wenn Du nicht mitdenkst und potentiellen Helfern solche Codehaufen zumutest (fast richtig angefangen hast Du mal), selbst nach Hinweis, wirst Du Dir keine Freunde machen.

Nur mal als Beispiel Dein Fettdruck, wie er richtig formtiert (soweit das wiederherstellbar ist, Du hast auch immer wieder zusätzliche "n" drin) mehr oder weniger aussehen müßte, hier ungequotet:

The following NEW packages will be installed:
grub-efi
0 upgraded, 1 newly installed, 0 to remove and 64 not upgraded.
DEBCHECK deb
OK,
grub-efi
DEBCHECK deb
OK
Please type:
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3" 
dpkg --configure -a
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
apt-get install -fy
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
apt-get install -y mdadm
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
mdadm --assemble --scan
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
apt-get install -y dmraid
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
dmraid -ay
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
apt-get purge --allow-remove-essential -y grub-com*
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
apt-get purge --allow-remove-essential -y grub2-com*
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
apt-get purge --allow-remove-essential -y shim-signed
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
apt-get purge --allow-remove-essential -y grub-common:*
sudo chroot "/media/ubuntu/8ef1ee28-d4aa-4de8-81fe-5484189a46c3"
apt-get purge --allow-remove-essential -y grub2-common:*
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

Davon abgesehen wird hier stets von Prompt bis Prompt in einen Codeblock gecopypastet, also von Befehlszeile über Ausgabe bis zum neuen leeren Prompt als sichtbaren Abschluß.

Im übrigen haben wir 2025.

Antworten |