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.
8 Usage assumes that the VM has a separate <code>/boot</code>
9 partition containing grub, which is usually the case. So
14 editgrub.sh broken-guest.img /dev/sda1