X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=recipes%2Feditgrub.html;h=119bb936bdd82706cd222449b75cc13bd6094dcd;hb=a9ac448cf8a3e8d13b67dc286940abe51226c9dc;hp=7d7a43b7f37c66fba099c73abeda147654058ee2;hpb=b86d7b975629ae099ad9a137ced6f23b17c1531a;p=libguestfs.git diff --git a/recipes/editgrub.html b/recipes/editgrub.html index 7d7a43b..119bb93 100644 --- a/recipes/editgrub.html +++ b/recipes/editgrub.html @@ -1,17 +1,13 @@ -

Fix an unbootable VM by editing /boot/grub/grub.conf

-

If you messed up your VM and made it unbootable, it's often useful to be able to go in and edit /boot/grub/grub.conf. This guestfish script shows how to do that.

-

-Usage assumes that the VM has a separate /boot -partition containing grub, which is usually the case. So -for example: -

-
-editgrub.sh broken-guest.img /dev/sda1
+editgrub.sh broken-guest.img
 
+ +

+See also virt-edit. +