PvGrub

From Xen
Revision as of 13:30, 9 April 2013 by 7heo (talk | contribs)
Jump to navigationJump to search


PV-GRUB is an alternative to PyGrub to boot domU images safely: unlike pygrub it runs the regular grub inside the created domain itself and uses regular domU facilities to read the disk / fetch files from network etc.; it eventually loads the PV kernel and chain-boots it. There is a HowTo on it in this wiki.

Configuration

  • Boot domU from local disk:
kernel = "/usr/lib/xen/boot/pv-grub-x86_32.gz"
extra = "(hd0,0)/grub/menu.lst"
  • Boot domU from network:
kernel = "/usr/lib/xen/boot/pv-grub-x86_32.gz"
extra = "(nd)/grub/menu.lst"

You should setup the DHCP server and TFTP server correctly. Create ${tftproot}/grub/menu.lst; copy necessary files (vmlinuz, initrd, etc.).

Reference

Languages Language: English  • Deutsch • español • français • 日本語 • 한국어 • português do Brasil • русский • 中文