Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub directory missing in /boot partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Sat Jul 13, 2002 8:33 pm    Post subject: grub directory missing in /boot partition Reply with quote

Somewhere down my install, I lost the grub directory (that's suppose to be in the boot partition). I did mount it... dunno where I went wrong

but i think I can backtrack appropriately if someone can tell me which part of the gentoo install dumps the appropriate files into the grub directory in boot.

The reason i'm stuck is when I enter the command in grub "setup (hd0)" it complains file not found

thanks in advance!

-niyogi
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jul 13, 2002 8:36 pm    Post subject: Reply with quote

You have to run "root (hd0,:?:)" before running "setup (hd0)". The root command creates the grub directory.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Sat Jul 13, 2002 9:23 pm    Post subject: Reply with quote

tried it again but to no avail.

dunno what the deal is. When I run grub though, it does complain about some modprobe error...

so grub dumps stuff into the /boot/grub directory? because right now, there is no grub directory at all

-S
Back to top
View user's profile Send private message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Sat Jul 13, 2002 9:28 pm    Post subject: Reply with quote

I should also add that this is the message I receive:

grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/boot/stage1" exists... no

Error 15: File not found.



What is this stage1 it wants? In the meantime, i re-ran bootstrap.sh hoping that this would help.

-niyogi
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sun Jul 14, 2002 12:20 am    Post subject: Reply with quote

Hmm... sounds like grub is confused. Are you running this from within the chroot-ed shell?
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Sun Jul 14, 2002 12:50 am    Post subject: Reply with quote

i am running it from the chrooted shell...

i think i'm on the same track as you are... but i still don't know what this stage1 that its looking for?

-S
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sun Jul 14, 2002 12:56 am    Post subject: Reply with quote

The Grub stage 1 is the first stage of the boot process, it winds up the the MBR... anyway. Try exiting the chroot-ed shell or switching terminals and see if the grub included on the CD works.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Jul 14, 2002 12:58 am    Post subject: Reply with quote

Could it be possible that the grub files got installed into the /boot/grub directory before you mounted /boot, and so now they are masked by the /boot partition? You can manually copy all the files from /usr/share/grub/i386-pc into /boot/grub, and that will include the "stage1" file that it is bleating about, in any case.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Sun Jul 14, 2002 1:23 am    Post subject: Reply with quote

rac you may be onto something! :) i'll report what i find

-S
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Jul 14, 2002 2:22 am    Post subject: Reply with quote

I'm having the same problem:

grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/boot/stage1" exists... no

Error 15: File not found.

Yet I can do ls /boot/grub and stage1 and other files are all there. Realy has me confused.
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum