0

I recently installed gentoo. I followed the guide for amd64 installation. I double-checked if the /boot was mounted before I installed the bootloader (GRUB). I chose the GPT+UEFI option for partition and boot. I have manually configured the kernel and added built-in support for (SATA, SCSi, ATA, ext4, ACHI) driver modules corresponding to the necessary drivers as well. But there is kernel panic on boot.

Here is my grub.cfg

Here is my /etc/fstab

Here are the drives on grub command line

Here is the kernel panic message

It is my understanding that the root partition is not identified. How do I fix this?

5
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Commented Nov 14, 2022 at 8:44
  • Usually you need an initrd / initramfs that contains the driver modules that are required for / mounting, unless all the required drivers are built as builtin. Examples of drivers required are ahci, sd (scsi disk), ext4 and their dependencies.
    – Tom Yan
    Commented Nov 14, 2022 at 10:42
  • @TomYan All the driver modules are built as built-in because I have configured the kernel manually (including the ones you have specified). Since, I have configured the kernel manually I have not used an initramfs. Commented Nov 14, 2022 at 13:25
  • Evidently, you kernel is missing the required drivers to access its root filesystem. Did you enable all the appropriate kernel options?
    – Daniel B
    Commented Nov 14, 2022 at 13:44
  • @DanielB Thanks. I did miss out the hyper-V specific drivers. Commented Nov 19, 2022 at 16:51

1 Answer 1

0

It turns out that I had not enabled Hyper-V Specific driver support (specifically the Hyper-V client driver) in the kernel. Following the Gentoo Hyper-V guide resolved the issue.

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Nov 19, 2022 at 17:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .