• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Linux-Bootloader wird nicht im UEFI angezeigt

Liebe Linux-Cluber (für die FCN-Fans: liebe Linux-Cluberer),

ich bin ein neues Mitglied im Linux-Club und freue mich auf einen regen Austausch.

Doch als erstes muss ich mit einem Problem starten: ich habe Linux Mint (Zara) auf einer separaten SSD neben Windows 10, das ebenfalls eine eigene SSD hat, installiert.

Vor der Installation habe ich die entsprechende SSD ausgewählt, dort Partitionen erstellt (siehe unten) und angegeben, dass GRUB auf der LINUX-SSD installiert werden soll.

Die Installation lief durch, aber nach einem Rechnerneustart wollte ich im UEFI den Linux-Bootloader vor den von Windows setzen, aber er ist dort nicht aufgeführt.

Ich habe einen mit Ventoy eingerichteten USB-Stick mit mehreren Distributionen, die ich ausprobiert habe. Übrig geblieben sind Zorin 18.3 und LM 22.2. Zunächst habe ich Zorin installiert (wie oben, jedoch den Bootloader auf die Windows-SSD schreiben lassen). Hier wurden im UEFI beide Bootloader angezeigt und ich habe die OS über GRUB (später rEfind) starten lassen.

Da ich mit Zorin doch nicht so zufrieden war, habe ich den Windows-Bootloader aus einem Backup ersetzt, die Linux-SSD "platt" gemacht, d.h. alle dort befindlichen Partitionen gelöscht und aus der Live-Distribution in Installation wie beschrieben ausgeführt.

Grub wurde auch installiert, aber nicht in der ESP-Partition, sondern in der root.

Nun meine Frage: was ist hier schiefgelaufen oder was hätte ich anders machen sollen? Ist es möglich, den EFI-Ordner von root in die ESP zu verschieben?

Danke vorab für Eure Antworten und Eure Hilfe

LeQuatorze

So, jetzt aber die Informationen zu meinem Rechner usw, wobei sda die Windows-SSD ist, sdb die Linux und sdc der Ventoy USB-Stick.:

mint@mint:~$ inxi -Fzxi System: Kernel: 6.14.0-29-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble Machine: Type: Desktop Mobo: Micro-Star model: B450M MORTAR (MS-7B89) v: 1.0 serial: <superuser required> UEFI: American Megatrends LLC. v: 1.J5 date: 07/18/2024 CPU: Info: 6-core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ rev: 2 cache: L1: 576 KiB L2: 3 MiB L3: 16 MiB Speed (MHz): avg: 1490 high: 1550 min/max: 1550/3400 boost: enabled cores: 1: 1550 2: 1460 3: 1378 4: 1550 5: 1550 6: 1447 7: 1550 8: 1550 9: 1377 10: 1550 11: 1377 12: 1550 bogomips: 81595 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Graphics: Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] vendor: Micro-Star MSI driver: amdgpu v: kernel arch: GCN-4 bus-ID: 26:00.0 temp: 32.0 C Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu resolution: 1920x1200~60Hz API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms: active: gbm,x11,surfaceless,device inactive: wayland API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.7-0ubuntu0.24.04.1 glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 550 / 550 Series (radeonsi polaris12 ACO DRM 3.61 6.14.0-29-generic) Audio: Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / 560/560X] vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 26:00.1 Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 28:00.3 API: ALSA v: k6.14.0-29-generic status: kernel-api Server-1: PipeWire v: 1.0.5 status: active Network: Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI RTL8111/8168/8411 driver: r8169 v: kernel port: e000 bus-ID: 22:00.0 IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter> IP v4: <filter> type: dynamic noprefixroute scope: global IP v6: <filter> type: temporary dynamic scope: global IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global IP v6: <filter> type: temporary dynamic scope: global IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global IP v6: <filter> type: noprefixroute scope: link WAN IP: <filter> RAID: Hardware-1: Marvell Device driver: N/A v: N/A bus-ID: 25:00.0 Drives: Local Storage: total: 599.46 GiB used: 0 KiB (0.0%) ID-1: /dev/sda vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB ID-2: /dev/sdb vendor: Crucial model: CT128MX100SSD1 size: 119.24 GiB ID-3: /dev/sdc vendor: Verbatim model: STORE N GO size: 14.45 GiB type: USB Partition: ID-1: / size: 15.64 GiB used: 620.9 MiB (3.9%) fs: overlay source: ERR-102 Swap: Alert: No swap data was found. Sensors: System Temperatures: cpu: 36.4 C mobo: N/A gpu: amdgpu temp: 32.0 C Fan Speeds (rpm): N/A gpu: amdgpu fan: 1332 Info: Memory: total: 32 GiB available: 31.27 GiB used: 2.6 GiB (8.3%) Processes: 339 Uptime: 1h 14m Init: systemd target: graphical (5) Packages: 1974 Compilers: gcc: 13.3.0 Shell: Bash v: 5.2.21 inxi: 3.3.34

