summarylogtreecommitdiffstats
path: root/grub-xen-git.install
diff options
context:
space:
mode:
authorChris Chapman2020-08-11 01:13:03 +0000
committerChris Chapman2020-08-11 01:13:03 +0000
commit202b94fd2ab9d4cf0edc1c3d24598a3c314b5491 (patch)
tree27d232834098d96aa1bebaf3a7053610bf30c80d /grub-xen-git.install
parent25515585428d1515bd844a95fdf404ea53092cff (diff)
downloadaur-grub-xen-git.tar.gz
Updated install message to describe pvgrub2 mkstandalone process
Diffstat (limited to 'grub-xen-git.install')
-rw-r--r--grub-xen-git.install15
1 files changed, 14 insertions, 1 deletions
diff --git a/grub-xen-git.install b/grub-xen-git.install
index c13ef99c77c..6089392cd6e 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
}