Hi,
Gentoo Forums have been down for a while, so I thought I could ask here.
I've recently installed (well, almost) gentoo on my Probook 450 G1 (with ssd as main disk and hdd instead of cd-rom)
I did it using a legacy/UEFI mixed setting, because I couldn't find any pendrive-UEFI-bootable ISOs (and after I'm done, I can change it to native UEFI). This seems to work, as disks were succesfuly partitioned in GPT etc.
However when I try to restart and boot without a stick (by loading .efi file), I get a
Code:
"VFS: Cannot open root device "<NULL>" or unknown-block(0,0): error -6"
error, which looks like a problem with SATA controller driver.
lspci -k informs me that there is only one disk-related device, which is Intel's 8 Series/C220 in AHCI mode and using ahci driver, which I include in the kernel. Ahci also seems to be the only important used driver showed by lsmod.
(I've noticed that the kernel panic screen shows that drives use sd driver, don't know if it matters)
I've included every necessary thing, that was mentioned in the gentoo handbook in my kernel (including filetypes and EFI support). I'm also using lz4 compression.
I don't use any bootloaders, as it's problematic to get them to work (GRUB2 wants me to boot with native UEFI first for example).
My fstab:
Code:
/dev/sda2 /boot/efi vfat defaults,noatime 1 2
/dev/sda3 / ext4 defaults,noatime 0 1
/dev/sda4 /home ext4 defaults,noatime 0 2
/dev/sdb1 none swap sw 0 0
/dev/sdb2 /backup ext4 defaults,relatime 0 2
/dev/sdb3 /data ext4 defaults,relatime 0 2
sda is the main ssd, sdb is a hdd in a caddy.
Thanks for help!
EDIT:
Well, it worked! Turns out the problem was not with the drivers that I've been playing with for a few days. The bootloader couldn't find the root partition, so I passed
from inside the kernel and everything boots fine now.