LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error 15 while installing GRUB on Gentoo (https://www.linuxquestions.org/questions/linux-newbie-8/error-15-while-installing-grub-on-gentoo-745637/)

Claude Rains 08-06-2009 03:01 PM

Error 15 while installing GRUB on Gentoo
 
So after a lot of distro-hopping due to being new to Linux, I decided to give installing Gentoo a shot. All has been well up to now; I tried to use the automatic method of installing GRUB, but I get this error:

Code:

grub-install --no-floppy /dev/sda
Could not find device for /boot: Not found or not a block device.

So I decided to use the manual method, by installing it from the GRUB terminal, but this came up:

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

Does anyone know what the problem is? If you need any other information, please let me know. Cheers.

sysfce2 08-08-2009 08:58 PM

Well, I am a Linux Newbie as well, but I just recently went through a fight to get a boot loader working so I might be some help.

The main piece of information required is the output from 'fdisk -l'
This will list your partitioning scheme.

Although, a quick alternative would be to do a 'find /boot/grub/stage1' from the grub terminal
This will tell you what partition the grub files are installed on.
Then change your 'root (hd0,0)' to that partition.

Hope that helps, if not I have more to try...

colorpurple21859 08-09-2009 02:37 PM

for a manual install of grub the stage.* files have to already exist in the /boot/grub directory. you can copy the stage.* files from the sub directory of /usr/lib/grub
to /boot/grub, create a menu.lst file and then use the manual install method.


All times are GMT -5. The time now is 07:22 AM.