grub> find /boot/initrd... did not fing the file though, there is an
/initrd.img file in /root directory. How do I confirm if it is
associated with the 2.6.10 kernel? I guess I can just add it to
menu.lst.
My box has three hard drives and one dvd drive. as i stated earlier,
the setup is something like this:
root is on hdc1
home is on hdc2
winxp/C is on hda1
win98/D is on hdb1
dvd is hdd
my menu.lst is has follows:
title aGNUla/DeMuDi, kernel 2.6.10-1-multimedia-k7
root (hd2,0)
kernel /boot/vmlinuz-2.6.10-1-multimedia-k7 root=/dev/hdc1 ro
savedefault
boot
title aGNUla/DeMuDi, kernel 2.6.10-1-multimedia-k7 (recovery mode)
root (hd2,0)
kernel /boot/vmlinuz-2.6.10-1-multimedia-k7 root=/dev/hdc1 ro single
savedefault
boot
title aGNUla/DeMuDi, kernel 2.4.25-1-multimedia-k7
root (hd2,0)
kernel /boot/vmlinuz-2.4.25-1-multimedia-k7 root=/dev/hdc1 ro
initrd /boot/initrd.img-2.4.25-1-multimedia-k7
savedefault
boot
title aGNUla/DeMuDi, kernel 2.4.25-1-multimedia-k7 (recovery mode)
root (hd2,0)
kernel /boot/vmlinuz-2.4.25-1-multimedia-k7 root=/dev/hdc1 ro single
initrd /boot/initrd.img-2.4.25-1-multimedia-k7
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hdb1
title Windows NT/2000/XP
root (hd1,0)
savedefault
makeactive
chainloader +1
thanks,
guerrier
On Thu, 10 Mar 2005 21:39:13 +0000, Russell L. Harris
<rlharris(a)broadcaster.org> wrote:
On 03/10/2005 03:11:22 PM, guerrier wrote:
Hi,
I installed the 2.6.10-1-multimedia-k7 kernel via synaptic. and then
i gave the update-grub coomand. menu.lst was automatically updated;
this is the new entry:
title aGNUla/DeMuDi, kernel 2.6.10-1-multimedia-k7
root (hd2,0)
kernel /boot/vmlinuz-2.6.10-1-multimedia-k7 root=/dev/hdc1 ro
savedefault
boot
(1) You need to post to this list the entire GRUB menu, so we can see
the menu item which works.
(2) If I recall correctly, (hd2,0) is the third hard drive in the
system, whereas hdc corresponds to the IDE Secondary Master channel;
check with the GRUB manual (google for it). Many people have a CD-ROM
drive connected as the IDE Primary Slave; this corresponds to hdb.
(3) Use the GRUB 'find' command to search your system for the missing
initrd file. Again, see the GRUB manual, and don't forget to prefix
the file name with '/':
grub> find /initrd...
and note that TAB completion works with file names when using 'find',
which is a great help.
RLH