Package: debirf Version: 0.27-1 Severity: normal Tags: patch --- Please enter the report below this line. ---
When attempting to boot from created grub iso, boot fails. Poked around the main script and found problems with build of grub.cfg. The issue is with the odd ?loop? construct that is imported as the head of the grub.cfg script. I have pasted a small patch that works for me. --- System information. --- Architecture: amd64 Kernel: Linux 2.6.36 Debian Release: squeeze/sid 500 unstable stygian.midgard.home 500 unstable ftp.us.debian.org 500 unstable cdimage.debian.org 500 testing security.debian.org 500 testing ftp.us.debian.org 500 testing cdimage.debian.org 1 experimental ftp.us.debian.org 1 experimental cdimage.debian.org --- Package information. --- Depends (Version) | Installed ===============================-+-============= debootstrap | 1.0.26 cpio | 2.11-5 apt | 0.8.10 fakeroot | 1.14.4-2 fakechroot | 2.13.1-1 busybox-static (>= 1.14.2) | OR busybox (>= 1.14.2) | 1:1.17.1-8 klibc-utils | 1.5.20-1 Recommends (Version) | Installed =======================================-+-==================== genisoimage | 9:1.1.11-1 grub-common (>= 1.98~20091114) | 1.99~20101126-1 OR syslinux-common | 2:4.03+dfsg-1 Package's Suggests field is empty. --- /usr/bin/debirf 2010-02-17 01:40:04.000000000 -0500 +++ ./debirf/debirf 2010-12-08 19:07:25.850264510 -0500 @@ -587,21 +587,18 @@ # make grub.cfg mkdir -p "$ISODIR"/boot/grub/ - cp /usr/share/debirf/grub2-terminal-chooser "$ISODIR"/boot/grub/grub.cfg cat >>"$ISODIR"/boot/grub/grub.cfg <<EOF ## MENU -if test \$chosen_console == "console" ; then - console=tty0 -fi -if test \$chosen_console == "serial" ; then - console=ttyS0,115200n8 -fi set default=0 set timeout=4 -menuentry "Debirf: $DEBIRF_LABEL, console=\$console (created $(date -R))" { - linux /$KERNEL console=\$console +menuentry "Debirf: $DEBIRF_LABEL, console=tty0 (created $(date -R))" { + linux /$KERNEL console=tty0 + initrd /$INITRAMFS +} +menuentry "Debirf: $DEBIRF_LABEL, console=ttyS0,115200n8 (created $(date -R))" { + linux /$KERNEL console=ttyS0,115200n8 initrd /$INITRAMFS } EOF -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org