Hi,

Can you post the entry for the default kernel build ( there'll be a line, 
probably default 0, which is the first definition ) in 
/media/root/boot/grub/menu.lst?

The default is set to 1 (the second entry in menu.lst) and it
corresponds to Ubuntu's 2.6.20.15-generic [vanilla].

Entry 0 corresponds to the new kernel.


The way I reinstall is as follows:

rather than grub_install...

grub

grub> root (hd0,0)
grub> setup (hd0)
grub> quit

I tried the above as my Approach I. It didn't do the trick. The
desktop still hangs at the GRUB load message. Could I have corrupted
the stage 2 loader's bits?

However, the problem could well be in the init image. To fix this...

mount -t proc /media/root/proc
chroot /media/root /bin/bash
mkinitramfs -o /boot/initrd.img-2.6.20-15-generic 2.6.20-15-generic
(if it can't find mkinitramfs, then apt-get install initramfs-tools, and try 
again.)
exit

I suspect if the problem was the result of a bad init image, I'd
atleast get past the GRUB hang and there should have been some message
showing that the kernel had been loaded into memory. Don't you agree?

Thanks a lot for responding.

regards,
rohit.

Reply via email to