Index: /trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/93-setup-grub
===================================================================
--- /trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/93-setup-grub	(revision 2332)
+++ /trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/93-setup-grub	(revision 2333)
@@ -71,6 +71,17 @@
 # If this is a Jaunty machine, the fix from LP #291256 caused our
 # patch to update-grub to not work, so let's use that mechanism
-# instead
+# instead.
 #
+# Since we haven't run update-grub yet, we need to generate the
+# skeleton of a Debian menu.lst so that update-grub extracts the
+# options correctly
+#
+cat >/boot/grub/menu.lst <<EOF
+### BEGIN AUTOMAGIC KERNELS LIST
+## ## Start Default Options ##
+# indomU=true
+## ## End Default Options ##
+### END DEBIAN AUTOMAGIC KERNELS LIST
+EOF
 sed -i -e 's/indomU=detect/indomU=true/' /boot/grub/menu.lst
 
Index: /trunk/packages/invirt-autoinstaller/debian/changelog
===================================================================
--- /trunk/packages/invirt-autoinstaller/debian/changelog	(revision 2332)
+++ /trunk/packages/invirt-autoinstaller/debian/changelog	(revision 2333)
@@ -1,2 +1,9 @@
+invirt-autoinstaller (0.0.23) unstable; urgency=low
+
+  * Create the shell of a menu.lst file needed to successfully parse
+    indomU=true out of it.
+
+ -- Evan Broder <broder@mit.edu>  Sat, 02 May 2009 22:56:30 -0400
+
 invirt-autoinstaller (0.0.22) unstable; urgency=low
 
