Installation issue (EFI, systemd-boot or maybe windows issue?)

Hey guys! I have an issue with trying to get endeavouros to work on my pc.

I have windows 11 on one SSD and I have a different sata-SSD where I’m trying to install EndeavousOS.

So I use my live usb, go through the installation steps and go to the page that says finished installing and reboot.

But when I try to boot into that drive I get different errors everytime. Sometimes it throws me back into the menu where I can select a boot device, sometimes I get into the menu where I can select endeavouros but see these 2 errors (screenshots) afterwards, sometimes just a black screen.

Did you select to create a new /efi instead of using the Windows /efi when you installed eos?

Adding to what @ricklinux just posted above, If you have two different ssd, one for Win 11 and one for EOS, then ideally you should have two EFI/ESP partitions. One for Win 11 and one for EOS. It seems that you are using systemd-boot and not GRUB for your boot loader. For systemd-boot typically the ESP is mounted on /efi

Please run the following command from the live-usb terminal and give the output over here.

$ lsblk -T -f
$ fdisk -l
$ inxi -pojDP -xxx

ESP = EFI System Partition. Typically a FAT32 partition
EFI = Extensible Firmware Interface. The new system for booting which replaced MBR method.

I chose the erase disk option. I’m not sure what you mean by creating a new /efi

@aki

If you choose to install the system again, please provide the installer log before you reboot.

It may give us more clues.

Provide Installer Logs (calamares ISO LiveSession):

While you are still on the ISO Live Session logs are stored inside livusers home:

/home/liveuser/endeavour-install.log

You can open with text editor or from file browser, or send via tools (needs internet connection):

cat ~/endeavour-install.log | eos-sendlog

@Archie1 All right these are the outputs (dev sda is the drive i try putting it in, the other 1tb is windows, 500gb is just normal storage and 16gb is the live usb)

lsblk -T -f:

NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squashfs 4.0 0 100% /run/archiso/airoot
fs
sda
├─sda1 vfat FAT32 CAFD-6B36
├─sda2 ext4 1.0 endeavouros 58dcfe6a-09ef-48e1-8fb9-32365a3af7b7
└─sda3 swap 1 swap 88839b9c-9035-45f4-ac4d-921c8eebf803
sdb
├─sdb1 vfat FAT32 090C-53FF
└─sdb2 ntfs E0BC2678BC2648FC
sdc
└─sdc1 vfat FAT32 EOS_202604 9A1A-23B8 11.1G 24% /run/archiso/bootmn
t
nvme0n1
├─nvme0n1p1 vfat FAT32 FCFB-DB0C
├─nvme0n1p2
├─nvme0n1p3 ntfs C618188A18187B9D
└─nvme0n1p4 ntfs 1EF451FAF451D51D

fdisk -l:

Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: CT1000BX500SSD1
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: CDE18BDB-9F26-4832-A272-F6583713D4E0

Device          Start        End    Sectors   Size Type
/dev/sda1        4096    4198399    4194304     2G EFI System
/dev/sda2     4198400 1881411089 1877212690 895.1G Linux filesystem
/dev/sda3  1881411090 1953525101   72114012  34.4G Linux swap

Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 980 1TB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 131072 bytes
Disklabel type: gpt
Disk identifier: 9A06638E-4484-4297-A4F3-1A91A5A2726A

Device              Start        End    Sectors   Size Type
/dev/nvme0n1p1       2048     206847     204800   100M EFI System
/dev/nvme0n1p2     206848     239615      32768    16M Microsoft reserved
/dev/nvme0n1p3     239616 1951885964 1951646349 930.6G Microsoft basic data
/dev/nvme0n1p4 1951887360 1953519615    1632256   797M Windows recovery environment

Disk /dev/sdb: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: 500GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: BFFA93E9-F0FC-0C46-8B3F-4C722A61297A

Device       Start       End   Sectors   Size Type
/dev/sdb1     4096   2052095   2048000  1000M EFI System
/dev/sdb2  2052096 976771071 974718976 464.8G Microsoft basic data

Disk /dev/sdc: 14.65 GiB, 15728640000 bytes, 30720000 sectors
Disk model: Flash Disk
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: 221768E4-673B-49F7-994C-D1FB0573A833

Device     Start      End  Sectors  Size Type
/dev/sdc1   2048 30719951 30717904 14.6G Microsoft basic data

Disk /dev/loop0: 2.99 GiB, 3213123584 bytes, 6275632 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

inxi -pojDP -xxx:

Drives:
Local Storage: total:2.29 TiBused: 3.48 GiB (0.1%)
ID-1:/dev/nvme0n1vendor:Samsungmodel:SSD 980 1TBsize: 931.51 GiB
speed:31.6 Gb/slanes:4tech:SSDserial:S649NL1T762816Pfw-rev: 2B4QFXO7
temp:38.9 Cscheme: GPT
ID-2:/dev/sdavendor:Crucialmodel:CT1000BX500SSD1size: 931.51 GiB
speed:3.0 Gb/stech:SSDserial:2418E8AC2E1Bfw-rev:072scheme: GPT
ID-3:/dev/sdbmodel:SSD 500GBsize:465.76 GiBtype:USBrev: 2.1
spd:480 Mb/slanes:1tech:SSDserial:AA045778888600000930fw-rev: 1101
scheme: GPT
ID-4:/dev/sdcvendor:Genericmodel:Flash Disksize:14.65 GiBtype: USB
rev:2.0spd:480 Mb/slanes:1tech:SSDserial:24010B23fw-rev: 8.07
scheme: GPT
Partition:
ID-1:/size:10 GiBused:173.5 MiB (1.7%)fs:overlaysource: ERR-102
ID-2:/run/archiso/bootmntsize:14.63 GiBused:3.48 GiB (23.8%)fs: vfat
dev: /dev/sdc1
Swap:
Alert: No swap data was found.
Unmounted:
ID-1:/dev/nvme0n1p1size:100 MiBfs: vfat
ID-2:/dev/nvme0n1p2size:16 MiBfs: N/A
ID-3:/dev/nvme0n1p3size:930.62 GiBfs: ntfs
ID-4:/dev/nvme0n1p4size:797 MiBfs: ntfs
ID-5:/dev/sda1size:2 GiBfs: vfat
ID-6:/dev/sda2size:895.12 GiBfs: ext4
ID-7:/dev/sda3size:34.39 GiBfs: swap
ID-8:/dev/sdb1size:1000 MiBfs: vfat
ID-9:/dev/sdb2size:464.78 GiBfs: ntfs

