I thought about it but didnāt even bother looking because it made so much sense to do it in that order (gives you an idea of my logic)
euhhhh⦠it was my understanding they were sharing the same one, or did messed that up too ?
I thought about it but didnāt even bother looking because it made so much sense to do it in that order (gives you an idea of my logic)
euhhhh⦠it was my understanding they were sharing the same one, or did messed that up too ?
Compare the output of lsblk -f
to your /etc/fstab
.
The correct partition should be: 3E8F-28DC
yes that I didnāt mess up.
Ok, so that definitely gave me a bootable system, Iām in. (Cheeeeeeeeersss :-D) (and thanks so much as usualā¦)
So iāll do the long story a little later, but there was obviously a problem with windows bootloader.
As well, when I messed up the order on recreating the initframs after I went rogue deleting the content of /efi
, it created those images in /boot
(which is on my encryted /
partition),
$ ls /boot
initramfs-6.12.15-1-lts.img initramfs-6.13.3-arch1-1.img intel-ucode.img
Once back in, I renamed those, relaunched bootctl install
and then (!) reinstall-kernels
, and didnāt recreate those files.
So, is this /boot
directory supposed to be there, and what about intel-ucode.img
?
Regarding the boot menu⦠well there isnāt one anymore⦠obviously I f%ck*d up the windows one, but shouldnāt I have the choices with regular kernal, lts, and the fallbacks ? (and firmware and uefi shell, or smthg)
Iāll see in the wiki, but if you have an ideaā¦
Yes, that should be there. The package installs it there.
Check in /efi/loader/loader.conf
and ensure timeout
isnāt set to 0.
$ sudo !!
sudo bootctl
[sudo] Mot de passe de jmb :
System:
Firmware: UEFI 2.60 (American Megatrends 5.12)
Firmware Arch: x64
Secure Boot: disabled
ā Boot loader set partition information
Partition: /dev/disk/by-partuuid/102bf430-dbb6-4f07-9ec9-4c46b3b6f51f
Loader: āā/EFI/BOOT/BOOTX64.EFI
Current Entry: 83b590f185f2405ca239032d249de10c-6.12.15-1-lts.conf
Random Seed:
System Token: set
Exists: yes
Available Boot Loaders on ESP:
ESP: /efi (/dev/disk/by-partuuid/102bf430-dbb6-4f07-9ec9-4c46b3b6f51f)
File: āā/EFI/systemd/systemd-bootx64.efi (systemd-boot 257.3-1-arch)
āā/EFI/BOOT/BOOTX64.EFI (systemd-boot 257.3-1-arch)
Boot Loaders Listed in EFI Variables:
Title: UEFI OS
ID: 0x0010
Status: active, boot-order
Partition: /dev/disk/by-partuuid/102bf430-dbb6-4f07-9ec9-4c46b3b6f51f
File: āā/EFI/BOOT/BOOTX64.EFI
Title: Linux Boot Manager
ID: 0x0000
Status: active, boot-order
Partition: /dev/disk/by-partuuid/102bf430-dbb6-4f07-9ec9-4c46b3b6f51f
File: āā/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI
Boot Loader Entries:
$BOOT: /efi (/dev/disk/by-partuuid/102bf430-dbb6-4f07-9ec9-4c46b3b6f51f)
token: endeavouros
Default Boot Loader Entry:
type: Boot Loader Specification Type #1 (.conf)
title: EndeavourOS (6.12.15-1-lts)
id: 83b590f185f2405ca239032d249de10c-6.12.15-1-lts.conf
source: /efi//loader/entries/83b590f185f2405ca239032d249de10c-6.12.15-1-lts.conf (on the EFI System Partition)
sort-key: endeavouros-6.12.15-1-lts
version: 6.12.15-1-lts
machine-id: 83b590f185f2405ca239032d249de10c
linux: /efi//83b590f185f2405ca239032d249de10c/6.12.15-1-lts/linux
initrd: /efi//83b590f185f2405ca239032d249de10c/6.12.15-1-lts/initrd
options: sysrq_always_enabled mitigations=off nvme_load=YES nowatchdog rw rootflags=subvol=/@ rd.luks.uuid=ca4c4be1-37fe-468a-9061-520dee85a95a root=/dev/mapper/luks-ca4c4be1-37fe-468a-9061-520dee85a95a systemd.machine_id=83b590f>
~
$ sudo !!
sudo cat /efi/loader/loader.conf
#timeout 3
#console-mode keep
Uncomment the timeout
line and see if it shows the menu after that.
I didnāt even see it was commented⦠sorry
and yeah, of course, the previous .conf
file I did eraseā¦
so yeah, it is indeed working as expectedā¦
ā¦and now I remember that I did tweak couple of thing in this .conf
file when I set up that system⦠and realize it was really dumb to just delete it instead of saving it⦠ahahah
So⦠for the record, and @jputnam, Iām going to try and āretraceā the steps that got us there and how we got out (well, in actually :p).
First of all, thanks so much for your help guys (especially @dalto, as usual, Iāve no idea how he puts up with it)
This is a very long post full of many useless words drowning out the few informative partsā¦
Jump to the TD;LR part at the end if youāre still in your right mind (and intend to keep it that way).
System is dual booting eOS and Windows 10 (ā¦you already know itās gonna be a sad story), eOS was installed after W10, with the āregularā installer (was Neo version I think), btrfs, encryption, systemd-boot and dracut, like all this ādefaultā i.e. letting the installer do its magic, I just chose the W10 efi partition (that I previously tweaked increasing its size) and installer did the rest. (Well⦠as far as I remember, it was some months back, was my first time installing w/ dracut systemd-boot (and kde) and not manually partitioning or anything (except the efi size part))
It is not my main machine at all, but anyway, everything was working like a charm and as expected, the dual booting part included, and any time someone has had to do anything on eOS and/or W10 with this install, it has never disappointed.
Having to boot W10 to grab a document there, I decided to run an update from it, as it had a long time since anything happened to it (and boy was it better this wayā¦).
And⦠for an obscure reason (is there any other with micro$oft?) when the system restarted to allow W10 to fulfill its shady āupdateā, the boot loader was broken, like systemd-boot menu was nonexistent and a blue windows death screen that I didnāt bother to read (wellā¦) appeared to my pleasure.
After manhandling the machine a couple of times, throwing it on the ground and jumping on it while vocally expressing my gratitude to Mr Gates and its team, I rebooted to (surprisingly) the exact same screen.
I then had the wonderful idea to go check in the bios if some boot order was messed up, eOS wasnāt there anymore, I tweaked the UEFI mode to UEFI+legacy (is it when it got really bad?), rebooted, same same, tweaked back, threw it harder on the wall, spilled a big full pot of boiling water on it, restarted, same same (well, except some sparks that werenāt there before maybe).
So, following another rich idea, I let myself being tricked into the āpropositionā M$ offered on its nice blue screen and ended up pressing the button āREPAIR MY SYSTEMā.
In my defense, I do a lot of experimental drugs.
Well, Micro$oft didnāt disappoint, it did repair, well, not MY, but at least HIS system.
And yes, itās really only after willing-fully helping W10 to screw this as far as it possibly could, that I decided to boot in eOS live iso to clean this mess (about time, right?).
ā¦this is when the first post of this thread appeared, after I unsuccessfully
# bootctl install
reboot
same crap
# bootctl install
# reinstall-kernels
same same
/efi
was there, it was apparently populated as expected as @dalto checked in this post.
After crying for a couple of minutes, I went and extensively followed everything I came across in the wiki systemd-boot troubleshooting, UEFI troubleshooting here and thereā¦
Well⦠that lead me kind of nowhere except in the windows command-line interface messing up rebuilding the bootloaderā¦
This windows terminal part really was a lot of pain, leading to assuming the problem was probably (but what do I knowā¦) with the BCD file in the windows boot loader⦠but like ĀÆ_(ć)_/ĀÆ
Yeah anyway, thereās so much pain one can take, so at one point I went rogue and just deleted (I do a LOT of drugs) everything inside the /efi
partition (backing up only the /EFI/Microsoft
folder which is stupid, but in line with the rest of my actions).
Now, NOTHING was booting of course. In the bios uefi was showing nothing at all to select to boot from. That was quite an achievement. I should have started with that.
So, eOS live iso, messing up the order of reinstall-kernels
and bootctl install
, leading to funny boot menu with nothing but the bios to ābootā on, then corrected the order, and back to a bootable eOS.
That was quite a journeyā¦
Then, cause I like pain I guess, had to grab a f$ck*n W10 iso, do so much crap from there to ārebuildā the W10 boot loader, went back to eos, re re re re re re bootctl install
ā reinstall-kernels
.
Back to a ānormalā dual-booting system, with a wonderful systemd-boot menu showing everything it should.
In the bios, next to Linux Boot Manager and Windows Boot Manager, I still have a weird entry, called UEFI OS, that was created when I messed up kernels and bootctl order the first time I ārepopulatedā the /efi
. Iām not sure I will care about it at this point.
What a long and boring post⦠(again, I do do drugs) so:
TL;DR:
bootctl install
and reinstall-kernels
, firmware wouldnāt acknowledge linux boot manager existence./efi
content for good and letting bootctl
reinstall systemd-boot to the ESP did what it should. Booting into Linux was possible again.Cheers
Wow! This is like the story of the boot from hell.
Donāt let your bootloader play with Windows anymore! This is a good way to destroy your drives. Is that what also happened after?
lol, had it happened before it sure would have save me a lot of pain
So, to sum it up, donāt do drugs.
Seriously though this morning was one of those and your post was entertaining and made my day. Thanks.
EOS is my fix.
Edit: When i need an upper i just follow @linuxislife
I should totally select that as the solution
only to add to the game⦠i had it several times that after a windows update (windows install is on its own Disk and the first one in the row of drives in the system too) it was setting windows boot entry in the nvram as default also i set it to another one.
never saw it removing stuff on other efi partitions in my case i do always have one EFI for one drive⦠works perefctly.
But two times i had an update early win 11 install what completely removed and recreated efi partitions also on other drives. that stopped luckily.
Yeah I dunno, did I leave the bios in UEFI+legacy mode when windows started its ārepairā process and somehow, even in UEFI only, the bios kept seeing only windowā¦??
efibootmgr
wasnāt showing anything from linux even though /efi
looked normal⦠I can only guess it has something to do with the BCD
file inside /EFI/Microsoft
, but the truth is, I really donāt know.
My everyday machine is an HP laptop, with, on the same drive, W10 and eOS (yes I do love pain, I said that already) for which there is this new BIOS update waiting for me to installā¦
ā¦take a look at the description of what it āfixesā:
Let me tell you that for now, I will consider my actual bios soooo much up to date !
Me ⦠Iād be all over it! I love updating UEFI firmware (Bios). Itās a thing!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.