|
|
|
| Re: Own Kernel [message #87249 is a reply to message #87231] |
Fri, 22 July 2011 04:08   |
nashenas  Messages: 88 Registered: February 2009 Location: Auckland |
Valuable Member |
|
|
It is a Xen machine.
I ran this command in my VPS and here is the result :
[root@server ~]#yum -y install kernel-xen.i686
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.atlanticmetro.net
* extras: mirror.symnds.com
* updates: mirror.symnds.com
base | 1.1 kB 00:00
base/primary | 954 kB 00:00
base 2683/2683
extras | 2.1 kB 00:00
extras/primary_db | 183 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 627 kB 00:00
Setting up Install Process
Package kernel-xen-2.6.18-238.19.1.el5.i686 already installed and latest version
Nothing to do
[root@server ~]#uname -a
Linux server 2.6.18-128.2.1.el5xen #1 SMP Tue Jul 14 07:07:49 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
[Updated on: Fri, 22 July 2011 04:10] Report message to a moderator
|
|
|
|
|
|
|
| Re: Own Kernel [message #87313 is a reply to message #87294] |
Sat, 23 July 2011 18:42   |
|
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.
vi /home/xen/name.vm/name.vm.cfg
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
https://www.mercuryvps.com
HyperVM Xen VPS hosting
|
|
|
|