You are not logged in.
Hello,
I'm trying to install arch linux onto my laptop.
At this point in time I'm figuring out how to correctly make a working arch UEFI boot entry.
I do not want to use an intermediate bootloader.
I managed to add the option to the list, but I'm unable to start arch using it.
This is how far I've come.
info:
sda1 is the EFI system partition (ESP)
sda5 is the partition where arch linux is going to be installed
According to the EFI System Partition arch wiki page, you can mount a directory of the ESP to /boot using a bind mount. Thereby allowing pacman to update the kernel directly while keeping the ESP organized.
Does the following mountain range make this possible?
mount /dev/sda5 /mnt
mount /dev/sda1 /mnt/esp
mount --bind /mnt/esp/EFI/arch/ /mnt/boot
If I understand correctly these "mounts" need to be made automatically by fstab during booting.
Fstab will use the /mnt/etc/fstab file for this.
I made the following /mnt/etc/fstab file, to generate the above mountain range.
/dev/sda5 / ext4 rw,relatime,data=ordered 0 1
/dev/sda1 /esp vfat
esp/EFI/arch/ /boot none defaults,bind 0 0
I added the boot entry using the following command
efibootmgr -d /dev/sda -p 1 -c -L "Arch Linux" -l /EFI/arch/vmlinuz-linux -u "root=/dev/sda5 rw initrd=/EFI/arch/intel-ucode.img initrd=/EFI/arch/initramfs-linux.img"
When I go into the boot-time interface and select to boot "Arch Linux", I see a black screen very shortly (<1s), and after that it shows the boot-time interface again.
Any advice on the changes I have to make to get it to work?
Last edited by UnfortunatelyPeanutbutter (2016-08-24 21:32:31)
Offline
Your kernel is co-located with the initramfs; it's not in the root of the ESP. You need to give the correct path to the kernel (in your case “/EFI/arch/vmlinuz-linux”).
Offline
Thanks man!
It works now.
Offline