You probably can show us the current install log by booting with the USB installer,
arch-chroot to the installed system, and run either of the commands

cat /var/log/endeavour-install.log | eos-sendlog
cat /var/log/Calamares.log | eos-sendlog

Then please show the returned address here.

The EndeavourOS wiki can help you with arch-chroot.

Edit: typo fixed, thanks @aki !

@aki, Would it be possible for you to please edit your reply and enclose the output of the 3 commands inside a code block or a Preformatted Text block? You will see “Preformatted Text” block option in the editor.

It appears that there are 4 drives in your computer. Windows is installed on the NVMe SSD drive, i.e. /dev/nvme0n1 which is a Samsung 980. There are 2 SATA drives, /dev/sda which is Crucial 1TB and /dev/sdb.
And there is a USB Flash drive, i.e. /dev/sdc which I am assuming is live-USB for OES.

Did you install EOS on the /dev/sda drive, i.e. Crucial drive or the /dev/sdb drive, which appears to be a USB external drive? Because it appears Linux is installed on /dev/sda while there is another windows installation, with its own esp in /dev/sdb.

Please carry out the instructions given by @cactux. Those logs will help us determine what is the issue.

Either the Crucial drive, i.e. /dev/sda may have an issue or while installing the Systemd-boot EFI partition it might have overwritten something. The logs will help us determine that.

@Archie1 Thanks for the suggestion! I edited it now. For your question regarding my drives, it’s sda where i’m trying to install the os, it has 1tb storage. sdb isn’t or shouldnt be a boot device, I even have steam games on it. I forgot the windows one but it has a distinct name and also 1tb storage, and the live usb is the 16gb one.

@cactux @manuel https://dpaste.com/2WGER7MQG (@manuel I think you made a typo in the command “eod-sendlog”)

btw I also tried to install without any other drive plugged in besides the one where I’m trying to install and the live usb, but that didn’t work either

Also I have these boot devices that I can select when I only have the Windows nvme and the SSD that’s supposed to be EndeavourOS:

ubuntu (Samsung SSD 980 1TB)
Windows Boot Manager (Samsung SSD 980 1TB)
Linux Boot Manager (P0: CT1000BX500SSD1)
Windows Boot Manager (P0: CT1000BX500SSD1)

No idea where the ubuntu came from, maybe it’s Linux Mint that I used to have on the drive where I wanna download EndeavourOS. And I notice that there are 2 windows boot managers, the one on the bottom doesn’t work, but interestingly it shares that name id thing as Linux Boot Manager

What seems strange to me , if you selected erase disk during install that the second windows bootloader is still there. Something must have gone wrong there somehow (maybe a bug in the installer). Best way to go in my opinion is delete all partitions on the drive you want to install eos, and create a new one with partition manager from the live ISO. During install select replace partition and don’t select the bootloader from the Samsung drive but let the installer create a new partition like this. Make sure you select the right drive :grinning_face:


Select new to be clear.
On second thought the second windows bootloader would have been a option on your systemd bootloader menu, anyway the method I described is the way I always do it and it has never failed me.

When I’m home in a few hours I’m going to check if the sata ssd even works in the first place.

If it does, I’m going to try with a different 32gb usb stick and if that doesn’t work, remove the windows 11 nvme drive as well so it’s only 1 drive + live usb

Ngl I could also just try another distro like plain arch but now I’m really interested in finding the solution to this, it’s like a game to me now haha.

Thank you guys for being so helpful so far. If it actually works, I’ll send the pastebin with installation logs anyway in case some of you want to see the what the difference is.

Sorry I forgot to reply to you yesterday. This didn’t work either sadly, I still saw the error like the screenshots of my first post

Well it was worth a try :grinning_face:.
Anyway just to rule somethings out, did you disable secure boot before installing.
And if you run efibootmgr does it show the right boot sequence ?
You also mentioned ubuntu, that somehow can be the culprit , if I remember this correctly from another topic somewhere on this forum.

So I tried the things I mentioned I would do when I get back home and none of them worked. So I gave up on this distro and tried plain arch.

Arch didn’t seem to work either. I couldn’t even get it to show up on the boot device list, and sometimes I tried again and again and it did show up but would boot me off.

I even saw kernel panic just when I was about to give up completely. I asked claude AI with full detailed description and it told me to check if there’s a problem with the ssd. I put the cables in different ports and tried to install arch and it still didn’t work.

and then I tried archinstall cuz why not, and lo and behold, IT WORKED.

So my conclusion is I don’t know where it went wrong but something went wrong and now arch works at least :laughing:.

Thanks you all for trying to help and sorry for wasting your time, I assume the ssd wasn’t seated in properly but still don’t know what the problem was.

byebye