Nach SSD-Tausch kein Multibook mehr

Support-Forum für deutschsprachige Benutzer

Moderator: karlchen

Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
AndreasBa
Level 1
Level 1
Posts: 13
Joined: Sat Apr 01, 2023 3:24 am

Nach SSD-Tausch kein Multibook mehr

Post by AndreasBa »

Hallo liebe Linux-Praktiker,
ich würde gerne mein Linux Mint 21.1 wieder zum starten bekommen. Das ist nach den Austausch der alten M.2 SSD gegen eine größere leider nur noch mit der Super-Grub-CD möglich.

Ich habe ein Lenovo E590 mit zwei SSDs. Auf der ersten ist Windows 10 installiert. Auf der Zweiten ist eine Datenpartition für Windows und dahinter zwei Partitionen für Linux Mint. Die erste Linuxpartition (FAT 32, 512 MB) enthält wohl nur den Bootteil und die zweite Partition (ext4, 100 GB) das Betriebssystem mit Programmen und Daten.

Seitdem ich die erste SSD gegen eine größere ersetzt habe, kann ich Linux nicht mehr über UEFI booten.

Darauf hin habe ich versucht, Grub neu zu installieren. Dabei kommt aber regelmäßig die Fehlermeldung, dass die Änderung nicht durchgeführt werden kann nach einem sudo grub-update. Es klingt nach einem Rechteproblem.

Ich denke, das der Eintrag ubuntu im UEFI-BIOS wohl noch brauchbar ist, da er weiterhin auf die richtige Partition verweist. Doch mit Grub komme ich da nicht weiter.

Unter Windows würde ich jetzt von der Installation-DVD starten und im Terminal den Bootsektor neu schreiben.

Das scheint in Linux aber nicht so einfach zu funktionieren.

Ich hatte auch schon daran gedacht, Linux Mint neu zu installieren. Doch dann ist die ganze Arbeit der letzten Monate darin umsonst gewesen. Auch mit den Rückspielen eines Snapshot bin ich noch nicht vertraut. Da weiß ich nicht, ob es nach dem Rückspielen dann wieder die gleichen Probleme gibt.

Kann mir ein erfahrener Linuxnutzer da einen Tipp geben, wie ich das Problem ohne komplette Neuistallation selbst lösen kann?

Freundliche Grüße aus Niedersachsen,

Andreas
Last edited by LockBot on Sun Oct 01, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AndreasBa
Level 1
Level 1
Posts: 13
Joined: Sat Apr 01, 2023 3:24 am

Re: Nach SSD-Tausch kein Multibook mehr

Post by AndreasBa »

Gerade wollte ich das Linux Mint nochmal booten über die Super-Grub2 Disk um Euch hier mehr Details über das Problem zu geben. Während des Starts hagelte es aber nur Meldungen, dass Verzeichnisse und Partitionen automatisch gelöscht werden. Das bekannte Menü kam jedoch nicht. Ich habe den Vorgang dann hier abgebrochen.

Ich kann nur hoffen, dass es sich hier um einen schlechten Aprilscherz handelt. Der aber vermiest mir schon die Lust, da weiter zu machen.

Die Disk hatte ich von https://sourceforge.net/projects/supergrub2/ heruntergeladen. Da gehe ich davon aus, das es sich hier nicht um Malware handelt.

Traurig,

Andreas
User avatar
ehtron
Level 10
Level 10
Posts: 3364
Joined: Thu Apr 14, 2016 8:15 am
Location: Germany / Baltic Sea
Contact:

Re: Nach SSD-Tausch kein Multibook mehr

Post by ehtron »

Hi :)
normalerweise cloned man eine platte 1:1 auf die neue. z.b. mit clonzilla.
dann macht man die anpassungen.

ich würde es mit bootrepair auf der live versuchen.
Lg. Ehtron :)
Keine Hilfe bei fehlender System / Desktop Angabe.
Ich gebe Hilfe zur Selbsthilfe.
AndreasBa
Level 1
Level 1
Posts: 13
Joined: Sat Apr 01, 2023 3:24 am

Re: Nach SSD-Tausch kein Multibook mehr

Post by AndreasBa »

