Knov wrote:NeddySeagoon wrote:
If the kernel and initrd are in /boot update grub.cfg and post it.
They were both in boot so here is
grub.cfg
It kernel panicked again. Could it maybe be that the config file I'm using to build my kernels is corrupted in some way? Or maybe I should upload screenshots of the boot message?
Running out of ideas, but one thing we haven't checked: was /boot mounted when you installed the kernel and updated the grub.cfg ?
That is, are the files in the /boot partition, or are they in the /boot directory of the root partition ?
Code: Select all
# mount | grep boot
# ls -l /boot
# mount /boot
# ls -l /boot
If the two "ls -l" output are different,
Code: Select all
# cd /usr/src/linux
# make install ;: while /boot is still mounted !
# dracut --force --kver 6.5.1-gentoo ;: or whatever the right dracut command is
# grub-mkconfig -o /boot/grub/grub.cfg
and then, to clean up the false install in the root partition,
Code: Select all
# umount /boot
# cd /boot
# rm -rf *
(Looks scary, doesn't it? but this is to leave an empty /boot directory in the root partition. Good practice. When you mount /boot, its content hides whatever was in the directory so leaving anything there wastes space.)
And if /boot
was mounted all along, ignore the above. Just another false lead.