View previous topic :: View next topic |
Author |
Message |
dale77 n00b
Joined: 02 Mar 2004 Posts: 9 Location: New Zealand
|
Posted: Fri Jun 04, 2004 2:43 pm Post subject: Problem booting amd64 2004.1 |
|
|
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 |
|
|
qxh n00b
Joined: 04 Jun 2004 Posts: 14
|
Posted: Fri Jun 04, 2004 2:46 pm Post subject: |
|
|
Does Windows boot?
EDIT: Also, do you get the splash image or just a black background on grub? |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Fri Jun 04, 2004 3:59 pm Post subject: |
|
|
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 |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Fri Jun 04, 2004 5:25 pm Post subject: Re: Problem booting amd64 2004.1 |
|
|
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 |
|
|
dale77 n00b
Joined: 02 Mar 2004 Posts: 9 Location: New Zealand
|
Posted: Fri Jun 04, 2004 9:30 pm Post subject: |
|
|
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
And yes, I get the nice grub boot menu, plus a booting kernel. |
|
Back to top |
|
|
dale77 n00b
Joined: 02 Mar 2004 Posts: 9 Location: New Zealand
|
Posted: Sat Jun 05, 2004 9:31 am Post subject: |
|
|
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 |
|
|
|