BTS

Issue889

Title grml-live still uses grub-legacy
Priority wish Status resolved
Superseder Nosy List mika, suntong
Assigned To mika Topics grml-live

Created on 2010-08-03.20:39:16 by suntong, last changed 2010-12-13.13:31:40 by mika.

Files
File name Uploaded Type Edit Remove
0001-support-BOOT_METHOD-grub2-El-Torito-boot-Manifold-bo.patch mirabilos, 2010-12-06.21:23:09 text/plain
screenshot.png suntong, 2010-08-03.20:43:40 image/png
Messages
msg3618 (view) Author: mika Date: 2010-12-13.13:31:40
We believe that your issue has been closed by the upload of
Version 0.12.2 of grml-live from Michael Prokop <mika@grml.org>.
The explanation is attached below

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 13 Dec 2010 14:22:22 +0100
Source: grml-live
Binary: grml-live grml-live-addons grml-live-db grml-live-buildd
Architecture: source all
Version: 0.12.2
Distribution: unstable
Urgency: low
Maintainer: Michael Prokop <mika@grml.org>
Changed-By: Michael Prokop <mika@grml.org>
Description: 
 grml-live  - build system for creating a Grml (based) Linux live system
 grml-live-addons - templates/boot/addons for grml-live
 grml-live-buildd - autobuild daemon for grml-live
 grml-live-db - log package build information of grml-live to database
Changes: 
 grml-live (0.12.2) unstable; urgency=low
 .
   [ Michael Prokop ]
   * [c8e2121] 90-update-alternatives: make sure to run the update-
     alternatives listing for x-window-manager inside the target chroot.
   * [032da01] SW: add console-data and kbd to GRMLBASE.
     [Closes: issue944] - thanks to Marc Haber for reporting and to
     Christian Hofstaedtler for the fix.
   * [179d5ea] Make sure hybrid mode works for the grub boot method out-
     of-the-box too - thanks to Thorsten Glaser.
 .
   [ Thorsten Glaser ]
   * [7741716] support BOOT_METHOD=grub2 (El Torito boot – Manifold boot
     already did) [Closes: issue889]
Checksums-Sha1: 
 53ba35c7b9ad0a7aae99071dc6c90f80c5135946 951 grml-live_0.12.2.dsc
 885509df7053938dc38debab83f73f9e3917926b 8657108 grml-live_0.12.2.tar.gz
 2a755e8465456212be4c7dc5e044471a7bf0ff86 1333858 grml-live_0.12.2_all.deb
 8f52236a9efacd12268936801ea8a6d5fb309891 7362458 grml-live-addons_0.12.2_all.deb
 cb7c005f3f148a6b71b91bbef194f537c1ca9625 44484 grml-live-db_0.12.2_all.deb
 c8ba57a2ba266fe26ebeb2594102630a231b672d 40162 grml-live-buildd_0.12.2_all.deb
Checksums-Sha256: 
 437a0654d4b3b6e50eb1dbe4ccf51d6802e876daa9b617404abb994abef61606 951 grml-live_0.12.2.dsc
 ea3846c7629453f0e25a380c560d81d7fc2feb62e15bedb0c4600c7c7f0857df 8657108 grml-live_0.12.2.tar.gz
 bb72ae1558b63da3e93c2ba8d88d3e1c40220e35df08038d3ff9f539a0247aca 1333858 grml-live_0.12.2_all.deb
 2c77eb2d247f0897577f7bb7751e3de2d327d11051e6105160da3f718ba80ceb 7362458 grml-live-addons_0.12.2_all.deb
 610015e628b2601b943abc5ef0c4d4a2374df88039c8c79315d142968be9e732 44484 grml-live-db_0.12.2_all.deb
 859cc24ad287ba3205bd6a3e4f590188f3c66b6d3bf906c4c36f5a7bcb496301 40162 grml-live-buildd_0.12.2_all.deb
