Bug#497791: unknown command `initrd' - more info
Jayen Ashar
j__n at yahoo.com
Tue Feb 10 08:05:18 UTC 2009
Package: grub-pc
Version: 1.96+20080724-14
Followup-For: Bug #497791
This bug is happenning on another machine, not this one. It's an amd64
machine. initrd and linux both appear to be present when i cat
command.lst. Adding 'insmod linux' in various places gives:
syntax error
Incorrect command
error: You need to load the kernel first.
Adding "insmod echo" and "echo $read" shows that search didn't change
$root. Even after removing the search line, I still see:
syntax error
Incorrect command
before the kernel decompresses and boots.
Is it possible that grub-install didn't run on upgrade?
Also, grub2 is not installed. Only grub-pc and grub-common.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/2f973dd0-9b32-40d5-a806-32874a30d6b8 / ext3 rw,errors=remount-ro,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/sda
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,2)
search --fs-uuid --set 2f973dd0-9b32-40d5-a806-32874a30d6b8
if font /usr/share/grub/ascii.pff ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
terminal gfxterm
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,2)
search --fs-uuid --set 2f973dd0-9b32-40d5-a806-32874a30d6b8
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.26-1-686" {
set root=(hd0,2)
search --fs-uuid --set 2f973dd0-9b32-40d5-a806-32874a30d6b8
linux /boot/vmlinuz-2.6.26-1-686 root=UUID=2f973dd0-9b32-40d5-a806-32874a30d6b8 ro
initrd /boot/initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-686 (single-user mode)" {
set root=(hd0,2)
search --fs-uuid --set 2f973dd0-9b32-40d5-a806-32874a30d6b8
linux /boot/vmlinuz-2.6.26-1-686 root=UUID=2f973dd0-9b32-40d5-a806-32874a30d6b8 ro single
initrd /boot/initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686" {
set root=(hd0,2)
search --fs-uuid --set 2f973dd0-9b32-40d5-a806-32874a30d6b8
linux /boot/vmlinuz-2.6.24-1-686 root=UUID=2f973dd0-9b32-40d5-a806-32874a30d6b8 ro
initrd /boot/initrd.img-2.6.24-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686 (single-user mode)" {
set root=(hd0,2)
search --fs-uuid --set 2f973dd0-9b32-40d5-a806-32874a30d6b8
linux /boot/vmlinuz-2.6.24-1-686 root=UUID=2f973dd0-9b32-40d5-a806-32874a30d6b8 ro single
initrd /boot/initrd.img-2.6.24-1-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_otheros ###
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
menuentry "Microsoft Windows XP Professional" {
set root=(hd0,0)
chainloader +1
}
### END /etc/grub.d/30_otheros ###
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii grub-common 1.96+20080724-14 GRand Unified Bootloader, version
ii libc6 2.7-18 GNU C Library: Shared libraries
ii liblzo2-2 2.03-1 data compression library
ii libncurses5 5.7+20081213-1 shared libraries for terminal hand
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 5.0.3 common files for the Debian Deskto
pn os-prober <none> (no description available)
-- debconf information excluded
More information about the Pkg-grub-devel
mailing list