How do I have my computer find and boot Arch Linux?
Not downloaded yet
I followed this guide on how to install Arch Linux and it all worked fine until the end, when I rebooted. I did not get an option to use an existing installation, instead I got this. It doesn't look anything like the boot menu in the video, which has me slightly worried.
I'm pretty certain everything is installed right, but it won't let me boot into the installed version unless I have the USB drive in and select it from the live installation.
Does anyone have any idea what I'm doing wrong?
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Image
- ID
- 98rsvm
23 comments
Don't follow the video. Any video. Just follow the official Installation guide on the official website.
^
If you can't follow the guide, imho you need more experience with linux before installing arch
No idea about the video, I don't watch those kind of "guides". But most likely you need to install and configure bootloader. Here's the relevant section in Installation wiki page: https://wiki.archlinux.org/index.php/Installation_guide#Boot_loader
Video probably uses different configuration for bootloader than you need. Read carefully the installation and configuration sections on wiki for bootloader you choose.
If you use UEFI boot, I recommend using systemd-boot.
And in case of UEFI boot make sure you set up your EFI partition correctly (check installation wiki for more details).
You can boot into installation usb, chroot into installed partition and install/configure/update bootloader from there. There's no need to reinstall everything from beginning.
How do I set up the EFI partition correctly? I set its 'type' to ef (EFI FAT-12/16/32) but I was told in another thread that I should use something different for UEFI.
That should be enough. Format it as FAT32 and set type to EFI/System. Here's more information on this: https://wiki.archlinux.org/index.php/EFI_system_partition
Deleted before we saved it.
I always recommend systemd boot on uefi when helping my friends set up. Just did one of these the other day,
To install run this
bootctl --path=esp install
Example
bootctl --path=/boot install ***assumes your /boot partition is formatted vfat.
It should install all the directories there. But only important things are : loader.conf file and entries dir.
Then you make some configuration files.
A .conf file at
esp/loader/loader.conf (esp being /boot in this ex)
default arch timeout 4 editor no
Then create a file called arch.conf in the entries dir.
esp/loader/entries/arch.conf
title Arch Linux linux /vmlinuz-linux initrd /intel-ucode.img (if you have Intel microcode) initrd /initramfs-linux.img options root=LABEL=arch_os rw
That's how I do it and it works. Lots of youtube videos show you how. But this way just ended up sticking as easiest for me. Good luck! Use the wiki/videos/whatever works.
Alright, I'll try that. I'm in the process of reinstalling it again, so I'll edit this if that works.
Good luck. I know it pissed me off the first couple times I failed. Hope I helped. The formatting went to shit, but just search the wiki and you'll find it on the bootloader page.
,
So now I'm getting an error that Linux can't find device
/dev/disk/by-uuid/214856c5-6dfa-40d0-b528-9cac4de7d227Do you know what could be causing this problem?
Sorry I have been away a while. It looks like you are missing a line in your config that points to the root. I usually have a root=/dev/sda3(if that's the root) rw line in the configuration that's defining the the kernel file to look for. So arch.conf or whatever you called it.
Okay, so I got a 'failed to open file: intel-ucode.img' error after booting into my existing installation. Do you know what went wrong?
Did you install intel-ucode?
Deleted before we saved it.
Don’t ever follow video guides, or anything out of the Arch wiki unless you really need it.
I would say you’re better off installing Arch again but from the install guide.
I'll try that. I first followed a video guide because I thought fdisk -l was fdisk -1, so just kind of a dumb mistake.
Yes, don't follow video guides. Even better; don't follow guides from 2016.
Also, being a newb and doing a LVM+LUKS setup is just begging for problems. Follow the wiki and just a basic installation and get familiare with Arch. Redo the setup with encryption after a while.
I'm pretty sure I wasn't doing an encrypted install.