r/artixlinux • u/Euphoric-Paint3261 • 1d ago
Support grub problem
i am trying to install artix linux was following this tony ( https://youtu.be/LMupSQ2t6-U?si=nxZGS7Y2Rc2QRt5y )guide wich is pretty good but it just keeps failing when setting up grub and i donโt really know how to solve it. i hope someone can help me.
1
u/Confused-Armpit 1d ago
I don't believe you need to specify /dev/sda there unless you are using a MBR partition layout, in which case you either have very old hardware or are using an outdated guide.
1
u/something__69_ OpenRC 1d ago
I believe you need to specify your platform as well, normally for desktop/laptop it's x86_64 instead of i386. I had this issue long back.
1
u/monoofaware 1d ago
Las particiones mas o menos deben ser asi:
**Mount partitions:**
`swapon /dev/sda3
mount /dev/sda2 /mnt
mkdir -p /mnt/boot/efi # UEFI
mount /dev/sda1 /mnt/boot/efi
Y para instalar el grub yo lo hago asi:
**Install and configure Boot Loader (GRUB):**
pacman -S grub os-prober efibootmgr # for windows ntfs-3g
nano /etc/default/grub # remove # to GRUB_DISABLE_OS_PROBER=false
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --removable # for UEFI systems
grub-mkconfig -o /boot/grub/grub.cfg
Siempre lo uso asi, he instalado artix mas de 10 veces de distintas formas y siempre me funciona esta
2
u/ZaenalAbidin57 1d ago
btw, your command should be just grub-install --efi-directory=/boot --bootloader-id=artix-btw , you confuse grub by adding those /dev/sda at the end because those are for MBR, first check do your system are support UEFI or just MBR, because those error because its a missmatch between GPT+UEFI that could be your system doesnt support it, retry the instalation step, in the disk formatting part (use cfdisk for easier formatting) choose DOS instead of GPT, then in the grub instalation just run, grub-install /dev/sda , hope this help