Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-06-2004, 03:01 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 26

Rep: Reputation: 15
GRUB WTF, Help with Gentoo

Ok, So I got everything working ok. I think... Not sure about my kernel or initrd but Im pretty sure its default 2.4.22 Anyway I already had a windows xp partition installed and I made my grub MBR go like this

default 0
timeout 30

Title=who cares

root (hd0,1) <---- is that correct?????!?!?!?!?!?!!?!?!?!??!!

#this is Hda 2 (cause windows is hda1, hda3 is swap and hda4 is root)

kernel (hd0,3)/kernel-2.4.22 root=/dev/hda3
initrd (hd0,1)/initrd-2.4.22

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

Where am I going wrong? Its weird the splash image seems to load ok. But not anything else. Also is there somewhere I can check kernel and ititrd info?

Help a

Last edited by n0xide; 03-06-2004 at 03:06 AM.
Old 03-06-2004, 04:02 AM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
hda2 is probably your /boot so (hd0,1) is correct,
try changing the kernel line to
kernel (hd0,1)/kernel-2.4.22 root=/dev/hda3
Old 03-06-2004, 02:05 PM   #3
LQ Newbie
Registered: Jan 2004
Posts: 26

Original Poster
Rep: Reputation: 15
I tried that kernel line and it dosent work, I checked with uname -a and my kernel is 2.4.24 Here is my error message currently

Booting Comand-list
root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,1)/kernel-2.4.24 root=/dev/hda4

Error 15: File not found

Here is my partition list.

hda1 windows NTFS
hda2 Boot ext3
hda3 Swap ext3
hda4 root ext3

pls help.
Old 03-06-2004, 02:47 PM   #4
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
when you're in the grub menu type 'C' to get in the grub console, then

kernel / <hit tab>

that should show you a list of files including the kernel in your /boot, the image filename for the kernel can be anything, it doesn't have to have to right version number on it etc.

or boot the livecd, mount /boot and check whats in there
mount -t ext3 /dev/hda2 /mnt/gentoo

Last edited by Demonbane; 03-06-2004 at 02:50 PM.


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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
Gentoo and Grub? Cowma Linux - Newbie 5 04-26-2004 04:08 PM
grub on gentoo need help chiatello Linux - General 1 07-27-2003 02:30 PM
gentoo mozilla galeon wtf?? crashmeister Linux - Distributions 2 07-21-2002 06:26 PM > Forums > Linux Forums > Linux - Newbie

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