ubuntuusers.de

Dualboot-System startet nach upgrade nur noch Windows

Status: Gelöst | Ubuntu-Version: Ubuntu 23.10 (Mantic Minotaur)
Antworten |

catmbu

(Themenstarter)

Anmeldungsdatum:
23. Mai 2011

Beiträge: 186

thomas@thomas-NUC13ANHi5:~$ sudo update-grub
[sudo] Passwort für thomas: 
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: Fehler: Für /dev/sda2 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: Fehler: Für /dev/sda2 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done

catmbu

(Themenstarter)

Anmeldungsdatum:
23. Mai 2011

Beiträge: 186

Es gab einen Hinweis, dass Lidux einen neuen Beitrag gepostet hätte. Leider kann ich hier nichts sehen. Woran kann das liegen?

Lidux

Anmeldungsdatum:
18. April 2007

Beiträge: 17142

Hallo catmbu,

Das sieht jedenfalls erstmal nicht gut aus.

Bitte warte auf eine Antwort von black_tencate, der kennt den Befehl zur direkten Neuinstallation des Grub2(EFI Teil) ins EFI für deinen PC aus dem laufenden System.

PS: Das kann an der Umstellung / Umzug von Ubuntuusers auf den neuen Server / Software liegen.

Nebenbei kannst du auch mal jeweils die Informationen von:

sudo parted -l
sudo fdisk -l

Denke bitte auch daran das 23.10 nur eine Zwischenversion mit 9 Monate ist, d.h. danach folgt eine mit "5 Jahren".

posten.

Gruss Lidux

black_tencate

Avatar von black_tencate

Anmeldungsdatum:
27. März 2007

Beiträge: 11448

Hej catmbu,

wenn Du mit SG²D das Ubuntu starten kannst, dann prüfe zunächst mit