Vielen Dank für die Antwort. Die alte SSD hatte ich auch auf die neue geclont. Windows 10 funktioniert ja auch sofort.
Mir ist der Bezug der neuen m.2 SSD (sda1) zur zweiten SataSSD (sdb) nicht klar.
Im UEFI sollte grub doch gleich von der SATA-SSD gebootet werden, wie zuvor auch.
Zumal ja auch grub darauf zuvor funktionierte. Offenbar war grub ja weiterhin unverändert auf diesem Laufwerk.

Ich konnte ja über die Super-Grub-Disk grub starten. Anschließend hatte ich auch Boot-repair ausgeführt. Leider hatte das keinen Erfolg.

Secureboot ist übrigens auch deaktiviert.

Morgen werde ich nochmal versuchen von der Super-Grub-Disk zu starten. Ich habe heute keine Lust, das Datum vorzustellen.
Hoffentlich ist dieser wirklich schlechte Scherz der Bootdisk dann vorbei. Darüber kann ich leider nicht lachen.
User avatar
ehtron
Level 10
Level 10
Posts: 3364
Joined: Thu Apr 14, 2016 8:15 am
Location: Germany / Baltic Sea
Contact:

Re: Nach SSD-Tausch kein Multibook mehr

Post by ehtron »

Hi :)
normalerweise klemmt man nach erfolgreiche clone die quell platte ja auch ab und stellt alles passend ein.

dann partitoniert man die quell platte entsprechend der neuen nutzung.
Lg. Ehtron :)
Keine Hilfe bei fehlender System / Desktop Angabe.
Ich gebe Hilfe zur Selbsthilfe.
AndreasBa
Level 1
Level 1
Posts: 13
Joined: Sat Apr 01, 2023 3:24 am

Re: Nach SSD-Tausch kein Multibook mehr

Post by AndreasBa »

Hallo Ehtron,
genau so hatte ich es auch gemacht. Die zweite SSD mit Linux Mint war auch schon vorher drin.
Die erste m.2 SSD wurde lediglich gegen eine größere ersetzt und auf diese cloned.

Hatte ich das hier nicht so auch beschrieben?

Freundliche Grüße,

Andreas
AndreasBa
Level 1
Level 1
Posts: 13
Joined: Sat Apr 01, 2023 3:24 am

Re: Nach SSD-Tausch kein Multibook mehr

Post by AndreasBa »

und da hier logs mehr aussagen als tausend Worte, hänge ich hier mal die LOG von boot-repair nach der automatischen Reparatur von grub mit an.

boot-repair-4ppa2056 [20230402_1222]

============================= Boot Repair Summary ==============================






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi of
sda6,
using the following options: sda5/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups


rm /boot/efi/efi/Microsoft/Boot/bootmgfw.efi /boot/efi/efi/Microsoft/Boot/bootmgfw.efi.grb
rm /boot/efi/efi/Microsoft/Boot/bootx64.efi /boot/efi/efi/Microsoft/Boot/bootx64.efi.grb
rm /boot/efi/efi/Boot/bootx64.efi
mv /boot/efi/efi/Boot/bkpbootx64.efi /boot/efi/efi/Boot/bootx64.efi
sda6/boot/efi not empty

======================== Reinstall the grub-efi of sda6 ========================

grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.1
modprobe efivars

efibootmgr -v before grub install
BootCurrent: 001C
Timeout: 0 seconds
BootOrder: 0022,0000,001C,001D,001E,001F,0020,0021,001B
Boot0000* Windows Boot Manager HD(1,MBR,0x0,0x683ab800,0x100000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}..._................
Boot0001 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0010 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0011 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0012 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0013 Regulatory Information FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* IDER BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
Boot0018* IDER BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
Boot0019* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot001A* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot001B* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001C* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001D* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001E* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001F* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0020* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0021* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0022* ubuntu HD(1,GPT,cb8d1df8-74fe-4b94-b5be-39197ba84873,0x800,0x82000)/File(EFIubuntushimx64.efi)

uname -r
5.15.0-69-generic

grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: Internal error.
grub-install: error: failed to register the EFI boot entry: Operation not permitted.
Exit code: 1
df /dev/sda5
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi

grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: Internal error.
grub-install: error: failed to register the EFI boot entry: Operation not permitted.
Exit code: 1

/sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --recheck
Installing for x86_64-efi platform.
/sbin/grub-install: warning: Internal error.
/sbin/grub-install: error: failed to register the EFI boot entry: Operation not permitted.

/sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-nvram
Installing for x86_64-efi platform.
Installation finished. No error reported.

efibootmgr -v after grub install
BootCurrent: 001C
Timeout: 0 seconds
BootOrder: 0022,0000,001C,001D,001E,001F,0020,0021,001B
Boot0000* Windows Boot Manager HD(1,MBR,0x0,0x683ab800,0x100000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}..._................
Boot0001 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0010 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0011 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0012 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0013 Regulatory Information FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* IDER BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
Boot0018* IDER BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
Boot0019* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot001A* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot001B* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001C* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001D* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001E* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001F* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0020* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0021* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0022* ubuntu HD(1,GPT,cb8d1df8-74fe-4b94-b5be-39197ba84873,0x800,0x82000)/File(EFIubuntushimx64.efi)
Warning: NVram was not modified.

update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/60_mint-theme.cfg'
Sourcing file `/etc/default/grub.d/63_mint-theme-2k.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
/usr/sbin/grub-probe: error: failed to get canonical path of `/boot/grub/fonts/UbuntuMono32.pf2'.
No path or device is specified.
Usage: grub-probe [OPTION...] [OPTION]... [PATH|DEVICE]
Try 'grub-probe --help' or 'grub-probe --usage' for more information.

Bootsektor wurde erfolgreich repariert.

Sie können Ihren Rechner nun neu starten.
Please do not forget to make your UEFI firmware boot on the Linux Mint 21 entry (sda5/efi/ubuntu/grubx64.efi file) !


============================ Boot Info After Repair ============================

=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:

modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> libparted MBR boot code is installed in the MBR of /dev/sdb.

nvme0n1p1: _____________________________________________________________________

File system: vfat
Boot sector type: Windows 8/10/11/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /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 /efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi

nvme0n1p2: _____________________________________________________________________

File system:
Boot sector type: -
Boot sector info:

nvme0n1p3: _____________________________________________________________________

File system: BitLocker
Boot sector type: Unknown
Boot sector info:

nvme0n1p4: _____________________________________________________________________

File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

nvme0n1p5: _____________________________________________________________________

File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

sda1: __________________________________________________________________________

File system: BitLocker
Boot sector type: Unknown
Boot sector info:

sda2: __________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________________________________

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/grubx64.efi
/efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg /efi/Microsoft/Boot/grubx64.efi

sda6: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 21
Boot files: /etc/fstab /etc/default/grub

sdb1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:


================================ 1 OS detected =================================

OS#1: Linux Mint 21 on sda6

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: WhiskeyLake-U GT2 [UHD Graphics 620] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] from Intel Corporation Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-69-generic root=UUID=ccceb689-b564-4228-ba9d-1324b5bb1842 ro
df -Th / : /dev/sda6 ext4 96G 35G 56G 38% /

===================================== UEFI =====================================

BIOS/UEFI firmware: R0YET50W (1.33 )(1.33) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 001C
Timeout: 0 seconds
BootOrder: 0022,0000,001C,001D,001E,001F,0020,0021,001B
Boot0000* Windows Boot Manager HD(1,MBR,0x0,0x683ab800,0x100000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}..._................
Boot0001 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0010 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0011 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0012 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0013 Regulatory Information FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* IDER BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
Boot0018* IDER BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
Boot0019* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot001A* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot001B* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001C* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001D* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001E* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001F* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot0020* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot0021* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0022* ubuntu HD(1,GPT,cb8d1df8-74fe-4b94-b5be-39197ba84873,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)

