Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-08-2005, 06:02 PM   #1
LQ Newbie
Registered: Mar 2005
Location: The Valley of the Sun
Distribution: Slackware 10.1
Posts: 11

Rep: Reputation: 0
Grub not booting with Sata on fresh Gentoo install

Ok I could really use some help.... I have never used linux before and I installed gentoo from a stage one last night and the first part of today.... Everything went really well with the installation no evers everything working like it was suppose to. Then I get to the part of the install when I must create a grub.conf file so that it will boot. This is where I have ran into a problem and need some help.

Here is my hardware setup as it pertains to booting,

One WD Raptor 10,000 RPM drive on a Promise 20378 RAID controller.

I had to load the module for the promise controller manually after booting from the live cd. however it then works just fine I have created the filesystem on it and everything. I compilied support the controller in my Kernel so I should not have any issues there.

WD Raptor is /dev/sda

Partitions are as follows,

/dev/sda1 = boot partition ext2fs mounted at /boot 32MB size
/dev/sda2=swap partition 512MB size
/dev/sda3=linux root partition. ext3fs Mounted on / Size= all space left.

I created a /boot/grub/grub.conf and tried to build one from scratch... I used sd0,0 for my location. This is where I need the help. I have my hard drive setup as listed above but cannot figure out what to put in the grub file... Can someone tell me based on the information here what my grub file should look like? This is the only drive I have and I am not duel booting or anything just tired of windows not working and am switching to linux. So when I did this and saved the file and installed it to the MBR and rebooted the machine it comes to a blank black screen with a blinking cursor.. Not grub information at all on the screen...

Please help me and tell what I need to do to fix this! (Let me know if you need more information then I have given)


Old 03-08-2005, 06:42 PM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Your grub.conf should look like this:

default 0
timeout 5

title Gentoo Linux
root (hd0,0)
kernel /<kernel image file name> root=/dev/sda3
Run grub-install /dev/sda and it will be installed on the mbr of this disk. You should see something like this as the output of that command:

Installation finished. No error reported.
This is the contents of the device map /boot/grub/
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/sda
Let me know if you still have problems.
Old 03-08-2005, 07:02 PM   #3
LQ Newbie
Registered: Mar 2005
Location: The Valley of the Sun
Distribution: Slackware 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
Awesome I will try that when I get back home tonight... I just wanted to clarify something to make sure that what you said was correct.

Down below you put root (hd0,0) that is correct even for my S-ATA drive that is sda? Not that I dont think you are correct just want to make sure that we are on the same page.

Second I installed the kernel 2.6.9-gentoo-r14 as compaired to the one it lists in the installation manual. So after you compile the kernel and have to copy the new bzimage over to the boot directory I would use the full name of the file 2.6.9-gentoo-r14 right?

Thanks again for all of your help



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
Booting Gentoo 2005.0 on SATA hd Napalm Llama Linux - Hardware 9 06-08-2005 07:54 AM
Problems booting a fresh gentoo install on onboard sata stoned Linux - Distributions 3 08-29-2004 06:43 AM
Fresh Red Hat 9 Install on Silicon II SATA RAID Eternal Morgue Linux - Software 1 05-01-2004 04:03 PM
Gentoo Grub Error (Fresh Install) dkaplowitz Linux - Distributions 6 11-21-2003 03:55 PM
problems with a fresh Gentoo 1.2 install Gentooer Linux - General 1 12-16-2002 11:39 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:35 AM.

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