Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB wont install
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
ryan83vt
Guru
Guru


Joined: 28 Oct 2002
Posts: 370
Location: Blacksburg, VA

PostPosted: Mon Oct 28, 2002 9:45 pm    Post subject: GRUB wont install Reply with quote

I am installing gentoo linux and I am almost done -- except I have to setup grub. The install instructions say to type root (hd0,0) then setup (hd0). I have 2 hard drives and my root partition is hdb6 which turns out to be (hd1,5) in grub language. When I type in the root command that works, then when I type setup (hd1) I get this error:

Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no

Error 15: File not found

I want to just setup grub so that it writes to the MBR because I already have lilo in the mbr from a previous install of a different distro, and if I dont write to the mbr then lilo will still load. I also need grub to have the option to load windows 2k on hda1.

thanks

oh, btw while I was editing fstab my computer froze somehow. I restarted, and i was wondering if that had anything to do with it. I reran most of the commands again, bootstrapped, recompiled kernel, etc. but no grub folder.
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Mon Oct 28, 2002 10:22 pm    Post subject: Reply with quote

i'm having this same problem. i started the intallation over the weekend, hoping it would be done by now so i could do my school work. i had problems, and had to bootstrap and emerge system twice, but now i think it's all working. my only problem is this GRUB thing.

i have two hard drives in my computer. 1 40 gig (hda) in three partitions, all windows. 1 ten gig (hdb) with the three gentoo partitions. i type in the same as ryan83vt (just with the correct partitions for my computer), and get the same errors as him. apart from this, i've comleted the install, so yeah, this is buggin me :p
Back to top
View user's profile Send private message
bos_mindwarp
Apprentice
Apprentice


Joined: 19 Oct 2002
Posts: 275
Location: stockholm, sweden

PostPosted: Mon Oct 28, 2002 10:42 pm    Post subject: Reply with quote

i solved that by emergin lilo and configuring it :)
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Mon Oct 28, 2002 10:44 pm    Post subject: Reply with quote

that's not quite the answer i wanted, but it's worth a shot
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Mon Oct 28, 2002 11:12 pm    Post subject: Reply with quote

Depending on your BIOS having GRUB loaded into the MBR on any disk other than hda will often times do you no good (even if you can get it to load.) What you might both consider is using the windows boot loader (shiver) to boot your gentoo systems. Here is a thread on how to use the windows boot loader. Hopefully there is something useful in there for you both. As far as I can see though your logic seems to be sound, and I can't see anything wrong with it. You seem to understand the difference in referencing drives from /dev/ and grub (). It seems to me that what you are attempting to do should find the grub files where you expect them (unless there is some specific limitation in grub that prohibits this.) Once installed though, as I earlier indicated, I doubt it will do you much good depending on your BIOS and it's features/limitations.

Hope that helps!

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Mon Oct 28, 2002 11:17 pm    Post subject: Reply with quote

Apparently this thread has spawned into a new one when ryan83vt created another thread in reply to this one. Please reference the other thread for more information.

Thanks,
BonezTheGoon
Back to top
View user's profile Send private message
BackSeat
Apprentice
Apprentice


Joined: 12 Apr 2002
Posts: 242
Location: Reading, UK

PostPosted: Mon Oct 28, 2002 11:19 pm    Post subject: Reply with quote

Now that you have your system built you will find that /boot is not mounted by default. So, first thing to do, as root, is:
Code:
mount /boot
Next, check that you have a /boot/grub/stage1 file; if you don't, you need to fix that first.

Lastly, it is likely that you want to boot from /dev/hda even though the /boot partition is on /dev/hdb6, so you need to enter:
Code:
root (hd1,5)
setup (hd0)

Let me know how you get on.

BS
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Tue Oct 29, 2002 12:44 am    Post subject: Reply with quote

i realized i had made an error way back in the beginning, i'm not sure what exactly. i think i mouted something wrong, or maybe used an incorrect setting, because i got a bunch of errors, and i figured it doesn't hurt to redo the installation (the fact that it takes 3 hours to compile and another 90 minutes to emerge system is a bit daunting, but if i time it right i can get it all to compile while i'm at school :)). i'll make sure to switch my drives around though, so i can have GRUB on the first drive, and then hopefully it should work.
Back to top
View user's profile Send private message
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