Hello Guys,
Time for some update from my side.
I created new partition table with the following partition layout:
sudo fdisk -o Device,Size,Type -l /dev/sda
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 860
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: <ID>
Device Size Type
/dev/sda1 1G EFI System
/dev/sda2 8G Linux swap
/dev/sda3 406.8G Linux filesystem
I installed Solus 4.5 Budgie Edition successfully, however distro is not booting. Previous installation of Solus 4.2 (Budgie) around 2021 went well back then. My BIOS is UEFI compatible. I also lost SSD boot entry in BIOS which I had with previous Solus installation. From what I understand Solus during installation didn't set correctly UEFI boot entry. Correct me if I am wrong.
Weird thing is that during installation I have got info dialog with message about possibility to create 8MB partition for grub-boot, maybe installer detected my setup as Legacy BIOS? 🤔
Anyway I would like to ask you to send me your output from efibootmgr
command from the latest Solus. Thanks to this I will create UEFI boot entry manually and see if it helps.
Here is content of my boot
EFI partition, looks a little bit weird to me:
ls -la /target/boot/
total 72868
drwxr-xr-x 3 root root 4096 Jan 1 1970 .
drwxr-xr-x 19 root root 4096 Mar 11 16:39 ..
-rwxr-xr-x 1 root root 10946352 Mar 11 17:39 com.solus-project.current.6.6.9-269
drwxr-xr-x 4 root root 4096 Mar 11 17:39 grub
-rwxr-xr-x 1 root root 63652875 Mar 11 17:39 initrd-com.solus-project.current.6.6.9-269
P.S. Operations from https://help.getsol.us/docs/user/troubleshooting/boot-rescue docs didn't help.
If you have any ideas what happened just let me know.
UPDATE
It turned out the solution was simpler than I thought. After mounting my installed system according to https://help.getsol.us/docs/user/troubleshooting/boot-rescue#mounting-your-system docs and chrooting to installed system according to https://help.getsol.us/docs/user/troubleshooting/boot-rescue#chrooting-to-your-solus-system docs finally the clr-boot-manager list-kernels
command started to work.
The final solution was to simply run in chrooted system:
clr-boot-manager update
After that my boot
EFI partition content has been changed to:
ls -la /boot/
razem 24
drwxr-xr-x 5 root root 4096 1970-01-01 .
drwxr-xr-x 20 root root 4096 03-12 11:02 ..
drwxr-xr-x 4 root root 4096 03-12 10:56 EFI
drwxr-xr-x 4 root root 4096 03-11 18:39 grub
drwxr-xr-x 3 root root 4096 03-12 11:22 loader
-rwxr-xr-x 1 root root 1321 03-12 11:21 solus-enroll-me.cer
My Solus installation has been correctly registered in efibootmgr
and BIOS boot menu entry as Solus Linux Bootloader
. Solus booted immediately.
I was able to upgrade all packages to the latest versions without any errors. The linux kernel finally updated automagically as it should.
Few changes I spotted after installation:
- The
boot
EFI partition is now automagically mounted which was not a case in the previous installation from 2021.
- As the result of the previous point
bootctl list
command now correctly lists all boot entries. Previously I had to mount boot
filesystem manually by running sudo clr-boot-manager mount-boot
to list them.
Conclusions
After performing this installation I have a suggestion for developers/maintainers to update https://help.getsol.us/docs/user/troubleshooting/boot-rescue documentation by adding information:
Running the following command in chrooted system fixes broken UEFI boot entry for Solus after installation:
clr-boot-manager update
The question is why it happened to me (looks like a bug). After some research I found out that other people had similar problems but trying to solve them manually with efibootmgr
which maybe not always is the best way. This is something for developers to investigate.