diff options
Diffstat (limited to 'grub-xen-git.install')
-rw-r--r-- | grub-xen-git.install | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/grub-xen-git.install b/grub-xen-git.install index c13ef99c77c5..6089392cd6ef 100644 --- a/grub-xen-git.install +++ b/grub-xen-git.install @@ -10,8 +10,21 @@ post_upgrade() { post_install() { cat << 'EOM' -Generate your bootloader configuration with: +Generate your dom0 bootloader configuration with: grub-mkconfig -o /boot/grub/grub.cfg + +Generate a simple pvgrub2 image with: + cat > grub.cfg <<EOF + search -s root -f /boot/grub/grub.cfg + configfile /boot/grub/grub.cfg + EOF + + grub-mkstandalone -O x86_64-xen -o /usr/lib/xen/boot/pvgrub2-x86_64-xen grub.cfg + +and set the generated image as the value for the kernel in the domU config +file. For i386-xen and i386-xen_pvh images, substitute the desired platform +for 'x86_64' in the command above. See https://wiki.xen.org/wiki/PvGrub2 for +more possibilities. EOM } |