Forum Home
Press F1
 
Thread ID: 64888 2006-01-01 03:09:00 Installing Gentoo - Grub help needed jcr1 (893) Press F1
Post ID Timestamp Content User
416996 2006-01-01 03:09:00 I've got Gentoo installed, I think. I get error 15 and a mucked up splash screen, its kinda greyed out, not nice (video error) plus I can't boot into Gentoo, but I can get winXP.
First thing, I suppose is to fix Grub, then focus on the video side of things.
My setup is winxp on hda1, boot hda2, swap hda3 & root hda4.
I was hoping that one or more of the Gentooists could give me a hand here.
jcr1 (893)
416997 2006-01-01 05:39:00 Take a look at this (forums.gentoo.org) on the "Error 15". Go through their suggestions and see if this helps. :) Jen (38)
416998 2006-01-01 21:15:00 Thanks Jen,
That site should help, when I can get a couple of hours uninterrupted time to get back into it.
I have actually got it down to error 17, which reads;

"Grub error 17


info grub wrote:
17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.

Be sure to check your root(x,y) settings in your grub.conf."

Which is good news in a way, as it shows that the partition is actually there.

Here is my grub conf.;
"default 0
timeout 30
splashimage=(hd0,0) /grub/splash.xpm.gz

title=Gentoo Linux 2.6.14-r5
root (hd0,1)
kernel /kernel-2.6.14-gentoo-r5 root=/dev/hda4

title=Windows XP Professional
root (hd0,0)
makeactive
chainloader +1"

From what I can see from the gentoo forum site, I should add a vga statement into the conf. file, something like vga=xx (x represents numbers), as I allowed framebuffering in the kernel and anyway its AMD64.
jcr1 (893)
416999 2006-01-01 21:38:00 Thanks Jen,
That site should help, when I can get a couple of hours uninterrupted time to get back into it.
I have actually got it down to error 17, which reads;

"Grub error 17


info grub wrote:
17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.

Be sure to check your root(x,y) settings in your grub.conf."

Which is good news in a way, as it shows that the partition is actually there.

Here is my grub conf.;
"default 0
timeout 30
splashimage=(hd0,0) /grub/splash.xpm.gz

title=Gentoo Linux 2.6.14-r5
root (hd0,1)
kernel /kernel-2.6.14-gentoo-r5 root=/dev/hda4

title=Windows XP Professional
root (hd0,0)
makeactive
chainloader +1"

From what I can see from the gentoo forum site, I should add a vga statement into the conf. file, something like vga=xx (x represents numbers), as I allowed framebuffering in the kernel and anyway its AMD64.Your grub.conf appears to be wrong.
You have 2 different O/S's booting from the same partition (splash.xpm and Windows are sitting on the same partition hd0,0 according to your grub.conf)

Can you give us more info
i.e. how the harddrive is partitioned

You said in the earlier post that windows boots up, so obviously that line is correct, what partition(s) is linux on? /dev/hda*
Myth (110)
417000 2006-01-01 23:02:00 Hi Tazz,
Grub always perplexes me :confused:

Anyway, Windows sits on hda1, Linux boot on hda2, swap hda3 & root on hda4.
jcr1 (893)
417001 2006-01-02 01:28:00 Hi Tazz,
Grub always perplexes me :confused:

Anyway, Windows sits on hda1, Linux boot on hda2, swap hda3 & root on hda4.In that case, grub.conf should look like this:

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

title=Gentoo Linux 2.6.14-r5
root (hd0,1)
kernel /kernel-2.6.14-gentoo-r5 root=/dev/hda4

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

Also; where you have:
title=Windows XP Professional
root (hd0,0)
makeactive
chainloader +1

I have:
title=Windows XP Professional
rootnoverify (hd0,0)
makeactive
chainloader +1


But since that part of your grub works fine I would leave it
Myth (110)
417002 2006-01-02 05:59:00 Thanks Tazz,
It works :thumbs: .
Fair bit of work to do yet though; watch this space
jcr1 (893)
417003 2006-01-03 19:47:00 Well,I can get gentoo going, but, it won't identify the network device (Rhine II), its featured in the kernel and I set it up as a module <m>.
Then done; # make && make modules_install
Then # cp arch/x86_64/boot/bzImage /boot/kernel-2.6.14-gentoo-r5
Then # cp .config /boot/config-2.6.12-gentoo-r10
I always have trouble with this command;
# find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'
and of course I put in the kernel version as above, leaving out the <>.

Then I opened # nano -w /etc/modules.autoload.d/kernel-2.6 and put VIA_RHINE [=m] in there.
I remember last install on my old computer, using an intel network device I didn't have too much trouble, had an entry something like "e100", from memory that went in /etc/modules.autoload.d/kernel-2.6 and it worked.
The internet works from the live cd, which makes me think that there's not too much wrong with the device. Is there a way of getting the settings off the cd? or even being able to copy them?
jcr1 (893)
417004 2006-01-03 20:50:00 Why modules?
I always build my ethernet driver into the kernel <*>
Myth (110)
417005 2006-01-03 20:52:00 Why modules?
I always build my ethernet driver into the kernel <*>

Tried that too, Tazz
jcr1 (893)
1 2