From: jayjwa@atr2.ath.cx.invalid   
      
   root writes:   
      
   > Henrik, do you format the EFI partition as vfat before starting   
   > the install? As far as I can remember I never did that.   
   Many machines will have an EFI service partition on them when you get   
   them. I don't recall having to make one because this system had Windows   
   on it previously. If there is not one, or it gets erased, you can   
   recreate it. It needs be a FAT32 system. To my memory, the partition   
   type has to be "EF" and the partition table should be type GPT.   
      
   fdisk -l /dev/sda   
      
   Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors   
   Disk model: WDC WD10EZEX-08W   
   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: 5ADB41A7-7604-419D-A43A-4F9135D120E8   
      
   Device Start End Sectors Size Type   
   /dev/sda1 2048 534527 532480 260M EFI System   
   /dev/sda2 534528 1049110527 1048576000 500G Linux filesystem   
   /dev/sda3 1049110528 1468540927 419430400 200G Linux filesystem   
   /dev/sda4 1468540928 1887971327 419430400 200G Linux filesystem   
   /dev/sda5 1887971328 1953525134 65553807 31.3G Linux swap   
      
   lsblk -f   
   NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE%   
   MOUNTPOINTS   
   sda   
   ├─sda1 vfat FAT32 SYSTEM 608B-0B83    
   238.6M 7% /boot/efi   
   ├─sda2 ext4 1.0 2b909491-fbe9-4301-b583-913820597d92 265G    
   41% /   
   ├─sda3 xfs 60c59f42-a1f1-46c2-bf8e-d9af83c303ce 67.5G    
   66% /home   
   ├─sda4 xfs 7aa264bd-a6fa-450b-a21d-c255c8c14964    
   193.7G 3% /srv   
   └─sda5 swap 1 6f331c1c-da54-4c02-93fb-dad38ee61   
   d2 [SWAP]   
   sr0   
   zram0   
   [SWAP]   
      
   I'm using Current with Grub. Previously I used Elilo, but it stopped   
   booting kernels about version 6.1.x or so. Elilo needs the kernel with   
   it in the ESP, Grub can "see" into the Linux partitions to grab the   
   kernel so it doesn't require the kernel with the bootloader.   
      
   ls -l /boot/efi/EFI/slackware-15.0+/   
   total 136   
   -rwxr-xr-x 1 root root 139264 Jun 24 2024 grubx64.efi*   
      
   I haven't booted Linux in a virtual machine, but I've used other   
   EFI-booting systems from QEMU. If you have everything setup correctly   
   and Virtual Box isn't working, try QEMU.   
      
   --   
   PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE   
    "The Internet should always be the Wild West!"   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|