You are not logged in.
Hello everyone! I've had this problem of mine that i haven't found a solution yet no matter what I do when i install arch linux on a real computer, I install the bootloader (grub) and everything and just when I hit reboot grub doesn't even exist my pc doesn't recognise it at all. I repeat the exact same steps on a virtual machine (uefi) and it boots flawlesly. I've installed arch linux lots of times before mostly on legacy mode on an older machine of mine. But with my current pc i don't understand why grub doesn't even show up even though it says successfully installed and i make the grub config. I know there's something wrong I do since if i were to install any other linux distro that does the installation automatically everything works just fine (even though i do the same identical steps when installing it on a virtual machine.) I'd really appreciate if anyone would help me solve what's the matter so I can properly install arch and boot. Below are my computer specs:
MOBO: MSI MPG Z490 GAMING PLUS
CPU: i7-10700K
RAM: 16GB
STORAGE: 1X SSD 240GB, 1X NVME M.2 500GB, 1X 1TB HDD (I try to install arch on my 240gb ssd but i don't think that matters at all)
I believe I follow all the instructions correctly so the only problem is at the end when installing the bootloader.
I partitioned the ssd as follows
/dev/sda1 -> 900MB -> EFI Partition
/dev/sda2 -> 220GB -> Root/main partition
/dev/sda3 -> 1.9GB -> Swap Partition
I mounted /dev/sda2 at /mnt and /dev/sda1 at /mnt/boot
Then install all the base linux kernel, essential packages and everything,
Then arch-chroot to /mnt and do the rest.
Now the bootloader part.
I installed grub os-prober, efibootmgr and others, then ran
grub-install —target=x86_64-efi —efi-directory=/boot —bootloader-id=GRUB
Grub installs with no errors
I then run the grub-mkconfig -o /boot/grub/grub.cfg
No errors again.
But when i reboot and enter boot mode on pc the only device that shows up is the live arch USB. I try reinstalling grub from the live usb and still the same thing.
Last edited by usernamenotfound (2023-02-13 09:40:34)
Offline
Jin, Jîyan, Azadî
Offline
Thank you! This seemed to solve it.
Offline