View previous topic :: View next topic |
Author |
Message |
rrubberr n00b

Joined: 22 Mar 2025 Posts: 3
|
Posted: Sat Mar 22, 2025 3:23 am Post subject: Switching gentoo-kernel-bin to gentoo-kernel = vfat failure |
|
|
I've recently successfully installed Gentoo and have my Gnome desktop all set up. I noticed that I was still using gentoo-kernel-bin rather than gentoo-kernel.
My first step was to unmask gentoo-kernel based on an older post to this forum by using the following command:
Code: | emerge --deselect gentoo-kernel-bin |
Next I commenced building gentoo-kernel with:
Code: | emerge -av gentoo-kernel |
I then ran eselect kernel to choose the correct one. Unfortunately, the machine reboots to the error "failed to mount /boot/efi unknown filesystem type 'vfat'."
I was able to successfully boot the system again by reverting to gentoo-kernel-bin. I then added a file named "vfat.config" to the /etc/kernel/config.d directory with the following contents and repeated the emerge/build process:
Code: | CONFIG_FAT_FS=m
CONFIG_VFAT_FS=m
|
For what it's worth, I also tried this file with "y" instead of "m" and it made no difference. I still reboot to the failure to mount /boot/efi error.
What is the correct way to do this? Thanks! |
|
Back to top |
|
 |
dE_logics Advocate


Joined: 02 Jan 2009 Posts: 2335 Location: $TERM
|
Posted: Sat Mar 22, 2025 5:33 am Post subject: |
|
|
_________________ My blog |
|
Back to top |
|
 |
rrubberr n00b

Joined: 22 Mar 2025 Posts: 3
|
Posted: Sat Mar 22, 2025 7:56 am Post subject: |
|
|
No output, vfat is also missing from cat /proc/filesystems output. A fresh install with gentoo-kernel and no gentoo-kernel-bin whatsoever encounters this same issue.
This is perhaps related to:
Code: |
module: x86/modules: invalid relocation target, existing value is nonzero for type 1... |
|
|
Back to top |
|
 |
rrubberr n00b

Joined: 22 Mar 2025 Posts: 3
|
|
Back to top |
|
 |
dE_logics Advocate


Joined: 02 Jan 2009 Posts: 2335 Location: $TERM
|
Posted: Sat Mar 22, 2025 9:09 am Post subject: |
|
|
rrubberr wrote: |
No output, vfat is also missing from cat /proc/filesystems output. A fresh install with gentoo-kernel and no gentoo-kernel-bin whatsoever encounters this same issue.
This is perhaps related to:
Code: |
module: x86/modules: invalid relocation target, existing value is nonzero for type 1... |
|
This is the root cause the module is not being loaded.
Code: | find /usr/lib/modules/<kernel version> -iname '*vfat*.ko*' |
_________________ My blog |
|
Back to top |
|
 |
|