728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/Boot/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271 nvme0n1p1/Boot/fbx64.efi
fdafb5eece6caeccb788c946a28e6872 nvme0n1p1/Boot/mmx64.efi
3795ef72a4ed0369ca44e711527904bf nvme0n1p1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872 nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/ubuntu/shimx64.efi
ece9e6ab33dac67f2f8d9d68547fd181 nvme0n1p1/Microsoft/Boot/bootmgfw.efi
dd7958dfc0ef1de2a545ccb2390fca97 nvme0n1p1/Microsoft/Boot/bootmgr.efi
a7d2b5a20ff5098975ba4743f80faf26 nvme0n1p1/Boot/LenovoBT.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
nvme0n1 : is-GPT, no-BIOSboot, hashidESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda6 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
nvme0n1p5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
nvme0n1p3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios

Partitions info (2/3): _________________________________________________________

sda6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
nvme0n1p3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p1 : hidenESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
nvme0n1p4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda5 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

Partitions info (3/3): _________________________________________________________

sda6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
nvme0n1p5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p3 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p1 : not--sepboot, no-kernel, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
sda5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sdb1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x3d801ec0
Boot Start End Sectors Size Id Type
sda1 2048 1748676607 1748674560 833.8G 7 HPFS/NTFS/exFAT
sda2 1748678654 1953523711 204845058 97.7G 5 Extended
sda5 * 1748678656 1749727231 1048576 512M ef EFI (FAT-12/16/32)
sda6 1749729280 1953523711 203794432 97.2G 83 Linux
Disk nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 925069E9-9E88-44B0-B32D-74178B7B1E14
Start End Sectors Size Type
nvme0n1p1 2048 534527 532480 260M EFI System
nvme0n1p2 536576 569343 32768 16M Microsoft reserved
nvme0n1p3 569344 3903045631 3902476288 1.8T Microsoft basic data
nvme0n1p4 3903045632 3904978943 1933312 944M Windows recovery environment
nvme0n1p5 3904978944 3907026943 2048000 1000M Windows recovery environment
Disk sdb: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0x5abcc6bc
Boot Start End Sectors Size Id Type
sdb1 2048 488396799 488394752 232.9G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:512:msdos:ATA Samsung SSD 860:;
1:1049kB:895GB:895GB:::;
2:895GB:1000GB:105GB:::;
5:895GB:896GB:537MB:fat32::boot, esp;
6:896GB:1000GB:104GB:ext4::;
sdb:250GB:scsi:512:512:msdos:asmedia ASMT1053:;
1:1049kB:250GB:250GB:ext4::;
nvme0n1:2000GB:nvme:512:512:gpt:WD Blue SN570 2TB:;
1:1049kB:274MB:273MB:fat32::boot, hidden, esp;
2:275MB:292MB:16.8MB:::msftres;
3:292MB:1998GB:1998GB::Basic data partition:msftdata;
4:1998GB:1999GB:990MB:ntfs::hidden, diag;
5:1999GB:2000GB:1049MB:ntfs::hidden, diag;

blkid (filtered): ______________________________________________________________

NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 BitLocker 3d801ec0-01
├─sda2 3d801ec0-02
├─sda5 vfat 964A-96ED 3d801ec0-05
└─sda6 ext4 ccceb689-b564-4228-ba9d-1324b5bb1842 3d801ec0-06
sdb
└─sdb1 ext4 5f330a3b-d0b6-409d-a916-dfbafdf17e30 5abcc6bc-01 backup
nvme0n1
├─nvme0n1p1 vfat A617-41AC 7461d504-ba50-413c-3ec1-86fd8608f589 SYSTEM
├─nvme0n1p2 08acb4b6-e3a7-4c09-ba80-a60f1c2ce205
├─nvme0n1p3 BitLocker 43173960-2656-4c6a-5300-1350f45ff0a4 Basic data partition
├─nvme0n1p4 ntfs CC9CDD6B9CDD5116 ae14dce8-d1ed-4d34-28ca-c1642cca1ce5
└─nvme0n1p5 ntfs 0A30440E304402E5 83cf5be5-9393-4f3f-4e4c-064748b373c3

Mount points (filtered): _______________________________________________________

Avail Use% Mounted on
/dev/nvme0n1p1 221.6M 13% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p4 87.6M 91% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5 109.5M 89% /mnt/boot-sav/nvme0n1p5
/dev/sda6 56G 36% /
/dev/sdb1 215.7G 0% /media/andreas/backup

Mount options (filtered): ______________________________________________________


=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid ccceb689-b564-4228-ba9d-1324b5bb1842 root hd0,msdos6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

