Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem after reboot...GRR my head hurts!!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Tue Apr 13, 2004 2:44 pm    Post subject: problem after reboot...GRR my head hurts!! Reply with quote

I can now get all the way to rebooting the CPU. When GRUB loads...

1. it has lines all through the screen (i think i can fix it by taking out the splash image).
2. it will not start Gentoo or Windows. It says the kernel is not loaded when i try to do Gen and something about the chainloader when i ty to do Win.

my set up is...

/dev/hda1 Win Xp

/dev/hdd1 linux boot
/dev/hdd2 linux swap
/dev/hdd3 linux root

the most frustrating thing is I get no errors when I am going throught the install phase.
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."


Last edited by acidburn on Wed Apr 14, 2004 2:50 am; edited 1 time in total
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Tue Apr 13, 2004 3:02 pm    Post subject: Reply with quote

Can you post the contents of your grub.conf file? That would help us diagnose your problem...

G
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
solomonHk
Apprentice
Apprentice


Joined: 28 Mar 2004
Posts: 226
Location: int main(void) { };

PostPosted: Tue Apr 13, 2004 3:16 pm    Post subject: Reply with quote

Ive recieved the same thing with this most recent build of grub.

My fdisk of my linux disk is:

hdb1 /boot
hdb2 linux swap
hdb3 /root


my grub.conf file is:
default 0
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.3
root(hd1,0)
kernel /kernel-2.6.3 real_root=/dev/hdb3

Same problem, its like the splash.xpm.gz file is corrupt. I have tried to emerge grub several times. all resulting the same way.
Back to top
View user's profile Send private message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Tue Apr 13, 2004 3:23 pm    Post subject: Reply with quote

unfourtunatly I am not at home to get the grub.conf but...

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

title=Gentoo Linux 2.4.24
root(hd2,3)
kernel /kernel-2.4.24 root=/dev/hdd3 vga=795

title=Windows XP Pro
rootnoverify=(hd0,0)
chainloader +1
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Apr 13, 2004 4:57 pm    Post subject: Reply with quote

try
Code:
default 0
timeout 30

title=Gentoo Linux 2.4.24
root(hd2,3)
kernel /kernel-2.4.24 root=/dev/hdd3

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

assuming you have 2 hd's
Back to top
View user's profile Send private message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Tue Apr 13, 2004 5:09 pm    Post subject: Reply with quote

i have three hd's winXP is one hd1 and linux is on hd3

my set up is

pri master HD1
pri slave CDRW

sec master HD2
sec slave HD3
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Tue Apr 13, 2004 5:10 pm    Post subject: Reply with quote

Hmm.. it looks like you said that hdd1 was your linux boot, but your grub looks like it is pointing to hdc...

Quote:
my set up is...

/dev/hda1 Win Xp

/dev/hdd1 linux boot
/dev/hdd2 linux swap
/dev/hdd3 linux root

Quote:
title=Gentoo Linux 2.4.24
root(hd2,3)
kernel /kernel-2.4.24 root=/dev/hdd3 vga=795


Shouldn't it be more like this?
Code:
title=Gentoo Linux
root (hd3,0)
kernel (hd3,0)/boot/bzImage root=/dev/hdd3 vga=795


You could give that a try.

G
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Tue Apr 13, 2004 5:12 pm    Post subject: Reply with quote

solomonHk,

You need to change your (hd1,0) to (hd0,0) instead (in all instances), then it should work.

G
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Tue Apr 13, 2004 5:15 pm    Post subject: Reply with quote

why would it be hd3 i thought under grub 1st hd was hd0 2nd was hd1 and 3rd was hd2???

so by that hd3 would imply i have 4 hd's
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Tue Apr 13, 2004 5:34 pm    Post subject: Reply with quote

You might have 4. Your cdrom is typically detected as such, since it is IDE. My guess is that it was detected as hdc.

Did you try it? Did it work? In any event, this may be what is causing you grief -- that your cdrom is posing as a hd (which is nomral).

G
_________________
To look without without looking within is like looking without without looking at all.


Last edited by grooveman on Tue Apr 13, 2004 6:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Tue Apr 13, 2004 5:42 pm    Post subject: Reply with quote

grooveman wrote:
You might have 4. Your cdrom is typically detected as such, since it is IDE. My guess is that it was detected as hdac.

Did you try it? Did it work? In any event, this may be what is causing you grief -- that your cdrom is posing as a hd (which is nomral).

G


i am at work so i will have to wait till i get home to try it out. thank you though for the insight. i had no idea that the cd could post as a hd i will try it that way then and see.
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."
Back to top
View user's profile Send private message
solomonHk
Apprentice
Apprentice


Joined: 28 Mar 2004
Posts: 226
Location: int main(void) { };

PostPosted: Tue Apr 13, 2004 6:23 pm    Post subject: Reply with quote

acidburn wrote:
why would it be hd3 i thought under grub 1st hd was hd0 2nd was hd1 and 3rd was hd2???

so by that hd3 would imply i have 4 hd's


Yeah,... you should be referencing hd3.

hda = hd0
hdb = hd1
hdc = hd2
hdd = hd3

Even though you do not have 3 HDs, the way you have them set up on the IDE order effects the drive name. In other words, regardless if it is only your second harddrive, it takes its ID from what IDE slot it fills.

In update to my problem:

Code:
root (hd0,0)  //works but I am not sure how as i didnt install grub to my MBR, I installed it to my second disk hdb.  and why did this change just with an update to grub???
kernel /kernel-2.6.3 real_root=/dev/hdb3 //had to use real root otherwise I would boot into busybox.


