View previous topic :: View next topic |
Author |
Message |
merid n00b
Joined: 25 Apr 2006 Posts: 4
|
Posted: Tue Apr 25, 2006 2:02 am Post subject: grub error 11 w/vert lines i cant see!! |
|
|
ok so i installed gentoo fine, did the conf file for grub and aparently i entered something wrong in the file and i get a error
root (hd1,0
error 11: unrecognized device string
press any key to continue...
when i do it brings me to the boot screen with a messed up screen that i cant see anything...help!
i dont know how to get back into the confg file to fix it. |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Tue Apr 25, 2006 2:10 am Post subject: |
|
|
Couple of options;
- hit "e" when the grub menu displays (before it times out). Then you can edit the line (one time) to get you up, then fix things from there.
- boot the liveCD and chroot in as the handbook says, and proceedas if a nomal install.
If you used the GUI, I can't help - never used it. |
|
Back to top |
|
|
merid n00b
Joined: 25 Apr 2006 Posts: 4
|
Posted: Tue Apr 25, 2006 2:17 am Post subject: |
|
|
ok so i got that fixed(thanks) but now i'm getting a error 17
what is my conf file suppose to look like? i'm not sure i did it right |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Tue Apr 25, 2006 2:55 am Post subject: |
|
|
There is a grub-errors document in the doco site - also an associated thread in this forum.
Check those.
As for the config, I always found the handbookhad everything I need.
Post the config, and a "fdisk -l" (ell, as in list) |
|
Back to top |
|
|
merid n00b
Joined: 25 Apr 2006 Posts: 4
|
Posted: Tue Apr 25, 2006 4:04 am Post subject: |
|
|
disk /dev/hdb: 20 Gb
device boot start end blocks id system
/dev/hdb1 * 1 63 31720+ 82 linux
/dev/hdb2 64 1056 500472 82 linux swap
/dev/hdb3 1057 *end 83 linux
disk /dev/sda: 160 Gb
disk /dev/sda doesn't contain a valid partition table
disk /dev/sdb: 160 GB
device boot start end blocks id system
/dev/sbd1 * 1 38913 7 HPFS/HTFS
file: /boot/grub/grub.conf
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux 2.6.12
root (hd1,0)
kernel /boot/kernel-2.6.15-gentoo-r5 root=/dev/hdb3
title=Windows XP
rootnoverify (hd0,1)
makeactive
chainloader (hd0,1)+1
vga=0x318 video=vesafb:mtrr:3,ywrap
i got the splashimage to work, but i cant find the boot kernel
windows doesnt boot either |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Wed Apr 26, 2006 1:16 am Post subject: |
|
|
Change the Linux root line - would need to be (hd0,0).
For windows try the following Code: | rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1 | Edit: Cleaned up a couple of times. |
|
Back to top |
|
|
merid n00b
Joined: 25 Apr 2006 Posts: 4
|
Posted: Thu Apr 27, 2006 5:31 pm Post subject: |
|
|
thanks syg, i got my windows partition to boot now. but i'm still haveing trouble with gentoo. it says it cant find my kernel? where do i look for it? i used the gentoo handbook for the livecd for the amd64 version and followed it step by step. please help |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Thu Apr 27, 2006 10:51 pm Post subject: |
|
|
Generally simple things - after the make, you need to copy to image over. Typos are a big problem (e.g. gent00 rather than gentoo). /boot needs to be mounted prior to the copy.
Check the kernel name in /boot is exactly the same as you typed it in the grub conf ...
Simple things.
If all else fails, go mount everything, and do the copy/edit again to be sure (using a totally different name). |
|
Back to top |
|
|
|