Bug#533453: true is not a valid command

martin f krafft madduck at debian.org
Wed Jun 17 18:41:29 UTC 2009


Package: grub-pc
Version: 1.96+20090603-2
Severity: normal

When I start grub, I get two errors:

  error: unrecognized number
  error: unknown command `true'

I am not sure where the first comes from, but the second almost
certainly comes from

  if terminal_input serial ; then true ; else

and I can verify that on the command line:

sh:grub> true
error: unknown command `true'

My grub.cfg ist attached.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.26          Debian configuration management sy
ii  grub-common              1.96+20090603-2 GRand Unified Bootloader, version 
ii  libc6                    2.9-13          GNU C Library: Shared libraries

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem
pn  os-prober                     <none>     (no description available)

-- debconf information excluded


-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
serial --unit=0 --speed=115200
if terminal_input serial ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_input
  terminal serial
fi
if terminal_output serial ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_output
  terminal serial
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.30-1-amd64" {
	insmod raid mdraid
	set root=(md0)
	search --fs-uuid --set 95a97b15-4911-4281-ad19-123fdb522bd5
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=/dev/md0 ro console=tty0 console=ttyS0,115200n8 
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.30-1-amd64 (recovery mode)" {
	insmod raid mdraid
	set root=(md0)
	search --fs-uuid --set 95a97b15-4911-4281-ad19-123fdb522bd5
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=/dev/md0 ro single console=tty0 console=ttyS0,115200n8
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
menuentry "Debian GNU/Linux, latest kernel, off (md1,1)" {
	insmod raid mdraid
	set root=(md1,1)
	linux	/vmlinuz root=/dev/md0 ro console=tty0 console=ttyS0,115200n8 
	initrd	/initrd.img
}
menuentry "Debian GNU/Linux, latest kernel, off (vg0-boot)" {
	insmod lvm
	set root=(vg0-boot)
	linux	/vmlinuz root=/dev/md0 ro console=tty0 console=ttyS0,115200n8 
	initrd	/initrd.img
}
menuentry "Debian GNU/Linux, previous kernel, off (md1,1)" {
	insmod raid mdraid
	set root=(md1,1)
	linux	/vmlinuz.old root=/dev/md0 ro console=tty0 console=ttyS0,115200n8 
	initrd	/initrd.img.old
}
menuentry "Debian GNU/Linux, previous kernel, off (vg0-boot)" {
	insmod lvm
	set root=(vg0-boot)
	linux	/vmlinuz.old root=/dev/md0 ro console=tty0 console=ttyS0,115200n8 
	initrd	/initrd.img.old
}
### END /etc/grub.d/40_custom ###
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090617/d74a3f6b/attachment.pgp>


More information about the Pkg-grub-devel mailing list