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 02-01-2006, 07:32 AM   #1
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
grub issues with new Gentoo install


I have been using SuSE for awhile, and still love it, but finally thought I have progressed to the point I may successfully be able to do a gentoo install to test out the distro that never would install in all my trials having been such a noob. I have seen many posts about gentoo and installing it, even many other grub problems. But I got a brand new one. I followed the gentoo handbook for an x86_64 install, and all has gone flawlessly thus far, up until it took me about an hour to configure grub just to get grub-install to work.(I had been getting /boot/grub/stage1 cannot be read.) Thrilled, I rebooted only to be greeted by the grub CLI. CRAP!

Info: I have 3 HDs:

/dev/sda with sda2(XFS holding / and /boot, etc) and sda1(swap)
/dev/sdb(reiserfs 3.6 data)
/dev/hda(reiserfs 3.6 data)

The grub.conf finally ended up looking roughly like this before I finally got the "grub-install /dev/sda" command to successfully take.

Quote:
default 0
timeout 10
splashimage=(/dev/sda,1)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.15
root (/dev/sda,1)
kernel /boot/gentoo-kernel-2.6.15 root=/dev/sda2 vesafb=0x31B
So... I figure the pretty obvious point here is though grub obviously installed finally, I have paths or some other such issue in my grub.conf. Can anyone help me out with that?

Edit: I forgot to mention, now that I am in the grub CLI, not unix or a linux CLI... I am a bit lost in commands and don't know exactly how to change anything.

Last edited by RedShirt; 02-01-2006 at 07:34 AM.
 
Old 02-01-2006, 07:48 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I think you have some syntax errors. Here is my menu.lst entry for Ubuntu:

<<start>>
title Ubuntu, kernel 2.6.12-10-386
root (hd2,0)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hdg1 ro quiet splash
initrd /boot/initrd.img-2.6.12-10-386
savedefault
boot
<<end>>
I have Ubuntu on the 3rd hd, with no separate /boot partition. Note the root entry format is way different from what you posted. GRUB sysntax for drives is h0, hd1, etc. (hd2,0) is the 1st partition on the 3rd drive.

Also in mine is the word "boot", which I'm guessing is also significant.
 
Old 02-01-2006, 06:57 PM   #3
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Original Poster
Rep: Reputation: 45
Okay, the reason I was using that kind of info (/dev/sda instead of hd0, hd1, etc) was because I didn't understand what it was doing. I had hd0 as the first drive, which is good, but didn't get the 0 after the comma which caused it to try boot the swap, which did nothing. I now understand the (hd0,1) to be what I need. so.... now what? I can't seem to figure out get back in via the livdcd to /dev/sda2. I have no clue why but the device is always "busy".

How do I get back to my /dev/sda2 in the livecd to make the changes to my grub.conf?
 
Old 02-02-2006, 07:28 AM   #4
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Original Poster
Rep: Reputation: 45
Okay... I tried using the grub console to set the devices, which worked, but apparently typoed my kernel name. I now recieve a grub boot error 17. So it doesn't load grub console anymore, and I still can't figure out how to get in to edit my grub.conf off the livecd.

Anyone got any help there?
 
  


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
Nvidia and gentoo install issues stabile007 Linux - Hardware 5 04-17-2005 07:21 PM
Gentoo booting issues after install Aman9090 Linux - Hardware 1 03-13-2004 01:53 PM
gentoo file manager install issues (not Gentoo) windeath Fedora 2 03-01-2004 07:17 PM
Gnome Install Issues on Gentoo iverson0881 Linux - Software 1 12-28-2003 10:22 PM
Gentoo install issues..... GryphonTech Linux - Distributions 19 09-12-2003 03:53 PM


All times are GMT -5. The time now is 07:57 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