#Dist kernel does not detect a boot partition

1 messages · Page 1 of 1 (latest)

stone verge
#

Couldn't get wgetpaste for huge log files, sorry for phone pic but I swear this is formatted correctly

odd blade
#

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

stone verge
#

/boot alone is previously how I had it, worked for years, just experimenting

odd blade
#

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

stone verge
#

I did mount /dev/sdb1 /boot how I normally did it and suddenly it can't find it anymore

odd blade
#

that is not showing up in the pic you sent

stone verge
#

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

odd blade
#

what bootloader are you using

#

specifically what are your USE flags on installkernel

stone verge
#

Was gonna try efibootmgr again, there is grub also installed but I have no kernels for either or to detect

stone verge
stone verge
#

Also any other package like Intel microcode or Linux firmware spits the same error

keen wharf
#

Well ofcourse they all have to install stuff to EFI

stone verge
#

What's making portage not detect a perfectly functional FAT32 partition mounted at /boot

keen wharf
#

Are you 100% sure that it is mounted there?

stone verge
#

I'm very sure, I literally did mount /dev/sdb1 /boot

keen wharf
#

wait you said you dont have any files on your boot partition?
Try creating a /boot/efi directory?

odd blade
stone verge
keen wharf
#

Hm, I am looking at Installkernel wikipage but there doesnt seem to be a layout for efi booting without efistub, and efistub requires /efi

stone verge
#

My usual layout (that emerge would create) was /boot/efi/EFI/Gentoo/(actual kernel file)

keen wharf
#

Show us output of 'kernel-install inspect --verbose'

stone verge
#

I don't have kernel-install or did you mean installkernel?

keen wharf
#

they are the same

stone verge
#

layout=efistub
intrid generator = ugrd
uki generator = none

keen wharf
#

You dont have a "Using EFI System Partition" line?

#

Actually, try setting "esp" flag on your boot partition

odd blade
odd blade
stone verge
#

Ahh well I kinda wanna keep that for the auto efibootmgr entries

odd blade
#

installkernel is a simple script forked from debian stuff, kernel-install is similar but the systemd variant

odd blade
#

it essentially runs uefi-mkconfig for you

stone verge
keen wharf
#

*shrug, well clearly your installkernel or kernel-install has no idea where it is, so I am just throwing out ideas

stone verge
#

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

stone verge
#

Wonder if Linux Mint's boot repair tool messed me up