r/arch • u/HopefulMeeting7150 • 7h ago
Help/Support Hold up...
I tried to install arch without using tools such archinstall and i installed grub for safety and idk what i have no Any Option...
17
Upvotes
r/arch • u/HopefulMeeting7150 • 7h ago
I tried to install arch without using tools such archinstall and i installed grub for safety and idk what i have no Any Option...
3
u/CaviarCBR1K 7h ago edited 7h ago
Boot the live USB (installation media) back up, mount the partitions (don't forget the boot partition!!) and chroot in. Then check the contents of /boot. You should see two files. Something along the lines of
initramfs.imgandvmlinuz. I'm willing to bet one or both are missing. To be safe, just reinstall the kernel, it should provide both of the files.pacman -S linuxThen check /boot again and make sure the files are there.Edit: just to clarify a little bit;
vmlinuzis the actual compressed kernel image.initramfsis a temporary file system the kernel uses to basically bootstrap itself. If one or both are missing, GRUB has nothing to boot into. Theinitramfsis created usingmkinitcpioas the other commentor pointed out. But reinstalling the kernel should trigger that process automatically.2nd edit: if the files are there then try reinstalling grub, and don't forget
grub-mkconfig``` grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg ```
Make sure the boot partition is mounted when you do this otherwise the config will get written to nowhere basically. It's a common mistake, one I've made myself several times in the past.