Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB error 17
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
jimi_hendrix
n00b
n00b


Joined: 02 Nov 2008
Posts: 8

PostPosted: Tue Nov 04, 2008 10:46 pm    Post subject: GRUB error 17 Reply with quote

so i know what this error is...it happens when grub cant find an OS that it is looking for and is generally fixed by reinstalling grub...but why is it happening after i install gentoo (and yes i hit install grub)?

i used the text mode (not the GTK+ installer) installer
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Tue Nov 04, 2008 10:56 pm    Post subject: Reply with quote

Ok, please post your /boot/grub/grub.conf and /etc/fstab files, and the output of
Code:
grep ^CONFIG_BLK /usr/src/linux/.config
from your installation mount.
Back to top
View user's profile Send private message
jimi_hendrix
n00b
n00b


Joined: 02 Nov 2008
Posts: 8

PostPosted: Tue Nov 04, 2008 10:59 pm    Post subject: Reply with quote

notHerbert wrote:
Ok, please post your /boot/grub/grub.conf and /etc/fstab files, and the output of
Code:
grep ^CONFIG_BLK /usr/src/linux/.config
from your installation mount.


i will when i reinstall (had to install ubuntu over gentoo to reinstall grub) but gentoo also doesnt like my wireless and i have no wired internet availible...
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Tue Nov 04, 2008 11:00 pm    Post subject: Reply with quote

the reason is most likely a type-o. take a look at grub.conf and if necessary type the commands in the grub console manually (press "c" at boot menu) and use tab-completion to figure out what you should have put in grub.conf.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
jimi_hendrix
n00b
n00b


Joined: 02 Nov 2008
Posts: 8

PostPosted: Tue Nov 04, 2008 11:39 pm    Post subject: Reply with quote

if i cant get on the internet, or even boot into gentoo how should i post the info?
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Wed Nov 05, 2008 6:12 am    Post subject: Reply with quote

Can you boot the CD and mount the partition, and get the network up, like when you did the installation?

Also take a look here http://www.gentoo.org/doc/en/grub-error-guide.xml#doc_chap5
Back to top
View user's profile Send private message
jimi_hendrix
n00b
n00b


Joined: 02 Nov 2008
Posts: 8

PostPosted: Wed Nov 05, 2008 10:58 pm    Post subject: Reply with quote

notHerbert wrote:
Can you boot the CD and mount the partition, and get the network up, like when you did the installation?

Also take a look here http://www.gentoo.org/doc/en/grub-error-guide.xml#doc_chap5


never got on the internet from the liveCD
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Wed Nov 05, 2008 11:19 pm    Post subject: Reply with quote

I suggest following the handbook step-by-step.

Make sure each step is successfully completed before moving on to the next step.

I think it's easier to use the minimalCD to install Gentoo.
Back to top
View user's profile Send private message
doggizback
n00b
n00b


Joined: 04 Dec 2004
Posts: 57

PostPosted: Sat Nov 08, 2008 8:43 pm    Post subject: Reply with quote

FWIW, ive seen screwy issues whereby a disk is recognized as say, /dev/sda by the livecd

but then when trying to boot from disk, the order will flip flop around, and become /dev/sdb

that was the case on my system at least.

just speaking from my own experience, for me it's always seemed to be one of:

-typo in grub.conf pointing at /boot/kernimgname
-not building SCSI support into the kernel for certain SATA setups
-install CD recognizing as /dev/sda, but when booting from disk is /dev/sdb


In the case of item #3, all you'd need to do is edit /etc/fstab and change sda1,sda2,sda3 and so on, to sdb1, sdb2, sdb3 etc

You might try editing /etc/fstab and making said changes, see how you go

Code:

gentoob0x insecure # fdisk -l /dev/sda

Disk /dev/sda: 8 MB, 8388608 bytes
8 heads, 32 sectors/track, 64 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table
gentoob0x insecure # fdisk -l /dev/sdb

Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b64dd

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1           9       72261   83  Linux
/dev/sdb2              10         134     1004062+  82  Linux swap / Solaris
/dev/sdb3             135        2625    20008957+  83  Linux
/dev/sdb4            2626       91201   711486720   83  Linux


in my case /dev/sda is apparently some sort of SATA RAID garbage on my mobo
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