OpenVZ Forum


Home » General » Support » Bootlader
Bootlader [message #42252] Sat, 26 March 2011 10:19 Go to next message
revhost is currently offline  revhost
Messages: 2
Registered: March 2011
Location: Wales
Junior Member
Hi i changed to openvz on about 6 of my server and one of them that is runnig centos 5.5 i carnt change to bootloader to boot in openvz kernal. Can some one help me with the ssh command and how to do it.

bit of my system info here.

You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup01/LogVol00
# initrd /initrd-version.img
#boot=/dev/mapper/pdc_bfiahedhf
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-238.5.1.el5.028stab085.3)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.5.1.el5.028stab085.3 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
initrd /initrd-2.6.18-238.5.1.el5.028stab085.3.img
title CentOS (2.6.18-194.32.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-194.32.1.el5
module /vmlinuz-2.6.18-194.32.1.el5xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet
module /initrd-2.6.18-194.32.1.el5xen.img
title CentOS (2.6.18-194.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-194.el5
module /vmlinuz-2.6.18-194.el5xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet
module /initrd-2.6.18-194.el5xen.img
dont no if i completely cocked it up im new to all this.

thanks.
Re: Bootlader [message #42259 is a reply to message #42252] Sun, 27 March 2011 06:15 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Change default=1 to default=0 in grub.conf and reboot.

Kernels are counted starting with 0 so if your openvz kernel is the first listed, it should be 0.
Re: Bootlader [message #42260 is a reply to message #42259] Sun, 27 March 2011 11:19 Go to previous message
revhost is currently offline  revhost
Messages: 2
Registered: March 2011
Location: Wales
Junior Member
iv tryed and i still get the error, (not openvz kernal when i try to start openvz)

I'v even use kvm over ip to do boot into it and still wont have it

can you tell me how my grub file should be edited please.

thank you ales
Previous Topic: Slow first ping to any VE IP? It's driving me crazy!
Next Topic: Weird network problem under load
Goto Forum:
  


Current Time: Wed Jul 10 05:26:46 GMT 2024

Total time taken to generate the page: 0.02519 seconds