Multiple grun menu.lst?

Charlie Zender zender at
Sun May 4 15:59:21 UTC 2008

 > I _think_ he needs to tell grub where the new root is (hd0,0).
 > grub> find /boot/grub/stage1
 > Should tell him where is grub is currently located and pointing to.
 > After that he then should be able to tell grub where root is located.
 > Perhaps the easiest would be to set it up on hd0,0?
 > sudo grub
 > grub> root (hd0,0)
 > grub> setup (hd0)
 > grub> quit


 > sudo update-grub


 > Also there have been problems with the kernels not being updated, so it
 > might not be a bad idea to update all of the initramfs':
 > sudo update-initramfs -c -k all

Done. Output from all this follows for completeness.

Unfortunately, this caused the system to fail to reboot.
It just hangs with a blinking cursor prior to any kernel menu.
I decided to re-install hardy from scratch as I need this to
work by tomorrow AM. Fresh install appears to be proceeding
normally. Knock on wood.

Thanks for all your suggestions. I did learn more about grub
and partitions (avoid them at all costs :) ) so it was worthwhile.


root at virga:~# update-grub
Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1]
file and follow its instructions.

  1. /usr/share/doc/grub/NEWS.Debian.gz

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.24-16-generic
Found kernel: /vmlinuz-2.6.22-14-generic
Updating /boot/grub/menu.lst ... done

root at virga:~# update-initramfs -c -k all
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic
update-initramfs: Generating /boot/initrd.img-2.6.20-16-generic
update-initramfs: Generating /boot/initrd.img-2.6.20-15-generic
update-initramfs: Generating /boot/initrd.img-2.6.12-9-386
W: udev hook script requires at least kernel version 2.6.17
W: not generating requested initramfs for kernel 2.6.12-9-386

Charlie Zender, Department of Earth System Science, UC Irvine
Sab. at CNRS/LGGE-Grenoble until 20080815 :) 011+33+476+824236
Laboratoire de Glaciologie et Géophysique de l'Environnement
54 rue Molière BP 96, 38402 Saint Martin d'Hères Cedex, France

More information about the ubuntu-users mailing list