Bug#529363: grub-installer: make sure grub-pc gets used when ext4 is chosen
tags 529363 - wontfix
thanks
Hi all,
this is a proposed patch to make grub-installer use
grub-pc if bootfstype is ext4.
For grub-of and grub-efi, I assume they can handle
ext4 just as well as grub-pc since they are also
built from grub2?
This change just covers cases in which we would use
GRUB Legacy but found ext4.
Max
Index: grub-installer/debian/changelog
===================================================================
--- grub-installer/debian/changelog (revision 58603)
+++ grub-installer/debian/changelog (working copy)
@@ -1,8 +1,12 @@
grub-installer (1.38) UNRELEASED; urgency=low
+ [ Colin Watson ]
* Make findfs use the last of any mounts found, in case there's more than
one due to pilot error in the partitioner (LP: #289101).
+ [ Max Vozeler ]
+ * Use grub2 when ext4 is chosen (closes: #529363).
+
-- Colin Watson <cjwatson@debian.org> Thu, 14 May 2009 13:08:03 +0100
grub-installer (1.37) unstable; urgency=low
Index: grub-installer/grub-installer
===================================================================
--- grub-installer/grub-installer (revision 58603)
+++ grub-installer/grub-installer (working copy)
@@ -337,6 +337,10 @@
grub_package="grub-pc"
fi
;;
+ ext4:*:grub)
+ # We boot from ext4, requires grub2
+ grub_package="grub-pc"
+ ;;
*:*:grub)
db_input low grub-installer/grub2_instead_of_grub_legacy || [ $? -eq 30 ]
db_go || true
Reply to: