PvGrub

From Xen

Revision as of 17:21, 23 April 2012 by Lars.kurth (Talk | contribs)
Jump to: navigation, search


PV-GRUB replaces PyGrub to boot domU images safely: 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.

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 • Русский • 中文
Personal tools