I need btrfs filesystem support. I followed the wiki article and rebuilt the kernel, adding btrfs as a built-in kernel object. When I boot the new kernel and try to manually mount a btrfs filesystem, I get "mount: unknown filesystem type 'btrfs'". I have double-checked the config, and btrfs is definitely selected with an "*", as the wiki instructs.
However, my question concerns the new kernel itself. There is only one kernel file in /boot, the one I created on Mar 25. However, if I run "uname -a", it reports that the kernel was built on Mar 20, which is probably the day I originally installed Gentoo. It seems that the original kernel is the one being used, even though it apparently no longer exists.
Here is the boot line from the grub2 configuration:
linux /boot/kernel-genkernel-x86_64-3.12.13-gentoo root=/dev/sdb13
initrd /boot/initramfs-genkernel-x86_64-3.12.13-gentoo
/boot is not on a separate partition. Here is the requested output of ls -l:
lrwxrwxrwx 1 root root 42 Mar 25 14:57 System.map -> System.map-genkernel-x86_64-3.12.13-gentoo
-rw-r--r-- 1 root root 2101526 Mar 25 18:44 System.map-genkernel-x86_64-3.12.13-gentoo
lrwxrwxrwx 1 root root 41 Mar 25 14:58 initramfs -> initramfs-genkernel-x86_64-3.12.13-gentoo
-rw-r--r-- 1 root root 3481260 Mar 25 18:45 initramfs-genkernel-x86_64-3.12.13-gentoo
lrwxrwxrwx 1 root root 38 Mar 25 14:57 kernel -> kernel-genkernel-x86_64-3.12.13-gentoo
-rw-r--r-- 1 root root 3600976 Mar 25 18:44 kernel-genkernel-x86_64-3.12.13-gentoo
What am I missing?
Grub menu entry:
menuentry 'Gentoo Base System release 2.2 (on /dev/sdb13)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-1e68823f-eec6-45b9-9563-a673ec07f4e3' {
insmod part_gpt
insmod ext2
set root='hd1,gpt13'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt13 --hint-efi=hd1,gpt13 --hint-baremetal=ahci1,gpt13 1e68823f-eec6-45b9-9563-a673ec07f4e3
else
search --no-floppy --fs-uuid --set=root 1e68823f-eec6-45b9-9563-a673ec07f4e3
fi
linux /boot/kernel-genkernel-x86_64-3.12.13-gentoo root=/dev/sdb13
initrd /boot/initramfs-genkernel-x86_64-3.12.13-gentoo
}
ls -l /boot
? – casey Mar 26 '14 at 16:36root=
line in the grub config to point to this partition. – casey Mar 26 '14 at 21:08So, back to the original questions: 1) Why does the new kernel not support btrfs, which I config'ed into it? 2) Why does the new kernel still show an internal date of Mar 20, even though it was rebuilt on Mar 25 and the external file date is Mar 25?
– Tim Mar 27 '14 at 15:44file /boot/kernel-genkernel-x86_64-3.12.13-gentoo
. This will print the embedded version info from that file and confirm it is the old kernel. I'm not familiar with genkernel for kernel updates, but perhaps it is not doing the right thing. – casey Mar 27 '14 at 15:52file /usr/src/linux/arch/x86_64/boot/bzImage
(with arch and kernel image name appropriate for your system) and verify it is the new kernel. If that checks out, genkernel is your culprit. – casey Mar 27 '14 at 15:55