summaryrefslogtreecommitdiffstats
path: root/recipes/editgrub.html
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/editgrub.html')
-rw-r--r--recipes/editgrub.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/editgrub.html b/recipes/editgrub.html
new file mode 100644
index 00000000..7d7a43b7
--- /dev/null
+++ b/recipes/editgrub.html
@@ -0,0 +1,17 @@
+<h2>Fix an unbootable VM by editing /boot/grub/grub.conf</h2>
+
+<p>
+If you messed up your VM and made it unbootable, it's
+often useful to be able to go in and edit <code>/boot/grub/grub.conf</code>.
+This guestfish script shows how to do that.
+</p>
+
+<p>
+Usage assumes that the VM has a separate <code>/boot</code>
+partition containing grub, which is usually the case. So
+for example:
+</p>
+
+<pre>
+editgrub.sh broken-guest.img /dev/sda1
+</pre>