PvGrub
From Xen
Jump to navigationJump to 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
- Xen PVGRUB Howto: http://backdrift.org/xen-pvgrub-howto
- GNU GRUB Manual.
- Xen PXE Boot Howto.