Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB Problem (Error 17) Dual Boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Fuznic
n00b
n00b


Joined: 04 May 2005
Posts: 3

PostPosted: Wed May 04, 2005 9:47 am    Post subject: GRUB Problem (Error 17) Dual Boot Reply with quote

Hey well yesterday everything was working sweet i was in gentoo everything working perfectly. But 2day i restarted the pc and it came up with the Error 17 message wen trying to boot GRUB. I've tried some things which were stated on the forums but none worked. I'm pretty sure it's not a winxp issue, as i've tried uninstalling the winxp hdd and removing it from the list in grub.conf. All help is greatly appreciated.

HDA - Gentoo
hda1 - boot (ext3)
hda2 - swap
hda3 - root (reiserfs)

HDB - Winxp
hdb1 - Some Dell Utility thing
hdb2 - Winxp

My grub.conf looks like this:
Code:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r6 root=/dev/hda3 udev
initrd /initrd-2.6.11-gentoo-r6

title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,1)+1
[/code]
Back to top
View user's profile Send private message
JeffBlair
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 175
Location: USA, Lone star state

PostPosted: Wed May 04, 2005 2:30 pm    Post subject: Reply with quote

Have you tried to reboot into the LiveCD, and run the Grub commands again?

Code:

root (hd0,0)
setup (hd0)


Also, I think you need the makeactive line in the XP section, but I might be wrong on that. But, then again, you said that you took that part out.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed May 04, 2005 6:49 pm    Post subject: Reply with quote

I think that what you call hda may actually be the second harddisk as grub sees it. That would cause grub to look in the Dell thingy for it's files. A partition type it can't read. Did you change the drive order in the bios? If so change it back, if not you could try changing (hd0,0) in (hd1,0) in grub.conf for both occurences.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Fuznic
n00b
n00b


Joined: 04 May 2005
Posts: 3

PostPosted: Wed May 04, 2005 9:58 pm    Post subject: Reply with quote

i tried doing
Code:
root (hd0,0)
setup (hd)


But it sed that it wasnt a compatible partition. i tried grub-install /dev/hda and it worked, i reconfigured my grub.conf, but now when i reboot i get to the grub prompt.

i dont think it's my drive order because if i put my winxp hdd as hda then it doesnt even load grub.
Back to top
View user's profile Send private message
Spent
n00b
n00b


Joined: 30 May 2004
Posts: 55
Location: Bawlmer Hon!

PostPosted: Wed May 04, 2005 10:55 pm    Post subject: Reply with quote

Well if Windows was already installed on the drive before you install Gentoo, then most likely your Windows drive is hda and your Gentoo drive is hdb. A grub 17 error is a can't find the partition error.

If you boot from a live CD and enter:

Code:
 # fdisk -l


It will list your drives.
Back to top
View user's profile Send private message
Fuznic
n00b
n00b


Joined: 04 May 2005
Posts: 3

PostPosted: Thu May 05, 2005 7:14 am    Post subject: Reply with quote

ok i found a good lead into why my grub wasnt working. For some weird reason, no idea how, but my boot partition changed it's filesystem to FAT16!! no idea how. neway i changed the filesystem back to ext3. now if anyone could plz tell me a step by step guide on how to get my boot partition back to the way it was without reinstalling gentoo, it'd be greatly appreciated.
Back to top
View user's profile Send private message
penguinlnx
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2005
Posts: 124
Location: Ice Station Alert AFB

PostPosted: Thu May 05, 2005 10:15 am    Post subject: Reply with quote

Take a look at my thread here before you do anything else:

Switching Linux from Master to Slave
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri May 06, 2005 12:10 pm    Post subject: Reply with quote

penguinlnx wrote:
Take a look at my thread here before you do anything else:

Switching Linux from Master to Slave


Moved to Duplicate Threads.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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