mint@mint:~$ sudo parted -l Model: ATA CT500MX500SSD1 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 106MB 105MB fat32 boot, esp 2 106MB 123MB 16.8MB ntfs Mi msftres, no_automount 3 123MB 150GB 150GB ntfs msftdata 4 150GB 150GB 574MB ntfs diag Model: ATA Crucial_CT128MX1 (scsi) Disk /dev/sdb: 128GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 524MB 523MB fat32 boot, esp 2 524MB 22.0GB 21.5GB ext4 3 22.0GB 86.4GB 64.4GB ext4 linux-home 4 86.4GB 97.2GB 10.7GB ext4 Model: Verbatim STORE N GO (scsi) Disk /dev/sdc: 15.5GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 15.5GB 15.5GB Ventoy msftdata 2 15.5GB 15.5GB 33.6MB fat16 VTOYEFI msftdata, no_automount

mint@mint:~$ sudo fdisk -l Disk /dev/loop0: 2.48 GiB, 2659291136 bytes, 5193928 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: CT500MX500SSD1 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 3CA44D1E-6519-4C92-B0B0-95CAABB3FF35 Device Start End Sectors Size Type /dev/sda1 2048 206847 204800 100M EFI System /dev/sda2 206848 239615 32768 16M Microsoft reserved /dev/sda3 239616 292716989 292477374 139.5G Microsoft basic data /dev/sda4 292718592 293838847 1120256 547M Windows recovery environment Disk /dev/sdb: 119.24 GiB, 128035676160 bytes, 250069680 sectors Disk model: Crucial_CT128MX1 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: C3F0BFC5-41B2-4E78-BBE6-0225B709EE61 Device Start End Sectors Size Type /dev/sdb1 2048 1023999 1021952 499M EFI System /dev/sdb2 1024000 42964991 41940992 20G Linux filesystem /dev/sdb3 42964992 168794111 125829120 60G Linux home /dev/sdb4 168794112 189765631 20971520 10G Linux filesystem Disk /dev/sdc: 14.45 GiB, 15518924800 bytes, 30310400 sectors Disk model: STORE N GO Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 5E4A99DE-F0E5-4CA8-B588-12E4818C7BC5 Device Start End Sectors Size Type /dev/sdc1 2048 30244823 30242776 14.4G Microsoft basic data /dev/sdc2 30244824 30310359 65536 32M Microsoft basic data Disk /dev/dm-0: 2.9 GiB, 3117514752 bytes, 6088896 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xf2b5b64d Device Boot Start End Sectors Size Id Type /dev/dm-0p1 * 64 6088895 6088832 2.9G 0 Empty /dev/dm-0p2 8452 18691 10240 5M ef EFI (FAT-12/16/32) Disk /dev/dm-1: 14.42 GiB, 15484301312 bytes, 30242776 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000

mint@mint:~$ sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 2.5G 1 loop /rofs sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 100M 0 part ├─sda2 8:2 0 16M 0 part ├─sda3 8:3 0 139.5G 0 part └─sda4 8:4 0 547M 0 part sdb 8:16 0 119.2G 0 disk ├─sdb1 8:17 0 499M 0 part ├─sdb2 8:18 0 20G 0 part ├─sdb3 8:19 0 60G 0 part └─sdb4 8:20 0 10G 0 part sdc 8:32 1 14.5G 0 disk ├─sdc1 8:33 1 14.4G 0 part └─sdc2 8:34 1 32M 0 part sr0 11:0 1 1024M 0 rom sr1 11:1 1 1024M 0 rom
 
Grub 2(-EFI), rEFInd und der Windows-Bootloader sind drei von vielen EFI-Bootloadern, die sich auf einer EFI-Systempartition befinden und ein oder mehrere Betriebssysteme starten können.

Das UEFI-Bootmenü befindet sich in einem nicht flüchtigen Speicher am mainboard und enthält neben Eintragungen des UEFI (darunter ein Verweis auf das Programm \EFI\BOOT\BOOTX64.EFI auf einer EFI-Systempartition) Eintragungen, die von einem Betirebssystem erzeugt wurden.

Formal ist es möglich, mehrere EFI-Systempartitionen zu haben, in den meister Fällen ist es aber nicht sinnvoll und eher eine potentielle Fehlerquelle.

Dein Windows ist mit an Sicherheit grenzender Wahrscheinlichkeit im UEFI-Modus istalliert. Bist Du sicher, Linux im selben Modus (und nicht im BIOS-/CSM-/Legacy-Modus) installiert zu haben?

Jetzt wollen wie uns anschauen, was Dein UEFI-Bootmenü enthält. Dazu startest Du Linux Mint im UEFI-Modus als Live-System und führst den Befehl
Code:
sudo efibootmgr -v
aus. Zur Interpretation ist dann noch
Code:
lsblk -o +FSTYPE,PARTUUID
sinnvoll. Schließlich solltest Du die beiden EFI-Systempartitionen mit einem Dateimanager einhängen und nachschauen, was sich dort außer Windows befindet.
 
Oben