Mandriva 2010.2 Installation in kvm guest

Preliminary

To perform a net install of Mandriva 2010.2 in a virtual machine called "mandarine" - with 8 GB disk, bridge and sound support - to a remote host called "bareil", use the following syntax:

# vm-create -c bareil -s 8 -S -b br0 -u mandriva mandarine
Pool install refreshed

Starting install...
Allocating 'mandarine.img'                          | 8.0 GB     00:00     
Creating domain...                                  |   0  B     00:00

You can use the option -t to print the whole command to be passed to virt-install to standard output before executing it:

# vm-create -t -c bareil -s 8 -S -b br0 -u mandriva mandarine
virt-install 
--connect=qemu+ssh://bareil/system 
--ram=512 
--arch=i386 
--vcpus=1 
--video=vga 
--soundhw=default 
--description="mandarine (mandriva 2010.2) - vm guest on host bareil" 
--os-variant=mandriva2010 
--disk vol=install/boot.iso,device=cdrom 
--boot=cdrom,hd,network 
--disk pool=default,size=8 
--network bridge=br0 
--vnc 
--vnclisten=0.0.0.0 
--name=mandarine

iso URL: ftp://ftp.uwsg.indiana.edu/linux/mandrake/official/2010.2/i586/install
/images/boot.iso

A detailled description of the vm-create script has been posted in the openSUSE forum: vm-create : create kvm virtual machines.

* Notice that the option --boot=cdrom,hd,network is not available on virt-install version prior to 5003.

Booting Mandriva

Grub prompt Booting... Detecting USB devices... Choosing installation method... Selecting network conneciton type Filling DHCP server entries... Bringing up networking... Proxy settings... Choosing a mirror... Choosing a mirror... Loading program into memory... Starting Xorg... Starting Xorg...

You can use the mousewheel to navigate in the slideshow

To install the 64 bits version, use /mandriva/Mandrakelinux/official/2010.2/x86_64/ as the Mandriva Linux directory.

Mandriva GUI setup

Please choose a language to use Licensee agreement. Keyboard... Custom disk partitioning... Toggle to expert mode Partitioning... Create a new partition (/) Partitioning... Create a new partition (swap) Partitioning... Create a new partition (/home) Partitioning...Done Partition table of drive vda is going to be written to disk Formatting partition.. Partitioning Desktop selection Installing... Installing... User management Preparing bootloader... Choose an X server Monitor Configure systemr Timezone Date, Clock and Timezone settings Country/Region Services Firewall Firewall Interactive firewall Firewall configuration Installing... Installation complete Reboot

You can use the mousewheel to navigate in the slideshow