ruby: Use ALLOC_N to avoid potential memory leak (RHBZ#667610).
[libguestfs.git] / recipes / editgrub.html
1 <p>
2 If you messed up your VM and made it unbootable, it's
3 often useful to be able to go in and edit <code>/boot/grub/grub.conf</code>.
4 This guestfish script shows how to do that.
5 </p>
6
7 <pre>
8 editgrub.sh broken-guest.img
9 </pre>
10
11 <p>
12 See also <a href="http://libguestfs.org/virt-edit.1.html">virt-edit</a>.
13 </p>