Please specify, what you mean by "kernel install". IMHO the most probable thing that prevents grub from loading is a messed-up MBR - and this shld not happen unless you write into the first block of your hd..widremann wrote:...I think the kernel install somehow messes up GRUB's hardware map. I don't know how or why, but I know that this works, so until they fix the bug, just do this.
Code: Select all
Probing devices to guess BIOS drives. This may take a long time.
floppy0: no floppy controllers found
Could not find device for /boot: Not found or not a block device
Code: Select all
# FDISK /DEV/HDA
(from within FDISK type: P (list partitions)
and you should get a list of all the partitions of the drive onscreen here.
WRITE THEM DOWN and carefully figure out what each partition really is. (SWAP, ROOT, BOOT etc.)

Code: Select all
#grub-install --recheck /dev/hda <enter>
(fd0) /dev/fd0
(hd0) /dev/hda
tux root #

Code: Select all
GNU GRUB .96 (639k lower/3092840k upper memory)
[minimal BASH-like line editing is supported. For the first word,
TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.]
grub> (if you press TAB here, you get this:)
Possible commands are: background blocklist boot cat (...a whole pile of commands ....HELP ....some more commands).
grub> (if you type HELP here, you get columns with examples of arguments for each command.)
I now believe this command to be dangerous and probably contains some buggy code.I tried 'grub-install --recheck /dev/hda' after every install and I get the following error ...

Code: Select all
mkswap /dev/hda7
swapon /dev/hda7


Code: Select all
# Boot automatically after 30 secs.
timeout 30
# By default, boot the first entry.
default 0
# Fallback to the second entry.
fallback 1
# For booting GNU/Hurd
title GNU/Gentoo 2.6.9
root (hd0,6)
kernel (hd0,6)/boot/bzImage root=/dev/hda9
Code: Select all
kernel /bzImage root=/dev/hda9

Code: Select all
grub-install /dev/hda1
Am I doing something wrong here? I also tried unmerging and the re-emerging grub from scratch... no dice.-> net-setup eth0
-> mkswap /dev/hda2
-> swapon /dev/hda2
-> mount /dev/hda3 /mnt/gentoo
-> mount /dev/hda1 /mnt/gentoo/boot
-> mount -t proc none /mnt/gentoo/proc
-> chroot /mnt/gentoo /bin/bash
-> env-update; source /etc/make.profile
-> grub-install /dev/hda1
Could not find device for /boot: Not found or not a block device

Code: Select all
root (hd0,0)
setup (hd0)
boot