I have just tried to install gentoo linux using xen kernel. The problem is that in kernel config in filesystem section there was no ext4 option. But my root partition is ext4. Well I tried to ignore that assuming that ext4 support is build in ext3 support or something like this. I have my boot and home partitions on separate. In my grub.cfg i have:
Found Gentoo Base System release 2.0.3 on /dev/sda9
menuentry "Gentoo Base System release 2.0.3 XEN" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set 8d2cb7cd-4d4e-402a-a133-1b09054ed851
multiboot /xen.gz
module /vmlinuz-2.6.18-xen root=/dev/sda9
}
When my system boots up. I get following message:
Kernel panic - not syncing:VFS: Unable to mount root fs
So I suppose this is because of ext4 not enable but I might be wrong. If it is true - is there any way to get ext4 support on xen kernel? Is there any easy way to convert ext4 to ext3 without shuffling things around?
Thanks for answers!
You can't mount ext4 partitions as ext3 if that partition is using extents, which are enabled by default. The reason ext4 support is missing is because this kernel is too old. I would not recommend using ext4 on anything less than 2.6.30. And the reason it has given you such as old kernel is because this is the "stable" package version. The "unstable" package version will give you 2.6.38. If you don't wish to use "unstable" packages across your whole system then you can add an override in /etc/portage/package.keywords. Assuming you're on amd64...