Boot the server into the Rescue System http://wiki.hetzner.de/index.php/Hetzner_Rescue-System/en
Run install image and select “Debian Wheezy 64bit minimal” http://wiki.hetzner.de/index.php/Installimage/en
Adjust APT sources for Proxmox
$ wget -O- “http://download.proxmox.com/debian/key.asc” | apt-key add
$ aptitude update
$ vim /etc/hosts
Remove domain name from loopback and comment IPv6, it must be like this:
### Hetzner Online AG installimage
# nameserver config
# IPv4
127.0.0.1 localhost.localdomain localhost
143.251.247.69 virt.domaine.com virt
#
## IPv6
## ::1 ip6-localhost ip6-loopback
## fe00::0 ip6-localnet
## ff00::0 ip6-mcastprefix
## ff02::1 ip6-allnodes
## ff02::2 ip6-allrouters
## ff02::3 ip6-allhosts
## 2801:4z8:196:8334::266 virt.domaine.com virt
$ aptitude install pve-firmware
$ aptitude install pve-kernel-2.6.32-29-pve
$ reboot
$ aptitude install pve-headers-2.6.32-29-pve
Check the currently active Kernel:
$ uname -a
Linux 2.6.32-29-pve …
Change grab config option “set default” to load pve-kernel
$ vim /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default=”0″
if [ “${prev_saved_entry}” ]; then
set saved_entry=”${prev_saved_entry}”
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z “${boot_once}” ]; then
saved_entry=”${chosen}”
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod raid
insmod mdraid1x
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(mduuid/574b104a2173ebdca96f88be3524526e)’
search –no-floppy –fs-uuid –set=root 967a1bf0-dcf4-4638-b998-0d3b8df15706
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640×480
load_video
insmod gfxterm
insmod raid
insmod mdraid1x
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(mduuid/c91c0a99d7ed5922f67ee23e7f05bc29)’
search –no-floppy –fs-uuid –set=root 566d0fd1-85a6-481e-b92d-9fd6e34e4589
set locale_dir=($root)/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry ‘Debian GNU/Linux, with Linux 2.6.32-29-pve’ –class debian –class gnu-linux –class gnu –class os {
load_video
insmod gzio
insmod raid
insmod mdraid1x
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(mduuid/c91c0a99d7ed5922f67ee23e7f05bc29)’
search –no-floppy –fs-uuid –set=root 566d0fd1-85a6-481e-b92d-9fd6e34e4589
echo ‘Loading Linux 2.6.32-29-pve …’
linux /vmlinuz-2.6.32-29-pve root=UUID=967a1bf0-dcf4-4638-b998-0d3b8df15706 ro nomodeset ipv6.disable=1 quiet
echo ‘Loading initial ramdisk …’
initrd /initrd.img-2.6.32-29-pve
}
menuentry ‘Debian GNU/Linux, with Linux 2.6.32-29-pve (recovery mode)’ –class debian –class gnu-linux –class gnu –class os {
load_video
insmod gzio
insmod raid
insmod mdraid1x
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(mduuid/c91c0a99d7ed5922f67ee23e7f05bc29)’
search –no-floppy –fs-uuid –set=root 566d0fd1-85a6-481e-b92d-9fd6e34e4589
echo ‘Loading Linux 2.6.32-29-pve …’
linux /vmlinuz-2.6.32-29-pve root=UUID=967a1bf0-dcf4-4638-b998-0d3b8df15706 ro single
echo ‘Loading initial ramdisk …’
initrd /initrd.img-2.6.32-29-pve
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the ‘exec tail’ line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
$ aptitude install proxmox-ve-2.6.32After installation login to proxmox using root local account through browser https://external.ip:8006
Add new network interface vmbr0 and forwarding rules, comment ipv6
$ vim /etc/network/interfaces
Config files for VM in Proxmox v2 /etc/pve/
For windows OS need iso with drivers
Windows 2008 x64 r2 virtio-win-1.1.16.iso
All other Windows virtio-win-0.1-74.iso