diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-25 11:34:18 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-25 11:34:18 +0100 |
commit | b86d7b975629ae099ad9a137ced6f23b17c1531a (patch) | |
tree | 32a35026cfc3bf5adbd7f04004d3d543f94072ee /recipes/editgrub.html | |
parent | ae17137f643c33f0ad8f61dc1abe4800815ddcc3 (diff) | |
download | libguestfs-b86d7b975629ae099ad9a137ced6f23b17c1531a.tar.gz libguestfs-b86d7b975629ae099ad9a137ced6f23b17c1531a.tar.xz libguestfs-b86d7b975629ae099ad9a137ced6f23b17c1531a.zip |
Added guestfish recipes.
Diffstat (limited to 'recipes/editgrub.html')
-rw-r--r-- | recipes/editgrub.html | 17 |
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> |