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-10-03 18:28:13]
garrett.plasky Approved
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: