Find the answer to your Linux question:
Results 1 to 3 of 3
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: Code: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Location
    Baton Rouge, LA
    Posts
    37

    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:
    Code:
    livecd ~ # grub-install --no-floppy /dev/sda
    Could not find device for /boot: Not found or not a block device.
    and I have also tried doing it manually and here is what I get then:
    Code:
    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
    also, find /boot/grub/stage1 returns with 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.

  2. #2
    Just Joined!
    Join Date
    Oct 2008
    Location
    Baton Rouge, LA
    Posts
    37
    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.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    18
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •