Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 12-19-2012, 02:08 PM   #1
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, PCLinuxOS
Posts: 582

Rep: Reputation: 65
[SOLVED] How do I use virtio drivers in Debian in a KVM virtual machine?

It amazes me how often I find the answer to a problem when I'm in the process of thinking through how I can most clearly state a question about it. Such was the case today. I'm posting it anyway since it might help someone else. Here is the question I had prepared to post:

I installed Debian Linux in a virtual machine under KVM on my Fedora host computer. Now I would like to install the virtio drivers.

But the virtio-modules package says,
Warning: This package is intended for the use in building debian-installer images only. Do not install it on a normal Debian system.
Oh? So how do I get virtio drivers in my normal Debian system running in a VM?

The answer came as I searched for a link that referenced virtio drivers. The link I found says the drivers are (optionally) compiled into the Linux kernel and to just add if=virtio at the appropriate place on the command line.

It works! And since Debian uses UUIDs instead of device names, I didn't even have to modify the any grub files.


kvm, virtio

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to kvm virtual machine sanaz Linux - Virtualization and Cloud 1 10-06-2012 11:02 AM
Can KVM access a Hyper-V virtual machine directly Nick_C Linux - Virtualization and Cloud 4 03-05-2012 11:12 AM
Configuring Slackware 13.7 as guest on KVM with virtio drivers baboow Linux - Virtualization and Cloud 3 08-30-2011 11:43 AM
LXer: Set up RH VirtIO SCSI driver on Windows XP KVM at KVM-QEMU Instance on F14 LXer Syndicated Linux News 14 01-09-2011 01:21 PM
KVM Virtual Machine CD CHANGE ashishverma1984 Fedora 2 12-12-2008 03:51 AM

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration