Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Abit IT7 Grub Error 21
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
timeout
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2003
Posts: 75

PostPosted: Sat Aug 09, 2003 8:34 pm    Post subject: Abit IT7 Grub Error 21 Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Sun Aug 10, 2003 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message
timeout
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2003
Posts: 75

PostPosted: Sun Aug 10, 2003 4:16 am    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Sun Aug 10, 2003 4:28 am    Post subject: Reply with quote

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
View user's profile Send private message
timeout
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2003
Posts: 75

PostPosted: Sun Aug 10, 2003 5:03 am    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Sun Aug 10, 2003 5:46 am    Post subject: Reply with quote

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
View user's profile Send private message
timeout
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2003
Posts: 75

PostPosted: Sun Aug 10, 2003 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Sun Aug 10, 2003 10:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
timeout
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2003
Posts: 75

PostPosted: Sun Aug 10, 2003 11:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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