#Dist kernel does not detect a boot partition
1 messages · Page 1 of 1 (latest)
Couldn't get wgetpaste for huge log files, sorry for phone pic but I swear this is formatted correctly
why are you using /boot/EFI
a) it should be /boot/efi b) /boot/efi is legacy junk
you should be using /boot and/or /efi
/boot alone is previously how I had it, worked for years, just experimenting
yeah don't do /boot/EFI
usually the EFI dir is under a mountpoint
like there will be an EFI dir in the root of your ESP
I did mount /dev/sdb1 /boot how I normally did it and suddenly it can't find it anymore
that is not showing up in the pic you sent
Here's where I remount it in the normal place
It can't be that the ebuild got super strict as to where the partition is
Was gonna try efibootmgr again, there is grub also installed but I have no kernels for either or to detect
efistub and ugrd are the only flags for that
Also any other package like Intel microcode or Linux firmware spits the same error
Well ofcourse they all have to install stuff to EFI
What's making portage not detect a perfectly functional FAT32 partition mounted at /boot
Are you 100% sure that it is mounted there?
I'm very sure, I literally did mount /dev/sdb1 /boot
wait you said you dont have any files on your boot partition?
Try creating a /boot/efi directory?
the efistub flag wants to use /efi as a mountpoint
Should I turn it off then? Or I don't actually need efistub flag on
Hm, I am looking at Installkernel wikipage but there doesnt seem to be a layout for efi booting without efistub, and efistub requires /efi
My usual layout (that emerge would create) was /boot/efi/EFI/Gentoo/(actual kernel file)
Show us output of 'kernel-install inspect --verbose'
I don't have kernel-install or did you mean installkernel?
they are the same
layout=efistub
intrid generator = ugrd
uki generator = none
You dont have a "Using EFI System Partition" line?
Actually, try setting "esp" flag on your boot partition
Nope
that flag makes it run uefi-mkconfig
no they are not
Ahh well I kinda wanna keep that for the auto efibootmgr entries
installkernel is a simple script forked from debian stuff, kernel-install is similar but the systemd variant
ye that's what it's good for
it essentially runs uefi-mkconfig for you
I thought you don't need to flag partitions as bootable in UEFI?
*shrug, well clearly your installkernel or kernel-install has no idea where it is, so I am just throwing out ideas
It's something about emerge because I have this same layout on my laptop with zero issues
Yeah parted says it has boot and esp flag
Wonder if Linux Mint's boot repair tool messed me up