You are not logged in.
Hi,
Just installed arch on a new dell xps 9500, alongside the stock windows 10.
I have one dedicated partition for `/home` and it's encryted with luks.
I mount the existing efi partition to `/boot/efi` and install systemd-boot using `bootctl install`
I then add an `arch.conf` entry under `loader/entries`
I verified the boot setup with `bootctl list`, and arch is the default one and check is green.
Then I reboot, using the Linux Boot Manager, but in the list I don't have arch linux as option, only the windows boot manager.
Any information I can put here to help finding the problem?
Thanks!
Last edited by darkjh (2020-08-02 22:52:08)
Offline
Offline
/boot/efi/loader/loader.conf
default arch.conf
timeout 5
console-mode max
editor no
/boot/efi/loader/entries/arch.conf
title Arch Linux
linux ../vmlinuz-linux
initrd ../intel-ucode.img
initrd ../initramfs-linux.img
options root=UUID=73331cc7-ef44-4250-bb91-1b1f2d0afc05 rw
I've double check the uuid (it's the / partition UUID)
Offline
Is it a problem of mounting the efi partition to `/boot/efi`?
Files like `vmlinuz-linux` are under `/boot`, so at boot time they are not in the efi partition? Is is a problem?
Offline
Kernel and initrd's should be on EFI partition.
I prefer mount EFI to /boot
also paths should be without dots (../)
Last edited by GeorgeJP (2020-07-31 22:52:31)
Offline
Kernel and initrd's should be on EFI partition.
I prefer mount EFI to /boot
also paths should be without dots (../)
Yes that's the problem. I copied the kernel and initrd files under `/boot/efi` that the problem is solved.
So is it safe to uninstall the systemd-boot and change the mount point to `/boot`? Otherwise I have to manual copy files each time kernel is updated.
Offline
Unmount EFI from /boot/efi
Mount EFI to /boot
Change entry in /etc/fstab
bootctl install
Verify contents of /boot folder
Should be OK
Offline
Unmount EFI from /boot/efi
Mount EFI to /boot
Change entry in /etc/fstab
bootctl install
Verify contents of /boot folder
Should be OK
No need to `bootctl remove` first?
Offline
Not necessarily.
After install you can remove all remaining files manually.
Final file structure should look like this
/boot
├── EFI
│ ├── BOOT
│ │ └── BOOTX64.EFI
│ ├── Linux
│ └── systemd
│ └── systemd-bootx64.efi
├── initramfs-linux-fallback.img
├── initramfs-linux.img
├── loader
│ ├── entries
│ │ ├── arch1.conf
│ │ └── arch2.conf
│ ├── loader.conf
│ └── random-seed
└── vmlinuz-linux
(I have two arch.conf files - for normal and fallback start)
Offline