View previous topic :: View next topic |
Author |
Message |
timeout Tux's lil' helper
Joined: 09 Aug 2003 Posts: 75
|
Posted: Sat Aug 09, 2003 8:34 pm Post subject: Abit IT7 Grub Error 21 |
|
|
I plug my Maxtor 80G hd on IT7 ide4(RAID-IDE), because I want to use ATA133 support, but i do not really use raid.
Using Gentoo 1.4 P4 livecd
partitions:
Code: |
/dev/hde1 /boot ext2
/dev/hde3 / reiserfs
|
Grub
Code: |
grub> root (hd0,0)
grub> setup --stage2=/boot/grub/stage2 (hd0)
grub> quit
|
grub.conf
Code: | kernel (hd0,0)/boot/bzImage root=/dev/ataraid/d0p1 |
but when i boot it up, i got grub.conf error 21
Last edited by timeout on Sun Aug 10, 2003 11:37 pm; edited 1 time in total |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 10, 2003 12:58 am Post subject: |
|
|
After GRUB says "error 21", do you get a GRUB prompt ?
If you do, try booting :
Code: | grub> root (hd0,0)
grub> kernel /bzImage
grub> boot |
Then post your entire grub.conf because something is not right.
If this doesn't work, try booting from a GRUB floppy with the same commands. Then reinstall GRUB like this :
Code: | # mount /boot
# cd /boot/grub
# rm *stage1_5 \\ this is a Highpoint BIOS workaround
# grub
grub> root (hd0,0)
grub> setup (hd0)
grub> quit |
|
|
Back to top |
|
|
timeout Tux's lil' helper
Joined: 09 Aug 2003 Posts: 75
|
Posted: Sun Aug 10, 2003 4:16 am Post subject: |
|
|
cyrillic wrote: | After GRUB says "error 21", do you get a GRUB prompt ?
If you do, try booting :
Code: | grub> root (hd0,0)
grub> kernel /bzImage
grub> boot |
Then post your entire grub.conf because something is not right.
If this doesn't work, try booting from a GRUB floppy with the same commands. Then reinstall GRUB like this :
Code: | # mount /boot
# cd /boot/grub
# rm *stage1_5 \\ this is a Highpoint BIOS workaround
# grub
grub> root (hd0,0)
grub> setup (hd0)
grub> quit |
|
I did not get prompt, it sux in Error 21.
Code: |
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo 1.4
root(hd0,0)
kernel /bzImage root=/dev/ataraid/d0p3
|
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 10, 2003 4:28 am Post subject: |
|
|
Try putting a space between "root" and "(hd0,0)"
Also get rid of the reference to ataraid since you are not using RAID
Code: | root (hd0,0)
kernel /bzImage root=/dev/hde3 |
|
|
Back to top |
|
|
timeout Tux's lil' helper
Joined: 09 Aug 2003 Posts: 75
|
Posted: Sun Aug 10, 2003 5:03 am Post subject: |
|
|
cyrillic wrote: | Try putting a space between "root" and "(hd0,0)"
Also get rid of the reference to ataraid since you are not using RAID
Code: | root (hd0,0)
kernel /bzImage root=/dev/hde3 |
|
Still same error, i do not why. I am going to try lilo first. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 10, 2003 5:46 am Post subject: |
|
|
Hmm ... this is strange
Do you have more than 1 harddrive in this machine ?
Did you load the ataraid and hptraid modules (or boot with doataraid) during installation ?
Maybe LILO will do a better job of seeing your harddrive correctly.
<edit> I think using "setup --stage2=/boot/grub/stage2 (hd0)" is what screwed-up GRUB </edit> |
|
Back to top |
|
|
timeout Tux's lil' helper
Joined: 09 Aug 2003 Posts: 75
|
Posted: Sun Aug 10, 2003 10:10 pm Post subject: |
|
|
Now i got following error message:
Code: |
VFS: Canot open root device "" or 21:03
Please append a correct "root=" boot option
Kernel panic: VF: Unable to mount root fs on 21:03 |
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 10, 2003 10:26 pm Post subject: |
|
|
I think your motherboard has an HPT374 controller, which is not supported by the 2.4.20-gentoo-r5 kernel. I use ac-sources with my AT7-MAX2 motherboard. |
|
Back to top |
|
|
timeout Tux's lil' helper
Joined: 09 Aug 2003 Posts: 75
|
Posted: Sun Aug 10, 2003 11:26 pm Post subject: |
|
|
cyrillic wrote: | I think your motherboard has an HPT374 controller, which is not supported by the 2.4.20-gentoo-r5 kernel. I use ac-sources with my AT7-MAX2 motherboard. |
You are dam right, there is a HPT374 controller.
thx lots, Let me try ac-sources, hope it will be ok |
|
Back to top |
|
|
|