Fix jumping back from the bsd4grml loader (ldbsd.com) to GNU GRUB
authorThorsten Glaser <tg@mirbsd.org>
Thu, 4 Jun 2009 15:56:39 +0000 (17:56 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 13 Jun 2009 08:58:30 +0000 (10:58 +0200)
commit13709006bdcef20cdb32241a26e338759f78803f
tree2ef7ce66cc5d0a4463326ab56f3ead0529fc9075
parent0b3a678cb1bed476ece53502433fcc7b033eb62a
Fix jumping back from the bsd4grml loader (ldbsd.com) to GNU GRUB

Formerly, we hard-coded jumping to either grub1 (grub-legacy) or
grub2 in the menu option #6, and offered the macros “grub1” and
“grub2” in boot.cfg (the text mode boot prompt / ldbsd.com command
line), with an alias from “grml” to “grub2” (normally).

Now we use the grml-live framework to patching the ldbsd.com con-
figuration files at image creation time to allow for either grub2,
grub1 with stage2, or grub1 with stage2_eltorito to be found.

Note that grub2 will be taken as default iff it exists, because
it supports manifold-boot™ images, which grub-legacy doesn’t.

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
grml-live
templates/boot/addons/bsd4grml/boot.6
templates/boot/addons/bsd4grml/boot.cfg