summaryrefslogtreecommitdiffstats
path: root/recipes/editgrub.html
blob: 119bb936bdd82706cd222449b75cc13bd6094dcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<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>

<pre>
editgrub.sh broken-guest.img
</pre>

<p>
See also <a href="http://libguestfs.org/virt-edit.1.html">virt-edit</a>.
</p>