1 <h2>Fix an unbootable VM by editing /boot/grub/grub.conf</h2>
4 If you messed up your VM and made it unbootable, it's
5 often useful to be able to go in and edit <code>/boot/grub/grub.conf</code>.
6 This guestfish script shows how to do that.
10 Usage assumes that the VM has a separate <code>/boot</code>
11 partition containing grub, which is usually the case. So
16 editgrub.sh broken-guest.img /dev/sda1