[virt-tools-list] Connecting to a physical drive

Richard W.M. Jones rjones at redhat.com
Thu Jan 1 00:51:08 UTC 2015


On Wed, Dec 31, 2014 at 11:58:06AM -0600, Blake McBride wrote:
> Greetings,
> 
> I am using Virtual Machine Manager on a 64 bit LinuxMint 17.1 host.  The
> host has a second physical SCSI drive (/dev/sdb) that I want a Windows 7 VM
> to use.  I am booting from a CDROM ISO image.  The system boots fine but
> the Windows installs keeps saying that it sees no hard disk.
> 
> The host is a local / desktop machine with X.
> 
> What I have tried so far:
> 
> 1.  Under Managed or other existing storage I put:
> /dev/sdb
> Device Type:  SCSI
> cache mode: default
> Storage format raw
> 
> I made sure I had write access to that device:
> chmod 666 /dev/sdb
> 
> I also tried:  chown me /dev/sdb
> 
> 2.  Under Connection Details / storage I added
> Storage pool type:  disk
> Target path:  /dev
> Source path: /dev/sdb
> Volume name: sdb
> Max capacity:  465GB
> Allocation:  465GB
> 
> I have tried everything I can think of but the Windows install keeps saying
> no storage device.

You'd be better off using the libvirt tools to see how the disk
is being passed to the guest, ie:

virsh dumpxml guestname
virsh edit guestname

Most likely Windows doesn't have the right driver but it's
hard to tell without seeing the libvirt XML.

Rich.


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the virt-tools-list mailing list