]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Add comments about GRUB not working on jessie
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 2 Apr 2017 03:01:23 +0000 (00:01 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 2 Apr 2017 03:01:23 +0000 (00:01 -0300)
kvmx-create

index 05d75715ae2472ee2a6d8e355106813aff0e4816..dacab4aa174cef6b30a9cdaca9af017f908f6ee8 100755 (executable)
@@ -283,11 +283,19 @@ allow-hotplug ens3
 iface ens3 inet dhcp
 EOF
 
-  # Grub
+  # GRUB
   kvmx_sudo_run mount none -t proc  $WORK/proc
   kvmx_sudo_run mount none -t sysfs $WORK/sys
   kvmx_sudo_run mount -o bind /dev/ $WORK/dev
   $APT_INSTALL grub-pc -y
+  # GRUB install is not working for jessie and this was an attempt to fix it
+  # Consider fixing this or moving to extlinux.
+  # https://superuser.com/questions/130955/how-to-install-grub-into-an-img-file
+  # http://www.grulic.org.ar/~mdione/glob/posts/create-a-disk-image-with-a-booting-running-debian/
+  # http://www.syslinux.org/wiki/index.php?title=EXTLINUX
+  # https://packages.debian.org/jessie/grub-firmware-qemu
+  #kvmx_sudo_run sed -i -e 's|^#GRUB_DISABLE_LINUX_UUID=true|GRUB_DISABLE_LINUX_UUID=true|' $WORK/etc/default/grub
+  #kvmx_sudo_run grub-install --boot-directory=$WORK/boot $image
   kvmx_sudo_run chroot $WORK/ update-grub
   kvmx_sudo_run chroot $WORK/ grub-install $device
   kvmx_sudo_run umount $WORK/proc