On 17 Feb 2009, at 04:17, Nikos Chantziaras wrote:
I've no idea how it broke, but after an emerge --sync, a kernel
(gentoo-sources) update was there. After I compiled the kernel, I
did the usual "make modules_install && make install". I edited
grub.conf only to the point of changing the booted kernel to the new
one (just a matter of changing -r1 to -r2 at the end of the kernel
filename). I reboot, Grub stops working. It just displays "GRUB"
and hangs there.
What might have cause this?
$ cat /var/log/portage/elog/sys-boot:grub-0.97-r6:20090117-194927.log
LOG: preinst
To avoid automounting and autoinstalling with /boot,
just export the DONT_MOUNT_BOOT variable.
WARN: postinst
*** IMPORTANT NOTE: you must run grub and install
the new version's stage1 to your MBR. Until you do,
stage1 and stage2 will still be the old version, but
later stages will be the new version, which could
cause problems such as an unbootable system.
This means you must use either grub-install or perform
root/setup manually! For more help, see the handbook:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-auto
LOG: postinst
To interactively install grub files to another device such as a USB
stick, just run the following and specify the directory as prompted:
emerge --config =grub-0.97-r6
Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell
grub where to install in a non-interactive way.
$
Stroller.