===================== sda5/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid ccceb689-b564-4228-ba9d-1324b5bb1842 root hd0,msdos6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=ccceb689-b564-4228-ba9d-1324b5bb1842 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
/swapfile none swap sw 0 0
UUID=964A-96ED /boot/efi vfat defaults 0 1

======================= sda6/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

==================== sda6: Location of files loaded by Grub ====================

GiB - GB File Fragment(s)
841.515621185 = 903.570518016 boot/vmlinuz 2
842.713447571 = 904.856674304 boot/vmlinuz-5.15.0-41-generic 1
842.823238373 = 904.974561280 boot/vmlinuz-5.15.0-47-generic 1
884.476558685 = 949.699473408 boot/vmlinuz-5.15.0-48-generic 2
839.229492188 = 901.115805696 boot/vmlinuz-5.15.0-50-generic 1
881.002937317 = 945.969700864 boot/vmlinuz-5.15.0-52-generic 1
860.924819946 = 924.410986496 boot/vmlinuz-5.15.0-56-generic 2
908.112316132 = 975.078174720 boot/vmlinuz-5.15.0-57-generic 1
849.081069946 = 911.693856768 boot/vmlinuz-5.15.0-60-generic 2
848.565452576 = 911.140216832 boot/vmlinuz-5.15.0-67-generic 2
841.515621185 = 903.570518016 boot/vmlinuz-5.15.0-69-generic 2
848.565452576 = 911.140216832 boot/vmlinuz.old 2
855.210933685 = 918.275747840 boot/initrd.img 3
839.570308685 = 901.481754624 boot/initrd.img-5.15.0-41-generic 2
840.210933685 = 902.169620480 boot/initrd.img-5.15.0-47-generic 2
841.710933685 = 903.780233216 boot/initrd.img-5.15.0-48-generic 4
842.210933685 = 904.317104128 boot/initrd.img-5.15.0-50-generic 2
845.554683685 = 907.907428352 boot/initrd.img-5.15.0-52-generic 4
846.335933685 = 908.746289152 boot/initrd.img-5.15.0-56-generic 4
859.085933685 = 922.436497408 boot/initrd.img-5.15.0-57-generic 4
859.585933685 = 922.973368320 boot/initrd.img-5.15.0-60-generic 3
860.335933685 = 923.778674688 boot/initrd.img-5.15.0-67-generic 3
855.210933685 = 918.275747840 boot/initrd.img-5.15.0-69-generic 3
860.335933685 = 923.778674688 boot/initrd.img.old 3

===================== sda6: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 Dec 2 16:18 10_linux
-rwxr-xr-x 1 root root 43031 Dec 2 16:18 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Dec 2 16:18 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 2 16:18 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 2 16:18 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Dec 2 16:18 40_custom
-rwxr-xr-x 1 root root 215 Dec 2 16:18 41_custom
AndreasBa
Level 1
Level 1
Posts: 13
Joined: Sat Apr 01, 2023 3:24 am

Re: Nach SSD-Tausch kein Multibook mehr

Post by AndreasBa »

Die entscheidenden Fehler sind wohl hier gelistet. Doch warum kann er nicht ins EFI schreiben?


grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: Internal error.
grub-install: error: failed to register the EFI boot entry: Operation not permitted.
Exit code: 1

/sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --recheck
Installing for x86_64-efi platform.
/sbin/grub-install: warning: Internal error.
/sbin/grub-install: error: failed to register the EFI boot entry: Operation not permitted.

/sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-nvram
Installing for x86_64-efi platform.
Installation finished. No error reported.
User avatar
ehtron
Level 10
Level 10
Posts: 3364
Joined: Thu Apr 14, 2016 8:15 am
Location: Germany / Baltic Sea
Contact:

Re: Nach SSD-Tausch kein Multibook mehr

Post by ehtron »

Hi :)
so werde ich mir das auf keinen fall antun..
bitte ändere die postings und setze die terminal ausgaben in codeblöcke </>
Lg. Ehtron :)
Keine Hilfe bei fehlender System / Desktop Angabe.
Ich gebe Hilfe zur Selbsthilfe.
Locked

Return to “Deutsch - German”