Darren Reed wrote:
On 07/07/09 06:10, Mark Johnson wrote:
What I've come up with so far is:
virt-install --paravirt --name dom1 --ram 6144 --nographics \
--os-type=solaris \
--network bridge=e1000g0,capped-bandwidth=200M \
--disk path=/dev/dsk/c0t1d0s4,driver=phy
--location /isos/osol-200906.iso
... what I'm not happy about:
location - I want to use a DVD disc in my DVD drive, not an ISO image
disk path - how do I tell it to use an entire disk (or fdisk partition),
not just a slice?
cpu - I want to set the limit to 2 CPUs.
I assume your using stock bits? What you have above contains
params which are part of a newer virt-install which is being
putback shortly.
virt-install --help
For the disk and cdrom path, you should use p0.
e.g. here's using a cdrom, with 2 vcpus which I
just tested on stock b118 bits (don't have an extra
disk I can install onto on this machine)
-bash-3.2# virt-install -p -n dom --vcpus=2 -r 800 --nographics
--noautoconsole -f /export/disk0 -s 8 -l /dev/dsk/c1t0d0p0
so a -f /dev/dsk/c0t1d0p0 should do it for the disk. Just don't specify the
wrong
disk ;-)
MRJ
_______________________________________________
xen-discuss mailing list
[email protected]