Hallo Archer,
mein Arch möchte ich jetzt mit EFISTUB booten.
https://wiki.archlinux.de/title/EFISTUB
https://wiki.archlinux.org/index.php/EFISTUB
Erster Schritt, UEFI-Einträge ermitteln:
efibootmgr
BootCurrent: 0015
Timeout: 0 seconds
BootOrder: 0015,0000,0001,0002,0003,0007,0008,0009,000A,000B,000C,000D,000E,0013,0014
Boot0000 Setup
Boot0001 Boot Menu
Boot0002 Diagnostic Splash Screen
Boot0003 Lenovo Diagnostics
Boot0004 Startup Interrupt Menu
Boot0005 Rescue and Recovery
Boot0006 MEBx Hot Key
Boot0007* USB CD
Boot0008* USB FDD
Boot0009* ATAPI CD
Boot000A* ATA HDD0
Boot000B* ATA HDD1:
Boot000C* ATA HDD2:
Boot000D* USB HDD
Boot000E* PCI LAN
Boot000F* IDER BOOT CDROM
Boot0010* IDER BOOT Floppy
Boot0011* ATA HDD
Boot0012* PCI LAN
Boot0013 Other HDD
Boot0014 Other CD
Boot0015* ubuntu
Zweiter Schritt, Partitionen ermitteln,
parted -l
/dev/sda: 512GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: gpt
Disk-Flags:
Nummer Anfang Ende Größe Dateisystem Name Flags
1 1049kB 524MB 523MB ntfs diag
2 524MB 629MB 105MB fat32 boot, esp
3 629MB 646MB 16,8MB Microsoft reserved partition msftres
4 646MB 63,6GB 62,9GB ntfs msftdata
5 63,6GB 84,5GB 21,0GB ext4 arch
6 84,5GB 106GB 21,0GB ext4 archh
7 106GB 126GB 21,0GB ext4 k1804
8 126GB 147GB 21,0GB ext4 k1804h
9 147GB 494GB 347GB ntfs msftdata
10 494GB 512GB 17,8GB linux-swap(v1)
dritter Schritt, EFI Eintrag erstellen:
Aus dem Wiki:
Vorlage
efibootmgr -c -d /dev/sda -p 1 -l \vmlinuz-linux -L "Arch Linux" -u "initrd=/initramfs-linux.img root=/dev/sdXY"
angepaßter EFI Eintrag
efibootmgr -c -d /dev/sda -p 1 -l \vmlinuz-linux -L "Arch Linux" -u "initrd=/initramfs-linux.img root=/dev/sda5"
Folgendes aus der Anleitung:
Abschluss
Die /boot Partition muss über die fstab gemountet werden. Der Eintrag in der fstab sieht dann so aus:
/dev/sda1 /boot /vfat defaults,noatime 0 0
Meine jetzige cat /etc/fstab
# /dev/sda5
UUID=5d6eba5d-ca4b-4aa5-9758-9740a2919c43 / ext4 rw,relatime,data=ordered 0 1
# efivarfs
efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec 0 0
# bpf
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,mode=700 0 0
# /dev/sda6
UUID=c0859557-58c6-4519-a2d3-1cf3959e18db /home ext4 rw,relatime,data=ordered 0 2
# /dev/sda10
UUID=e4234c5f-633d-4e3c-aee8-90c4af6ae250 none swap defaults,pri=-2 0 0
Wie muss ich meine /etc/fstab anpassen?