LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-11-2004, 03:40 PM   #1
wiredj
LQ Newbie
 
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
Unhappy Problems installing Gentoo / grub not loading


Hey,

Looks like a great community. I'm not a total Linux noob, but I'm not nearly as experienced as I'd like to be. This is my 3rd gentoo install, and for some reason grub isn't loading. It boots and says "Please wait while grub loads..." (I'm not right at the failure message this instant, so I forgot the exact message). It doesn't progress beyond that point.

For those who are wondering, I was following the step-by-step instructions on how to install gentoo, starting with a stage 2 install. I used genkernel to compile the kernel, and I'm using 2.4.25.

My partitioning is:

/dev/hda1 -- windows
/dev/hda2 -- ext3 Linux, my root, which also contains the boot directory
/dev/hda3 -- Swap

I've tried several things, but the process I tried recently to get this working is to boot from the live cd (thank goodness for those!), mount hda2, and edit grub.conf. My grub.conf looks like this:

default 0
timeout 10

title=Gento 2.4.25
root (hd0,1)
kernel /boot/kernel-2.4.25-gentoo init=/boot/linuxrc root=/dev/ram0 real_root=/dev/hda2 vga=0x317

title=Windows
root (hd0,0)
chainloader +1


I'm thinking the problem isn't necessarily the conf file itself, but how grub is installed. So, I tried these series of commands (from startup of the live cd)

mount /dev/hda2 /mnt/gentoo
cd /mnt/gentoo
./sbin/grub

(grub loads)
root (hd0,1)
(confirmation of correct filesystem)
setupd (hd0,0)
(notes what it is doing, doesn't report any errors)
quit
(grub exits)
cd /
umount /mnt/gentoo
reboot

And then I get back to my never-going-away "Please wait" message, when it reboots. The weird thing is -- I had it up and running a few months ago

Any ideas are welcome. Thanks in advance!
 
Old 04-11-2004, 03:50 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Code:
setuphd (hd0,0)
this will install the boot sector into the windows partition, not the MBR.
 
Old 04-11-2004, 03:52 PM   #3
wiredj
LQ Newbie
 
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Right, sorry about that. I did type setup (hd0), without the extra parameter. (It's tough not being able to copy and paste my steps that I've done )
 
Old 04-11-2004, 03:56 PM   #4
wiredj
LQ Newbie
 
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
So.. now that I'm sitting at the place where I can't progress further, this is the exact text it spits out:

GRUB Loading stage1.5.


GRUB loading, please wait...
(insertion point here, but can't type anything)

The stage1.5 is foreign to me. What does that mean?
 
Old 04-11-2004, 04:24 PM   #5
wiredj
LQ Newbie
 
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
I should learn to post all the information at once Since the time of when I had it working, I erased my gentoo partition because I needed to back up my laptop (and my windows drive had too much work on it). I then went to the store that weekend and picked up a RAID controller card, as well as two hard-drives to complete the setup. I noticed this on google (which had no replies, from the looks of it): http://mail.gnu.org/archive/html/bug.../msg00159.html.

Could this be the cause? If so, is there a way to tell grub to ignore the PCI devices when loading? (I'm trying to google for things like this, but can't seem to find the right keywords )

Thanks again in advance for any ideas and suggestions.
 
Old 04-11-2004, 04:37 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I had the same problem before on an old machine I installed Gentoo on. It turned out to be a setting in the BIOS. Check the setting for your hard drive.
 
Old 04-11-2004, 04:53 PM   #7
wiredj
LQ Newbie
 
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Unfourtunately, nothing looks out of place there. I went ahead and unplugged my raid controller card, and it still didn't work. I replugged it in, and also unplugged my cd-recorder (the other thing that I've installed since I had it working last). Still not working though...

Thanks for the idea. I'm sure it'll end up being something blatantly obvious that I'm missing
 
Old 04-11-2004, 05:17 PM   #8
wiredj
LQ Newbie
 
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Hmm... I re-emerged grub, and reinstalled it, and it worked this time Now there's other problems, but we'll see if I can solve those now :P
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing Gentoo. Loading 'Portage' have stupid question! randell6564 Linux - General 9 11-25-2005 07:40 PM
grub problems.... again.... not loading correctly? kahn Linux - Software 1 09-03-2005 10:34 AM
Error loading i810 module : installing Xserver on gentoo Sredhar Linux - Distributions 11 12-08-2004 04:38 PM
Grub Error After Installing Gentoo Crashed_Again Linux - General 3 12-20-2003 05:02 PM
Gentoo not loading... could it be grub? breakerfall Linux - General 1 07-28-2003 09:46 PM


All times are GMT -5. The time now is 01:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration