larrys Tux's lil' helper
Joined: 20 Jul 2020 Posts: 81 Location: New Jersey
|
Posted: Mon Nov 23, 2020 3:30 am Post subject: VMware Gentoo guest: /dev/sda not found |
|
|
This is a documentation issue. Error was no crypt_root specified on kernel command line, but real problem was /dev/sda was not present on reboot: it was present when using the install iso. Was following the instructions for VMware guests on this page: https://wiki.gentoo.org/wiki/VMware. On boot got the above error. Went into the rescue shell to try to run cryptsetup luksOpen, but there was no /dev/sda, which was there during install.
Was following the amd64 Handbook. Did not have this problem when setting up dm-crypt on the host computer.
Found this link: https://unix.stackexchange.com/questions/279097/missing-dev-sda-when-building-a-minimal-kernel-for-vmware, which suggested enabling CONFIG_FUSION_SPI (mptspi module) in the kernel. Enabled this and all it's suboptions, except for logging. Compiled, installed, rebooted. This time the genkernel initramfs prompted for the LUKS password, and from there the boot completed successfully.
Believe CONFIG_FUSION_SPI is needed for VMware Gentoo guests. Please consider updating the above web page.
Thank you.
Edit: Found another link that specifies FUSION_SPI for VMware guests: http://bruceblinn.com/linuxinfo/ConfigKernel-VMware.html
Thank you. |
|