On Fri, Aug 26, 2016 at 11:02:06AM +0200, Pino Toscano wrote:
This is the location of the Grub2 configuration in Debian-based
systems.
---
v2v/linux_bootloaders.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/v2v/linux_bootloaders.ml b/v2v/linux_bootloaders.ml
index d12edf8..74c40c2 100644
--- a/v2v/linux_bootloaders.ml
+++ b/v2v/linux_bootloaders.ml
@@ -299,6 +299,7 @@ let detect_bootloader (g : G.guestfs) inspect =
let config_file, typ =
let locations = [
"/boot/grub2/grub.cfg", Grub2;
+ "/boot/grub/grub.cfg", Grub2;
"/boot/grub/menu.lst", Grub1;
"/boot/grub/grub.conf", Grub1;
] in
ACK patches 1 - 4.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org