gohlip wrote: ↑
Fri Jan 11, 2019 7:13 pm
Use the right kernel and initrd file that you have.
The above is what I have. If you haven't updated, you may have an older kernel.
You used..(copied from my example..
I'm so sorry for making it confusing, that was not the command I wrote, that was a quote of yours. This is mine now.
I messed up; tried to copy the kernels to /Boot but ended up moving them to inside an executable and they were gone. I removed "Linux Boot Manager
entries from efibootmgr
and reinstalled the system again.
And loader.conf is[...]
default Solus-current-4.18.5-90 (this line was already there)
this line is already where? in loader.conf? There is no loader.conf previously. But never mind.
I'm telling you, even now that I reinstalled this
was already there in loader.conf
Now, doing the process again;
1 - I had to put the /boot line inside the /etc/fstab from sda4; following this entire post but
changing the solus.conf locations, as you said here;
to /com.solus-project/"kernel-version" & /com.solus-project/"initrd-verision" since these files were not inside
the EFI/Boot folder.
2 - Going back up a bit, now that /boot is listed and my kernels are pointing to the right place, I followed the commands from here
I was wondering why they were not working and you said to carry on, but, you see, they were not pointing to the mounted partitions:
It was sudo bootctl install --path=/dev/sda1
but should be sudo bootctl install --path=/mnt/boot
. Once I did that the commands worked
Code: Select all
live@solus ~ $ sudo bootctl install --path=/mnt/boot
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/mnt/boot/EFI/systemd/systemd-bootx64.efi".
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/mnt/boot/EFI/BOOT/BOOTX64.EFI".
Created EFI boot entry "Linux Boot Manager".
3 - Now I have 2 more boot entries listed on efibootmgr -v
- Linux Boot Manager, created by sudo bootctl install --path=/mnt/boot and
- solus, created by sudo efibootmgr -c -d /dev/sda -p 1 -L "solus" -l "\EFI\systemd\systemd-bootx64.efi"
I'm kinda writing this as a tutorial on how to get this working; mostly because I'm hoping it works, but to put everything in order as well.
Also, sorry for using a lot of image links; I know they are not reliable in the long term but without them the posts get too big/cluttered for me.
I'm going to restart the computer and luckly this is the end.