View previous topic :: View next topic |
Author |
Message |
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Tue Apr 13, 2004 2:44 pm Post subject: problem after reboot...GRR my head hurts!! |
|
|
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 |
|
|
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Tue Apr 13, 2004 3:02 pm Post subject: |
|
|
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 |
|
|
solomonHk Apprentice
Joined: 28 Mar 2004 Posts: 226 Location: int main(void) { };
|
Posted: Tue Apr 13, 2004 3:16 pm Post subject: |
|
|
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 |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Tue Apr 13, 2004 3:23 pm Post subject: |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue Apr 13, 2004 4:57 pm Post subject: |
|
|
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 |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Tue Apr 13, 2004 5:09 pm Post subject: |
|
|
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 |
|
|
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Tue Apr 13, 2004 5:10 pm Post subject: |
|
|
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 |
|
|
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Tue Apr 13, 2004 5:12 pm Post subject: |
|
|
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 |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Tue Apr 13, 2004 5:15 pm Post subject: |
|
|
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 |
|
|
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Tue Apr 13, 2004 5:34 pm Post subject: |
|
|
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 |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Tue Apr 13, 2004 5:42 pm Post subject: |
|
|
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 |
|
|
solomonHk Apprentice
Joined: 28 Mar 2004 Posts: 226 Location: int main(void) { };
|
Posted: Tue Apr 13, 2004 6:23 pm Post subject: |
|
|
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 |
|
|
daveb Tux's lil' helper
Joined: 20 Nov 2003 Posts: 137 Location: In front of my computer, duh!
|
Posted: Tue Apr 13, 2004 7:31 pm Post subject: |
|
|
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
it should be
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
between the rootnoverify line and the chainloader line. _________________ WARNING: Not reading the Gentoo Handbook can be hazardous to your computer! |
|
Back to top |
|
|
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Tue Apr 13, 2004 7:41 pm Post subject: |
|
|
Okay... wasn't sure about that one
Thought it was worth a shot. _________________ To look without without looking within is like looking without without looking at all. |
|
Back to top |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Tue Apr 13, 2004 7:47 pm Post subject: |
|
|
sweet thanks D i will give it a try _________________ "In Nomeni Patri Et Fili Spiritus Sancti." |
|
Back to top |
|
|
solomonHk Apprentice
Joined: 28 Mar 2004 Posts: 226 Location: int main(void) { };
|
Posted: Tue Apr 13, 2004 8:41 pm Post subject: |
|
|
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 |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Apr 13, 2004 8:54 pm Post subject: |
|
|
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 |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Wed Apr 14, 2004 12:36 am Post subject: |
|
|
reinstalling now...almost to the GRUB install. we will see _________________ "In Nomeni Patri Et Fili Spiritus Sancti." |
|
Back to top |
|
|
daveb Tux's lil' helper
Joined: 20 Nov 2003 Posts: 137 Location: In front of my computer, duh!
|
Posted: Wed Apr 14, 2004 12:43 am Post subject: |
|
|
daveb wrote: |
it should be
|
Of course, what I meant to say was
_________________ WARNING: Not reading the Gentoo Handbook can be hazardous to your computer! |
|
Back to top |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Wed Apr 14, 2004 1:06 am Post subject: |
|
|
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 |
|
|
daveb Tux's lil' helper
Joined: 20 Nov 2003 Posts: 137 Location: In front of my computer, duh!
|
Posted: Wed Apr 14, 2004 1:12 am Post subject: |
|
|
Looks right to me. _________________ WARNING: Not reading the Gentoo Handbook can be hazardous to your computer! |
|
Back to top |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Wed Apr 14, 2004 1:16 am Post subject: |
|
|
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 |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Apr 14, 2004 1:20 am Post subject: |
|
|
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 |
|
|
acidburn Tux's lil' helper
Joined: 09 Apr 2004 Posts: 148 Location: Albuquerque
|
Posted: Wed Apr 14, 2004 1:24 am Post subject: |
|
|
I can change that in the actual MOBO bios though right? _________________ "In Nomeni Patri Et Fili Spiritus Sancti." |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Apr 14, 2004 1:36 am Post subject: |
|
|
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 |
|
|
|