Files: 
 a38b45a2b567338640a619bc50165ec9 951 grml extra grml-live_0.12.2.dsc
 d40c7f3404d7e95f398765b9448787af 8657108 grml extra grml-live_0.12.2.tar.gz
 63a4c8d612708b4e93498d8dbd2d08cf 1333858 grml extra grml-live_0.12.2_all.deb
 28e98cbf1b9b308a0c4c3aab6f4761b6 7362458 grml extra grml-live-addons_0.12.2_all.deb
 2e0469c78ccd7d8ab35ac8b53a90e4b6 44484 grml extra grml-live-db_0.12.2_all.deb
 488f03a48a475a2a8466ec1ec0b01ec3 40162 grml extra grml-live-buildd_0.12.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk0GHroACgkQ2N9T+zficugrxgCcCPiEzP9gw65nfxVZCoQKKHg7
PgsAnRO4AT/7PDPWnisjDa+0afTcLM3Y
=D2Qd
-----END PGP SIGNATURE-----
msg3585 (view) Author: mirabilos Date: 2010-12-06.21:23:09
better patch
msg3584 (view) Author: mirabilos Date: 2010-12-06.21:12:22
attached patch might implement this; untested

we do *NOT* use cdboot.img or -boot-info-table but the same method
manifold-boot uses (and MirBSD ISOs use for El Torito boot, incidentally)!
msg3351 (view) Author: mika Date: 2010-09-08.00:04:35
* Tong Sun wrote in grml's BTS on 20100803 / 22:39:

> I thought grml-live already uses grub2 to boot CD but found that it
> still uses grub-legacy to boot.
[...]

True.

Adding support for grub2 is trivial as we've the grub.cfg
already in-place available.

What's missing is providing the resulting torito.img out of:

  grub-mkimage --format=i386-pc -o core.img biosdisk iso9660
  cat /usr/lib/grub/i386-pc/cdboot.img core.img > torito.img

through the grml-live templates and invoke mkisofs with torito.img
instead of stage*/isoslinux.bin then.

We might want to consider updating the grub.cfg though, as it
doesn't match our isolinux version nowadays, any
ideas/patches/feedback/... welcome.

regards,
-mika-
msg3306 (view) Author: suntong Date: 2010-08-03.20:39:15
Hi,

I thought grml-live already uses grub2 to boot CD but found that it
still uses grub-legacy to boot.

I actually prefer grub-legacy, just logging the issue here for todo tracking.

$ cat grml_cd/boot/grub/menu.lst
. . .
# define entries:
title depen64 - 1live (using 1024x768 framebuffer)
kernel /boot/depen64/linux26 apm=power-off vga=791 quiet boot=live nomce
initrd /boot/depen64/initrd.gz

title depen64 - 2desk (using 1024x768 framebuffer)
kernel /boot/depen64/linux26 apm=power-off vga=791 quiet boot=live
module=2desk nomce
initrd /boot/depen64/initrd.gz
. . .

screenshot @
http://imagebin.ca/view/pln4nBL5.html

thanks
History
Date User Action Args
2010-12-13 13:31:40mikasetstatus: fixed-in-git -> resolved
nosy: mika, suntong
messages: + msg3618
2010-12-13 13:21:34mikasetassignedto: mika
nosy: + mika
2010-12-13 13:21:29mikasetstatus: chatting -> fixed-in-git
2010-12-06 21:23:24mirabilossetfiles: - 0001-support-BOOT_METHOD-grub2-El-Torito-boot-Manifold-bo.patch
2010-12-06 21:23:10mirabilossetfiles: + 0001-support-BOOT_METHOD-grub2-El-Torito-boot-Manifold-bo.patch
messages: + msg3585
2010-12-06 21:12:26mirabilossetfiles: + 0001-support-BOOT_METHOD-grub2-El-Torito-boot-Manifold-bo.patch
messages: + msg3584
2010-09-08 00:04:36mikasetstatus: unread -> chatting
messages: + msg3351
2010-08-03 20:43:40suntongsetpriority: wish
topic: + grml-live
files: + screenshot.png
2010-08-03 20:39:16suntongcreate