Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
vps:pv-grub_centos [2010-05-24 20:47:06]
shaun.reitan
vps:pv-grub_centos [2010-10-03 18:30:46]
garrett.plasky Approved
Line 9: Line 9:
 <code console># easy_install mercurial</code> <code console># easy_install mercurial</code>
  
-In order for your VPS to boot you must build a kernel that already has Xen support and is new enough that pv-grub support is there. Downloading the latest release from Xen will ensure this. Go to [[http://xenbits.xensource.com/|http://xenbits.xensource.com/]] and look for the lastest kernel source. At this time it's linux-2.6.18-xen.hg and it's under the 3.3-testing.hg tree; this is what you need. Copy the link and use hg to download the source:+In order for your VPS to boot you must build a kernel that already has Xen support and is new enough that pv-grub support is there. If you know your kernel already has support for both of these, you can skip this next step. 
 + 
 +==== Xen Kernel Source (Optional) ==== 
 +Downloading the latest release from Xen will ensure this. Go to [[http://xenbits.xensource.com/|http://xenbits.xensource.com/]] and look for the lastest kernel source. At this time it's linux-2.6.18-xen.hg and it's under the 3.3-testing.hg tree; this is what you need. Copy the link and use hg to download the source:
  
 <code console># cd /usr/src <code console># cd /usr/src
Line 37: Line 40:
 # make install</code> # make install</code>
  
 +==== Setting Up Grub ====
 You also need to setup Grub. Edit the menu.lst file which is located in /boot/grub/menu.lst. If it does not exist or that directory does not exist you need to create it and add the following lines. These lines will need to be modified to point to the correct kernel you just built: You also need to setup Grub. Edit the menu.lst file which is located in /boot/grub/menu.lst. If it does not exist or that directory does not exist you need to create it and add the following lines. These lines will need to be modified to point to the correct kernel you just built:
  
Line 43: Line 47:
 Last thing you need to do is go into the manager and edit your server profile, change the kernel to pv-grub-32, shutdown your VPS, and then start it back up. You will want to make sure you're connected to your console so you can make sure the kernel boots properly. If you need assistance doing this you can always contact us http://helpdesk.ndchost.com/ Last thing you need to do is go into the manager and edit your server profile, change the kernel to pv-grub-32, shutdown your VPS, and then start it back up. You will want to make sure you're connected to your console so you can make sure the kernel boots properly. If you need assistance doing this you can always contact us http://helpdesk.ndchost.com/
  
-{{tag>centos how-to vps}}+{{tag>centos how-to vps kernel}}