View previous topic :: View next topic |
Author |
Message |
lochrist n00b
Joined: 22 Sep 2002 Posts: 10
|
Posted: Tue Sep 24, 2002 2:34 pm Post subject: No stage1 in Grub??? |
|
|
OK I tried to install GRub on my MBR during the installation of Gentoo and I had an error. Here are my system
Specs :
(hd0,0) /dev/hda1 : windows 2000 with NTFS
(hd1,1) /dev/hdb2 : boot partition ext2
(hd1,3) /dev/hdb4 : root parition ext3
so I typed grub. and I got the the Grub prompt :
grub> root (hd1,3)
grub> setup (hd0)
if /boot/grub/stage1 ... not exist.
if /grub/stage1.. not exist.
can't install
(i'm not 100% sure of the errror messages but it was something like that).
I thought it was because my boot partion wasn't mount. So I exit from grub. Mount the partition (it was already mounted). I checked if the file stage1 was in the /boot/grub directory (it was there) and I retried to install GRub. And I got the same error message!
So I made a Grub boot disk (on a Floppy).
Then I boot from the disk. At first I tried to load my kernel :
grub>root (hd1,3)
grub>kernel /boot/bzImage root=/dev/hdb4
and I got a : can't find file message. But i'm 100% sure that my kernel was on my boot partition (I checked at the same time I checked for the stage1 file).
After that I tried to install Grub from the floppy :
grub> root (hd1,3)
grub> setup (hd0)
if /boot/grub/stage1 ... not exist.
if /grub/stage1.. not exist.
can't install
and I got the same error messages!
Any ideas? Thanks
Lochrist |
|
Back to top |
|
|
haylocki Tux's lil' helper
Joined: 10 Apr 2002 Posts: 85 Location: London
|
Posted: Tue Sep 24, 2002 2:42 pm Post subject: |
|
|
I think your problem is that you are confusing what GRUB means by 'root'
To you and me its the root partition, but to GRUB its the boot partition.
so I think you need
grub> root (hd1,1)
grub> setup (hd0)
Hope this helps,confuses the hell out of me when I'm trying to set GRUB up
Ian |
|
Back to top |
|
|
lochrist n00b
Joined: 22 Sep 2002 Posts: 10
|
Posted: Tue Sep 24, 2002 3:00 pm Post subject: |
|
|
OK i'm a bit dumb... I can't even read the Install instructions correctly!
Thanks for helping me! |
|
Back to top |
|
|
|