[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [virt-tools-list] KVM Windows guest: add hard drive



On Wed, Oct 13, 2010 at 01:25:25PM +0100, Richard W.M. Jones wrote:
> On Wed, Oct 13, 2010 at 05:54:00AM +0300, Mihamina Rakotomandimby wrote:
> > > acathrow redhat com :
> > > Are you looking for a new driver to appear in 'my computer'
> > 
> > Yes, that is what I expected.
> > 
> > > because it wouldn't appear there until you format it. Does it show
> > > up in device manager?
> > 
> > I'll try to see in the device manager and see if I can ask for
> > formatting from somewhere.
> 
> You could also try partitioning and preformatting the drive before you
> add it.  _Shut down_ the virtual machine, then do:
> 
> guestfish -a /dev/lvm0/win2003-01-a <<EOF
> run
> part-disk /dev/sda mbr
> mkfs ntfs /dev/sda1
> EOF

In case it's not clear, those commands will delete all data
on '/dev/lvm0/win2003-01-a'.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]