Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: stamasd on 31 July 2024, 22:47:04

Title: [SOLVED] Dell Precision T7810
Post by: stamasd on 31 July 2024, 22:47:04
I was wondering if anyone has experience installing Artix on a Dell Precision T7810 in EFI mode (pure EFI, no CSM).
The issue I have is:
It boots fine from the install USB stick in EFI mode.
Installation went fine, grub installed without any errors on the ESP partition and so on.
On reboot, it says it can't find a bootable drive
In the CMOS settings I made sure 'grub' is selected as the boot option; I even deleted a couple of times that boot entry and recreated it, making sure it points to the correct drive, partition and subdirectory with the grubx64.efi file
Still it does not want to boot from it.
I even booted the USB again, remounted the partitions and reinstalled grub to make sure I hadn't made an error. It still doesn't want to boot.
I know that this machine can boot Linux in EFI mode. I had another distribution of Linux on it and it worked fine.

So I'm hoping someone else did it before and managed to boot Artix on a T7810.
(FWIW the hardware configuration is: dual E5-2690v3 xeons, 64 GB RAM, boot drive is a 512GB SSD connected to the motherboard SATA, video is a GTX750, and SAS controller is a HP H240 - currently with nothing attached to it).
Title: Re: Dell Precision T7810
Post by: MaxLPM on 01 August 2024, 08:32:30
What command did you use to install grub?
Also, please post the output of "ls -R /boot/EFI/"
Title: Re: Dell Precision T7810
Post by: stamasd on 01 August 2024, 13:20:33
I used the installer image with XFCE, so while booted from USB I opened the web browser and copy/pasted exactly the commands from the wiki, to avoid any chance of typos. :P

So to install grub I used:

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
grub-mkconfig -o /boot/grub/grub.cfg

The relevant partition layout and mountpoints, while not chrooted:
/dev/sda2      453009984 2829860 427095068   1% /mnt
/dev/sda1         523244     152    523092   1% /mnt/boot/efi

And inside the chroot:
/dev/sda2      453009984 2829860 427095068   1% /
/dev/sda1         523244     152    523092   1% /boot/efi
udev               10240       0     10240   0% /dev
shm             32928460       0  32928460   0% /dev/shm
/run            32928460       0  32928460   0% /run
tmp             32928460       0  32928460   0% /tmp
overlay         49392692   30340  49362352   1% /etc/resolv.conf


And also inside the chroot:
ls -R /boot/efi/
/boot/efi/:
EFI

/boot/efi/EFI:
grub

/boot/efi/EFI/grub:
grubx64.efi


This is exactly the layout and commands that I used to install on several other systems, and it worked there. It doesn't work on the T7810.
Title: Re: Dell Precision T7810
Post by: MaxLPM on 01 August 2024, 14:04:04
Hm, maybe try the "--removable" (https://wiki.archlinux.org/title/Grub#Default/fallback_boot_path) option:
Code: [Select]
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --removable
And if that doesn't work out of the box, re-add the boot entry in the UEFI and make sure it points to BOOTX64.EFI (should be somewhere in /boot/EFI)
Title: Re: Dell Precision T7810
Post by: stamasd on 01 August 2024, 15:47:45
Code: [Select]
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --removable

Yes, that worked!
Thank you very much.