Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VMware Gentoo guest: /dev/sda not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
larrys
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2020
Posts: 81
Location: New Jersey

PostPosted: Mon Nov 23, 2020 3:30 am    Post subject: VMware Gentoo guest: /dev/sda not found Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum