Hi, danke, es funktioniert stimmt, meine Lösung bzw. mein Fehler:
https://wiki.archlinux.de/title/GRUB
Booten per UEFI: GRUB ins UEFI eintragen.
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch-Linux-grub
Grub hatte ich nicht ins UEFI eingetragen.
[root@arch ~]# efibootmgr --verbose
BootCurrent: 0001
BootOrder: 0003,0000,0001,0002
Boot0000* EFI DVD/CDROM PciRoot(0x0)/Pci(0x1,0x1)/Ata(1,0,0)
Boot0001* EFI Hard Drive PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Internal Shell MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0003* Arch-Linux-grub HD(1,GPT,ecefe053-7b28-4c47-80cb-fe0358dd08df,0x800,0x7d000)/File(\EFI\Arch-Linux-grub\grubx64.efi)
[root@arch ~]#
Leider geht der Eintrag nach weiterem Booten verloren.
Meine Version:
Package: virtualbox-6.0
Version: 6.0.14-133895~Ubuntu~bionic
[root@arch ~]# blkid
/dev/sda1: LABEL_FATBOOT="EFI" LABEL="EFI" UUID="8680-6E66" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="ecefe053-7b28-4c47-80cb-fe0358dd08df"
/dev/sda2: LABEL="ROOT" UUID="77bf17f0-4f69-4c85-ae7e-8d040192e9ab" UUID_SUB="5ce6695e-9ab5-4eff-a7d1-7127d5645579" TYPE="btrfs" PARTLABEL="Linux filesystem" PARTUUID="f8478830-ca27-462a-84c2-8f50762c0756"
/dev/sda3: LABEL="SWAP" UUID="57ec4edd-124a-4c14-a787-4956d9863b7b" TYPE="swap" PARTLABEL="Linux swap" PARTUUID="e681da02-3d8b-4f32-89e5-505a8d9e41d1"
[root@arch ~]#
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: DD00CF4E-B262-4E82-89AA-95513E01586A
Gerät Anfang Ende Sektoren Größe Typ
/dev/sda1 2048 514047 512000 250M EFI-System
/dev/sda2 514048 92788735 92274688 44G Linux-Dateisystem
/dev/sda3 92788736 125829086 33040351 15,8G Linux Swap
/dev/sda2 enthält ein btrfs Filesystem.
Grub wird bei einem Reboot von dem Guest Arch nach dem Eintrag immer angezeigt,
Fahre ich die Arch VM kompett runter und starte neu, startet das System wieder ohne Grub.
Der "Boot0003* Arch-Linux-grub" UEFI Eintrag fehlt wieder.
https://www.virtualbox.org/manual/ch03.html#efi
Note that the Oracle VM VirtualBox EFI support is experimental and will be enhanced as EFI matures and becomes more widespread. Mac OS X, Linux, and newer Windows guests are known to work fine. Windows 7 guests are unable to boot with the Oracle VM VirtualBox EFI implementation.
Info:
https://forums.virtualbox.org/viewtopic.php?f=15&t=95300
EFI: Switch to newer firmware code base and add NVRAM support, should improve compatibility with OSes significantly
@Baldr
Bei dir funktioniert es zuverlässig, wenn ja, mit welcher Software, Releaseständen?
MfG
fablab