Anywho, thanks grooveman for the (0,0) suggestion.
Back to top
View user's profile Send private message
daveb
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2003
Posts: 137
Location: In front of my computer, duh!

PostPosted: Tue Apr 13, 2004 7:31 pm    Post subject: Reply with quote

solomonHk wrote:

Yeah,... you should be referencing hd3.

hda = hd0
hdb = hd1
hdc = hd2
hdd = hd3

Wrong. grub ignores CDROM's, DVDROM's, etc for numbering. It only counts hard drives.
acidburn wrote:
i thought under grub 1st hd was hd0 2nd was hd1 and 3rd was hd2???

Absolutely correct. You should referencing hd2 if your linux partitions are on your 3rd hard drive. The problem is that your grub.conf is calling root with the wrong argument. Instead of
Code:
root hd(2,3)

it should be
Code:
root hd(2,0)

This is because root in this case is not asking you to point to your root partition, but it is asking you which partition contains your kernel. For you, that is hdd1 = hd(2,0).

For your windows boot problem, you should change
Code:
rootnoverify=(hd0,0)

to
Code:
rootnoverify (hd0,0)

If that doesn't work, try to post the exact error message you get.

EDIT: For the windows problem you could also try
Code:
makeactive

between the rootnoverify line and the chainloader line.
_________________
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Tue Apr 13, 2004 7:41 pm    Post subject: Reply with quote

Okay... wasn't sure about that one :oops:

Thought it was worth a shot.
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Tue Apr 13, 2004 7:47 pm    Post subject: Reply with quote

sweet thanks D i will give it a try
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."
Back to top
View user's profile Send private message
solomonHk
Apprentice
Apprentice


Joined: 28 Mar 2004
Posts: 226
Location: int main(void) { };

PostPosted: Tue Apr 13, 2004 8:41 pm    Post subject: Reply with quote

daveb wrote:
solomonHk wrote:

Yeah,... you should be referencing hd3.

hda = hd0
hdb = hd1
hdc = hd2
hdd = hd3

Wrong. grub ignores CDROM's, DVDROM's, etc for numbering. It only counts hard drives.


no wrong, i can see it as it loads my environment variables that it will address, temporarily, certain hd values to cdroms. MIND YOU, this is not at high runtime envs. so, dont say wrong unless you are absolutely sure, I can print my fstab and my grub.conf and prove you wrong.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Tue Apr 13, 2004 8:54 pm    Post subject: Reply with quote

Daveb is correct, in fact GRUB does not know anything about the kernel that has not been loaded yet. GRUB obtains its harddrive information directly from the BIOS, and GRUB's drive numbering is in the same order as the BIOS's boot order.

(hd0) = the harddrive you booted from
(hd1) = the second harddrive in the BIOS's boot order
(hd2) = the third harddrive in the BIOS's boot order
etc.
Back to top
View user's profile Send private message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Wed Apr 14, 2004 12:36 am    Post subject: Reply with quote

reinstalling now...almost to the GRUB install. we will see :)
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."
Back to top
View user's profile Send private message
daveb
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2003
Posts: 137
Location: In front of my computer, duh!

PostPosted: Wed Apr 14, 2004 12:43 am    Post subject: Reply with quote

daveb wrote:

it should be
Code:
root hd(2,0)


Of course, what I meant to say was
Code:
root (hd2,0)

:oops:
_________________
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Back to top
View user's profile Send private message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Wed Apr 14, 2004 1:06 am    Post subject: Reply with quote

ok this is just to verify right now i am at step 9.b. of the handbook...installing grub. i emerged it with no errors. ran grub and did root, setup with no errors.

this is what i am going to put in the grub.conf

sys =
/dev/hda windows XP pro
/dev/hdb CDRW
/dev/hdc back up hard drive
/dev/hdd gentoo


so....

Code:
default 0
timeout 30

title=Gentoo Linux 2.4.24
root (hd2,0)
kernel /kernel-2.4.24 root=/dev/hdd3 vga=795

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


yes /no ??
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."
Back to top
View user's profile Send private message
daveb
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2003
Posts: 137
Location: In front of my computer, duh!

PostPosted: Wed Apr 14, 2004 1:12 am    Post subject: Reply with quote

Looks right to me. :)
_________________
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Back to top
View user's profile Send private message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Wed Apr 14, 2004 1:16 am    Post subject: Reply with quote

cool...continuing with install...should reboot in like 10 min lol keep yer fingers crossed
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Apr 14, 2004 1:20 am    Post subject: Reply with quote

Just keep in mind, if the BIOS is set to boot from the Windows drive, GRUB will see the drives like this.
Code:
(hd0) /dev/hda windows XP pro
      /dev/hdb CDRW
(hd1) /dev/hdc back up hard drive
(hd2) /dev/hdd gentoo

But if you set the BIOS to boot from the Gentoo drive, GRUB will see the drives like this.
Code:
(hd1) /dev/hda windows XP pro
      /dev/hdb CDRW
(hd2) /dev/hdc back up hard drive
(hd0) /dev/hdd gentoo

Make sure grub.conf is setup accordingly.
Back to top
View user's profile Send private message
acidburn
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 148
Location: Albuquerque

PostPosted: Wed Apr 14, 2004 1:24 am    Post subject: Reply with quote

I can change that in the actual MOBO bios though right?
_________________
"In Nomeni Patri Et Fili Spiritus Sancti."
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Apr 14, 2004 1:36 am    Post subject: Reply with quote

acidburn wrote:
I can change that in the actual MOBO bios though right?

Yes. Since GRUB gets its info from the BIOS, any changes there will directly affect GRUB.
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
Goto page 1, 2  Next
Page 1 of 2

 
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