LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » HyperVM Community Support » HyperVM Xen » Own Kernel
Own Kernel [message #87198] Thu, 21 July 2011 06:46 Go to next message
nashenas is currently offline nashenas  United States
Messages: 88
Registered: February 2009
Location: Auckland
Valuable Member
Hello ,

My vps is using node's kernel .
The os installed is Centos 32-bit, but
uname -a shows 64-bit kernel.
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


We need 32bits kernel Sad

Please help me
Re: Own Kernel [message #87210 is a reply to message #87198] Thu, 21 July 2011 11:50 Go to previous messageGo to next message
mustafaramadhan is currently offline mustafaramadhan  Indonesia
Messages: 5677
Registered: December 2010
Location: Yogyakarta
Super Grandmaster
Forum Moderator

openvz or xen?

http://download.lxcenter.org/kdev.png
..:: MRatWork ::..
Server/Web-integrator - perfect not always more useful

--- Need KVM/OpenVZ VPS? - click here (Kloxo-MR READY!) ---

For bug/feature/security - Member rank status

http://download.lxcenter.org/hdev.png
Re: Own Kernel [message #87231 is a reply to message #87210] Thu, 21 July 2011 18:16 Go to previous messageGo to next message
xester is currently offline xester  
Messages: 88
Registered: March 2009
Location: Portugal
Valuable Member

try the fallowing commands

for openvz

yum -y install ovzkernel-xen.i686


for xen

yum -y install kernel-xen.i686


Re: Own Kernel [message #87249 is a reply to message #87231] Fri, 22 July 2011 04:08 Go to previous messageGo to next message
nashenas is currently offline nashenas  United States
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 #87250 is a reply to message #87249] Fri, 22 July 2011 04:13 Go to previous messageGo to next message
xester is currently offline xester  
Messages: 88
Registered: March 2009
Location: Portugal
Valuable Member

you -y remote kernel-xen.x86_64


And reboot the machine, i dont like this changes, i will not feel responsable if the server does not boot up


Re: Own Kernel [message #87257 is a reply to message #87250] Fri, 22 July 2011 08:09 Go to previous messageGo to next message
nashenas is currently offline nashenas  United States
Messages: 88
Registered: February 2009
Location: Auckland
Valuable Member

[root@server ~]#you -y remote kernel-xen.x86_64
-bash: you: command not found


Re: Own Kernel [message #87271 is a reply to message #87198] Fri, 22 July 2011 16:05 Go to previous messageGo to next message
xester is currently offline xester  
Messages: 88
Registered: March 2009
Location: Portugal
Valuable Member

yum -y remove kernel-xen.x86_64

write bad


Re: Own Kernel [message #87294 is a reply to message #87198] Sat, 23 July 2011 12:07 Go to previous messageGo to next message
nashenas is currently offline nashenas  United States
Messages: 88
Registered: February 2009
Location: Auckland
Valuable Member
I think my VPS is using node kernel !! and It doesn't use the own kernel .

I ran your command in VPS :
[root@server ~]#yum -y remove kernel-xen.x86_64
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: kernel-xen.x86_64
Loading mirror speeds from cached hostfile
 * base: mirror.cogentco.com
 * extras: mirror.batblue.com
 * updates: centos.mirror.nac.net
base                                                     | 1.1 kB     00:00
extras                                                   | 2.1 kB     00:00
updates                                                  | 1.9 kB     00:00
No Packages marked for removal

Re: Own Kernel [message #87313 is a reply to message #87294] Sat, 23 July 2011 18:42 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
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
Re: Own Kernel [message #87323 is a reply to message #87313] Sat, 23 July 2011 22:40 Go to previous message
mustafaramadhan is currently offline mustafaramadhan  Indonesia
Messages: 5677
Registered: December 2010
Location: Yogyakarta
Super Grandmaster
Forum Moderator

I have xen vps and information same like yours. All package still on 32bit.

http://download.lxcenter.org/kdev.png
..:: MRatWork ::..
Server/Web-integrator - perfect not always more useful

--- Need KVM/OpenVZ VPS? - click here (Kloxo-MR READY!) ---

For bug/feature/security - Member rank status

http://download.lxcenter.org/hdev.png
Previous Topic:Fresh CentOS install
Next Topic:network card 100 Mbits to 1Gbits for windows ?
Goto Forum:
  


Current Time: Fri May 24 10:10:41 EDT 2013

Total time taken to generate the page: 0.01195 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software