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
+editgrub.sh broken-guest.img
</pre>
+
+<p>
+See also <a href="http://libguestfs.org/virt-edit.1.html">virt-edit</a>.
+</p>