TrevorH -- thank you *so* much! That solved my problem!
For anyone with this same (or a similar) issue, this command rebuilt my initramfs and let me boot my VM as virtio:
dracut --add-drivers "virtio_pci virtio_blk virtio_scsi virtio_net virtio_ring virtio" -f -v /boot/initramfs-`uname -r`.img `uname -r`
When I went to integrate this into my VM build process, I added a file (virtio.conf) to /etc/dracut.conf.d, with this single line:
add_drivers+="virtio_pci virtio_blk virtio_scsi virtio_net virtio_ring virtio"
which didn't play well with an existing xxx.conf file in /etc/dracut.conf.d, as it literally concatenated my string of drivers with the string of drivers in the existing file (which I didn't create). I needed to change my string to have spaces around it, like so:
add_drivers+=" virtio_pci virtio_blk virtio_scsi virtio_net virtio_ring virtio "
which maybe everybody already knows, but I thought I'd mention it.
Then I just needed to do this as part of my VM build process:
/sbin/dracut -f -v /boot/initramfs-`uname -r`.img `uname -r`
Thanks again for the help!
SCSI generic driver not loading at boot
Issues related to applications and software problems
Return to “CentOS 7 - Software Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support