Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem booting amd64 2004.1
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
dale77
n00b
n00b


Joined: 02 Mar 2004
Posts: 9
Location: New Zealand

PostPosted: Fri Jun 04, 2004 2:43 pm    Post subject: Problem booting amd64 2004.1 Reply with quote

When I try and boot from grub, the kernel loads up to where it tries to load the root partition whereupon it says that it is invalid.

my grub.conf looks like this:

default 1
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.5
root (hd0,1)
kernel /kernel-2.6.5-gentoo root=/dev/hdg4

title=Windows XP
rootnoverify (hd0,0)
chainloader +1

The disk is a SATA, hooked up to a VIA8xxx chipset on the motherboard. Booting the livecd, the disk shows as /dev/hdg and this is where I installed the gentoo stuff prior to putting grub on. /dev/hdg1 is windows, hdg2 is boot, hdg3 is swap and hdg4 is root.

My guess is that the kernel is not picking up my SATA, but I *did* compile SATA support for VIA into the kernel...

Any ideas how I can get this booting?

thanks
Back to top
View user's profile Send private message
qxh
n00b
n00b


Joined: 04 Jun 2004
Posts: 14

PostPosted: Fri Jun 04, 2004 2:46 pm    Post subject: Reply with quote

Does Windows boot?

EDIT: Also, do you get the splash image or just a black background on grub?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Jun 04, 2004 3:59 pm    Post subject: Reply with quote

There are a few threads on this around...

While the livecd for no apparent reason calls your SATA drives hdg, the kernel you've just installed will probably call this /dev/sda.

Try changing your config to this:
Code:
default 1
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.5
root (hd0,1)
kernel /kernel-2.6.5-gentoo root=/dev/sda4

title=Windows XP
rootnoverify (hd0,0)
chainloader +1

_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Fri Jun 04, 2004 5:25 pm    Post subject: Re: Problem booting amd64 2004.1 Reply with quote

dale77 wrote:
When I try and boot from grub, the kernel loads up to where it tries to load the root partition whereupon it says that it is invalid.


could you please include what it says exactly?
Back to top
View user's profile Send private message
dale77
n00b
n00b


Joined: 02 Mar 2004
Posts: 9
Location: New Zealand

PostPosted: Fri Jun 04, 2004 9:30 pm    Post subject: Reply with quote

qxh wrote:
Does Windows boot?

EDIT: Also, do you get the splash image or just a black background on grub?


Yep. I was pleased to see it too :D

And yes, I get the nice grub boot menu, plus a booting kernel.
Back to top
View user's profile Send private message
dale77
n00b
n00b


Joined: 02 Mar 2004
Posts: 9
Location: New Zealand

PostPosted: Sat Jun 05, 2004 9:31 am    Post subject: Reply with quote

Maedhros wrote:
There are a few threads on this around...
While the livecd for no apparent reason calls your SATA drives hdg, the kernel you've just installed will probably call this /dev/sda.


That was it. Using sda4 instead of hdg4 from the livecd fixed the problem.

Thanks!
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