|Re: Own Kernel [message #87313 is a reply to message #87294]
||Sat, 23 July 2011 18:42
Registered: May 2011
HyperVM does not support pygrub. In order for your host to enable pygrub to boot to your kernel, they would have to improvise. Once you have grub and your kernel-xen installed and confirm the grub configuration ask your provider to:|
Comment out the kernel ramdisk and root lines and add the bootloader to the top line. They must then use chattr or hypervm will revert the changes back.
bootloader = '/usr/bin/pygrub'
# kernel = '/boot/hypervm-xen-vmlinuz'
# ramdisk = '/boot/hypervm-xen-initrd.img'
memory = 256
cpu_weight = 1000
name = 'name.vm'
vif = 'ip=192.168.0.201, vifname=viftest0, mac=aa:00:a6:c2:d1:01 '
vnc = 0
vcpus = 4
vncviewer = 0
serial = 'pty'
disk = 'phy:/dev/VolGroup00/name_rootimg,xvda,w', 'phy:/dev/VolGroup00/name_vmswap,xvdb,w'
# root = '/dev/sda1 ro'
Use chattr to make this config permanent
chattr +i /home/xen/name.vm/name.vm.cfg
*This information can also be found here, but no need to change the disk directive: http://wiki.lxcenter.org/FreshOSInstall
HyperVM Xen VPS hosting