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

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

 



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@xxxxxxxxxx :
> > > 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]