Problem with GRUB
I am installing Gentoo (stage3) and I am having trouble setting up GRUB bootloader. I am following the handbook but when I use grub-install, I get the following error:
and I have also tried doing it manually and here is what I get then:
livecd ~ # grub-install --no-floppy /dev/sda
Could not find device for /boot: Not found or not a block device.
also, find /boot/grub/stage1 returns with file not found.
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
I was able to find a post somewhere where someone had this same problem, but what worked for them, did not work for me. Please let me know if you need anymore information.
Well I just remembered that for the partitioning, I did not follow the Gentoo handbook. I used fdisk and made /dev/sda1 (boot) and /dev/sda2 a Linux LVM partition which consists of swap, usr, var, opt, home, etc partitions.
I think that GRUB was looking for various directories and files that it needs to have before the install of it. GRUB is managed by those software gurus, and they have a lot of good documentation on GRUB. A simple google search came up with this:
GNU GRUB Manual 0.97
Boot with GRUB