Code Listing
Code Listing 7: Running grub-install reads: # grub-install --root-directory=/boot /dev/hda when it should read something like: # grub-install --root-directory=/ /dev/hda The effect is that grub files are installed into "/boot/boot/grub" instead of "/boot/grub". This causes grub to go to the grub prompt at boot instead of displaying the boot menu. Reproducible: Always Steps to Reproduce: 1. Type in: "# grub-install --root-directory=/boot /dev/hda" to install grub as expected 2. Re-boot getting only the grub prompt instead of the boot menu Actual Results: Got the grub prompt instead of the boot menu. Expected Results: Boot to a grub boot menu. On my system I am using an adaptec 2940 Ultra2 SCSI card with a boot disk on ID 0. In my setup I used the command: # grub-install --root-directory=/boot /dev/sda and had it not work. It worked with the command: # grub-install --root-directory=/ /dev/sda
what kind of partitioning schema are you using ? there should be a symlink in /boot/ that points to . so that /boot/boot/ resolves to /boot/ anyways ...
I'm using the partition scheme as follows: /dev/sda1 32MB ext2 partition for /boot /dev/sda2 1024MB swap partition /dev/sda3 rest of drive ext3 partition for / I don't seem to have a /boot/boot symlink. I think I may have deleted it thinking I had accidentally hit up arrow and did a mkdir. Looks like a PEBKAC :) sorry. I checked my old gentoo install on my other computer(from about 3 or 4 months ago) and it lacks the /boot/boot symlink as well. Perhaps it would make sense to recommend to the grub ebuild maintainer to on emerge make sure this symlink is created. I will also suggest restoring this symlink to the gentoo forum sticky item on grub problems. Thank you.
did you look at /boot/ on sda3 or on sda1 ?
I mounted /dev/sda1 to the dir /boot on /dev/sda3 and looked at that.