[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS 

den Bootmodus, da muß "UEFI" als Antwort kommen!

Wenn das der Fall ist, dann einfach ein

sudo grub-install

gefolgt von einem

sudo update-grub

(hiernach sollte der PC wieder wie gewünscht booten) und ein

sudo efibootmgr -v

und

lsblk -o name,uuid,partuuid

Außerdem wenigstens ein sudo parted -l, wie es Lidux angefordert hat.

Gruß black tencate

catmbu

(Themenstarter)

Anmeldungsdatum:
23. Mai 2011

Beiträge: 186

Sieht ganz gut aus.

thomas@thomas-NUC13ANHi5:~$ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
UEFI
thomas@thomas-NUC13ANHi5:~$ sudo grub-install
[sudo] Passwort für thomas: 
x86_64-efi wird für Ihre Plattform installiert.
Installation beendet. Keine Fehler aufgetreten.
thomas@thomas-NUC13ANHi5:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: Fehler: Für /dev/sda2 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: Fehler: Für /dev/sda2 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
thomas@thomas-NUC13ANHi5:~$ sudo efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0002,0003,0000
Boot0000  Windows Boot Manager	HD(1,GPT,71fece7d-f38c-4ba1-8cd8-be5298950127,0x800,0x32000)/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.}....................
Boot0002* ubuntu	HD(1,GPT,71fece7d-f38c-4ba1-8cd8-be5298950127,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0003* UEFI: SanDisk, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/HD(2,MBR,0xc2b4e819,0x7280000,0x10000)..BO
thomas@thomas-NUC13ANHi5:~$ lsblk -o name,uuid,partuuid
NAME        UUID                                 PARTUUID
loop0                                            
loop1                                            
loop2                                            
loop3                                            
loop4                                            
loop5                                            
loop6                                            
loop7                                            
loop8                                            
loop9                                            
loop10                                           
loop11                                           
loop12                                           
loop13                                           
loop14                                           
loop15                                           
sda                                              
├─sda1      4E21-0000                            c2b4e819-01
└─sda2                                           
nvme0n1                                          
├─nvme0n1p1 E257-1921                            71fece7d-f38c-4ba1-8cd8-be5298950127
├─nvme0n1p2                                      9b38c089-c19c-468d-8564-a55270365614
├─nvme0n1p3 E450718B50716568                     a996de1b-ca36-45db-b097-04ad869acdbd
├─nvme0n1p4 5C806E34806E14B4                     3f83ba05-21bb-46d7-bd3d-032b7c79c0fa
├─nvme0n1p5 eba9e40c-c3a5-4c3d-8f09-39d72f46685b 49107008-79ba-4443-930a-7796d74d4b48
└─nvme0n1p6 01D9F27FABEBDC70                     20e19ee9-84bd-e648-b9ea-4b7584658410
thomas@thomas-NUC13ANHi5:~$ sudo parted -l
Modell: SanDisk Ultra USB 3.0 (scsi)
Festplatte  /dev/sda:  61,5GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdos
Disk-Flags: 

Nummer  Anfang  Ende    Größe   Typ      Dateisystem  Flags
 1      1049kB  61,5GB  61,5GB  primary               boot
 2      61,5GB  61,5GB  33,6MB  primary  fat16        esp


Modell: CT4000P3PSSD8 (nvme)
Festplatte  /dev/nvme0n1:  4001GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: gpt
Disk-Flags: 

Nummer  Anfang  Ende    Größe   Dateisystem  Name  Flags
 1      1049kB  106MB   105MB   fat32        EFI   boot, esp
 2      106MB   123MB   16,8MB               Micr  msftres
 3      123MB   261GB   261GB   ntfs         Basi  msftdata
 4      261GB   262GB   722MB   ntfs               versteckt, diag, no_automount
 5      262GB   531GB   268GB   ext4               msftdata
 6      531GB   4001GB  3470GB  ntfs               msftdata

catmbu

(Themenstarter)

Anmeldungsdatum:
23. Mai 2011

Beiträge: 186

Habe gerade neu gestartet und es kommt dergleiche Startbildschirm. Es wird mir weiterhin nur Win11 zum Starten angeboten. Habe ich etwas übersehen? Hier noch die Daten von fdisk -l.

thomas@thomas-NUC13ANHi5:~$ sudo fdisk -l
[sudo] Passwort für thomas: 
Festplatte /dev/loop0: 4 KiB, 4096 Bytes, 8 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop1: 63,45 MiB, 66531328 Bytes, 129944 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop2: 63,46 MiB, 66547712 Bytes, 129976 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop3: 73,88 MiB, 77463552 Bytes, 151296 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop4: 73,9 MiB, 77492224 Bytes, 151352 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop5: 240,32 MiB, 251994112 Bytes, 492176 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop6: 240,32 MiB, 251994112 Bytes, 492176 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop7: 485,52 MiB, 509100032 Bytes, 994336 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/nvme0n1: 3,64 TiB, 4000787030016 Bytes, 7814037168 Sektoren
Festplattenmodell: CT4000P3PSSD8                           
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 1367B39A-7520-4631-BFD8-23AC3443BB23

Gerät              Anfang       Ende   Sektoren  Größe Typ
/dev/nvme0n1p1       2048     206847     204800   100M EFI-System
/dev/nvme0n1p2     206848     239615      32768    16M Microsoft reserviert
/dev/nvme0n1p3     239616  510588927  510349312 243,4G Microsoft Basisdaten
/dev/nvme0n1p4  510588928  511999999    1411072   689M Windows-Wiederherstellung
/dev/nvme0n1p5  512002048 1036290047  524288000   250G Microsoft Basisdaten
/dev/nvme0n1p6 1036290048 7814035455 6777745408   3,2T Microsoft Basisdaten


Festplatte /dev/sda: 57,28 GiB, 61505273856 Bytes, 120127488 Sektoren
Festplattenmodell: Ultra USB 3.0   
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0xc2b4e819

Gerät      Boot    Anfang      Ende  Sektoren Größe Kn Typ
/dev/sda1  *         2048 120061951 120059904 57,2G  7 HPFS/NTFS/exFAT
/dev/sda2       120061952 120127487     65536   32M ef EFI (FAT-12/16/32)


Festplatte /dev/dm-0: 15,6 MiB, 16361472 Bytes, 31956 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 663D6EDE-3CEF-4C0C-A005-CEBA919E5CCA

Gerät       Anfang  Ende Sektoren Größe Typ
/dev/dm-0p1     64   355      292  146K Microsoft Basisdaten
/dev/dm-0p2    356  6115     5760  2,8M EFI-System
/dev/dm-0p3   6116 31907    25792 12,6M Microsoft Basisdaten


Festplatte /dev/loop8: 496,98 MiB, 521121792 Bytes, 1017816 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop9: 91,69 MiB, 96141312 Bytes, 187776 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop10: 449,17 MiB, 470990848 Bytes, 919904 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop11: 10,52 MiB, 11026432 Bytes, 21536 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop12: 12,32 MiB, 12922880 Bytes, 25240 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop13: 40,84 MiB, 42827776 Bytes, 83648 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop14: 40,86 MiB, 42840064 Bytes, 83672 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop15: 452 KiB, 462848 Bytes, 904 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
thomas@thomas-NUC13ANHi5:~$ 

black_tencate

Avatar von black_tencate

Anmeldungsdatum:
27. März 2007

Beiträge: 11448

Hej catmbu,

dann zeige mal

  • sudo mount /dev/nvme0n1p1 /mnt && sudo ls -R /mnt/efi/ubuntu && sudo umount /mnt
  • sudo mount /dev/nvme0n1p1 /mnt && sudo cat /mnt/efi/ubuntu/grub.cfg
  • sudo mount /dev/nvme0n1p5 /mnt && sudo cat /mnt/etc/fstab | grep -v "^#" && sudo umount /mnt
  • und entferne mal die Markierung msftres bei der Partition #5 (geht mit gparted → rechtKlick auf die Partition, Markierung bearbeiten, Haken bei msftres entfernen

Wenn das alles nicht hilft, setze mit

sudo efibootmgr -o 0000,0003,0002

die Bootorder und anschließend deaktiviere den Windowseintrag mit

sudo efibootmgr -b 0000 -A

Gruß black tencate

catmbu

(Themenstarter)

Anmeldungsdatum:
23. Mai 2011

Beiträge: 186

thomas@thomas-NUC13ANHi5:~$ sudo mount /dev/nvme0n1p1 /mnt && sudo ls -R /mnt/efi/ubuntu && sudo umount /mnt
[sudo] Passwort für thomas: 
/mnt/efi/ubuntu:
BOOTX64.CSV  grub.cfg  grubx64.efi  mmx64.efi  shimx64.efi
thomas@thomas-NUC13ANHi5:~$ sudo mount /dev/nvme0n1p1 /mnt && sudo cat /mnt/efi/ubuntu/grub.cfg
search.fs_uuid eba9e40c-c3a5-4c3d-8f09-39d72f46685b root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
thomas@thomas-NUC13ANHi5:~$ sudo mount /dev/nvme0n1p5 /mnt && sudo cat /mnt/etc/fstab | grep -v "^#" && sudo umount /mnt
UUID=eba9e40c-c3a5-4c3d-8f09-39d72f46685b /               ext4    errors=remount-ro 0       1
UUID=E257-1921  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-id/usb-IB-1121-_U3_0000000048E9-0:0-part2 /mnt/usb-IB-1121-_U3_0000000048E9-0:0-part2 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0

catmbu

(Themenstarter)

Anmeldungsdatum:
23. Mai 2011

Beiträge: 186

Habe ich alles gemacht:

thomas@thomas-NUC13ANHi5:~$ sudo mount /dev/nvme0n1p1 /mnt && sudo ls -R /mnt/efi/ubuntu && sudo umount /mnt
[sudo] Passwort für thomas: 
/mnt/efi/ubuntu:
BOOTX64.CSV  grub.cfg  grubx64.efi  mmx64.efi  shimx64.efi
thomas@thomas-NUC13ANHi5:~$ sudo mount /dev/nvme0n1p1 /mnt && sudo cat /mnt/efi/ubuntu/grub.cfg
search.fs_uuid eba9e40c-c3a5-4c3d-8f09-39d72f46685b root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
thomas@thomas-NUC13ANHi5:~$ sudo mount /dev/nvme0n1p5 /mnt && sudo cat /mnt/etc/fstab | grep -v "^#" && sudo umount /mnt
UUID=eba9e40c-c3a5-4c3d-8f09-39d72f46685b /               ext4    errors=remount-ro 0       1
UUID=E257-1921  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-id/usb-IB-1121-_U3_0000000048E9-0:0-part2 /mnt/usb-IB-1121-_U3_0000000048E9-0:0-part2 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0

Habe auch in Gparted die Markierung geändert und starte jetzt den Rechner neu.

catmbu

(Themenstarter)

Anmeldungsdatum:
23. Mai 2011

Beiträge: 186

Bisher keine Veränderung. Es wird mir immer nur win11 zum Auswählen angeboten. Ich probiere jetzt die beiden letzten Veränderungen. So sieht es jetzt aus:

thomas@thomas-NUC13ANHi5:~$ sudo efibootmgr -o 0000,0003,0002
[sudo] Passwort für thomas: 
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0000,0003,0002
Boot0000  Windows Boot Manager
Boot0002* ubuntu
Boot0003* UEFI: SanDisk, Partition 2
thomas@thomas-NUC13ANHi5:~$ sudo efibootmgr -b 0000 -A
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0000,0003,0002
Boot0000  Windows Boot Manager
Boot0002* ubuntu
Boot0003* UEFI: SanDisk, Partition 2

Ich starte jetzt noch einmal neu und melde mich dann wieder.

catmbu

(Themenstarter)

Anmeldungsdatum:
23. Mai 2011

Beiträge: 186

Es kommt dasselbe Auswahlmenue. Es wird mir ausschließlich Win11 angeboten.

black_tencate

Avatar von black_tencate

Anmeldungsdatum:
27. März 2007

Beiträge: 11448

Hej catmbu,

dann fällt mir nur noch → EFI Problembehebung (Abschnitt „Anzeige-des-NVRAM“) ein (also im Windows Bootmanager einen Eintrag für Linux erzeugen, viel Glück!).

Gruß black tencate

TK87

Anmeldungsdatum:
8. Juli 2019

Beiträge: 303

Wohnort: Aachen

Moin zusammen.

catmbu schrieb:

thomas@thomas-NUC13ANHi5:~$ sudo update-grub
[sudo] Passwort für thomas: 
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found

das ist nicht das originale Ubuntu-Script.

Starte mal von einem Live-Ubuntu aus, dann:

1
2
3
4
5
6
sudo mount /dev/nvme0n1p5 /mnt
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
for DIR in /dev /dev/pts /sys /proc;do sudo mount --bind $DIR /mnt$DIR;done
sudo rsync -au --del /etc/grub.d/ /mnt/etc/grub.d/
sudo chroot /mnt /bin/bash
sudo update-grub

black_tencate schrieb:

dann fällt mir nur noch → EFI Problembehebung (Abschnitt „Anzeige-des-NVRAM“) ein (also im Windows Bootmanager einen Eintrag für Linux erzeugen, viel Glück!).

Das wird so nicht funktionieren. Im Windows-Bootmanager würde man in dem Fall ja einen Eintrag für grub erstellen. Sein grub wird ja bereits geladen, nur der Eintrag für Ubuntu fehlt halt.

Gruß Thomas

catmbu

(Themenstarter)

Anmeldungsdatum:
23. Mai 2011

Beiträge: 186

Danke für die Information. Ich habe das eingegeben und poste einmal das Ergebnis.

thomas@thomas-NUC13ANHi5:~$ sudo mount /dev/nvme0n1p5 /mnt
[sudo] Passwort für thomas: 
thomas@thomas-NUC13ANHi5:~$ sudo mount /dev/nvme0n1p1 /mnt/boot/efi
thomas@thomas-NUC13ANHi5:~$ for DIR in /dev /dev/pts /sys /proc;do sudo mount --bind $DIR /mnt$DIR;done
thomas@thomas-NUC13ANHi5:~$ sudo rsync -au --del /etc/grub.d/ /mnt/etc/grub.d/
thomas@thomas-NUC13ANHi5:~$ sudo chroot /mnt /bin/bash
root@thomas-NUC13ANHi5:/# sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: Fehler: Für /dev/sda2 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: Fehler: Für /dev/sda2 konnte kein GRUB-Laufwerk gefunden werden. Überprüfen Sie Ihre device.map.
done
root@thomas-NUC13ANHi5:/# 

TK87

Anmeldungsdatum:
8. Juli 2019

Beiträge: 303

Wohnort: Aachen

catmbu schrieb:

Danke für die Information. Ich habe das eingegeben und poste einmal das Ergebnis.

thomas@thomas-NUC13ANHi5:~$ sudo rsync -au --del /etc/grub.d/ /mnt/etc/grub.d/

Das sieht mir nicht danach aus, als hättest du von einem Live-Ubuntu gestartet - sonst würde da "ubuntu@ubuntu" oder ähnliches (je nach flavour) stehen.

Und dieses ominöse Skript (scheinbar vom grub-customizer), ist auch immernoch drin. Das hätte der rsync-Befehl raus schmeißen müssen.