Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub Error Collection [Part 1]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 22, 23, 24  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
smono927
n00b
n00b


Joined: 03 Jul 2005
Posts: 13

PostPosted: Sun Jul 03, 2005 9:54 pm    Post subject: Grub error 17 after booting WinXP Reply with quote

After installing Gentoo over an existing Windows XP installation, I had the following partition layout:
Code:
Partition    Size  id      FS   Mounted on
/dev/hda1     5Gb   C   fat32           C:
/dev/hda2   128Mb  83    ext2        /boot
/dev/hda3   512Mb  82    swap         swap
/dev/hda4    rest   5
/dev/hda5   512Mb  83    ext3            /
/dev/hda6    10Gb  83    ext3        /home
/dev/hda7     8Gb  83    ext3         /usr
/dev/hda8     4Gb  83    ext3         /var



I used GRUB to successfully boot into Gentoo, but after booting into Windows XP and shutting down again, GRUB stage 1.5 gave me an Error 17.

I used the LiveCD to startup again, and I used fdisk on /dev/hda. It showed only the first four primary partitions, all except the first had their id changed.

Code:
Partition    Size  id
/dev/hda1     5Gb   C
/dev/hda2   128Mb  93   
/dev/hda3   512Mb  92
/dev/hda4    rest  15


It seems that XP added 10 to the partition id's of the non-FAT partitions. What can I do to avoid a complete re-installation of Gentoo? (I have a Pentium II, and I built the system from scratch, which took well over 72 hours.)

Thanks in advance!
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4730
Location: Angra do Heroísmo (PT)

PostPosted: Sun Jul 03, 2005 10:10 pm    Post subject: Reply with quote

Welcome to the forums.

This seems very strange! I've never seen this. Assuming that your problem is just with the partition types, boot with the live-cd. Then start fdisk and change the flags for hda2, hda3 and hda4 to what they were.
Do you need more detailed instructions?
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Deathwing00
Moderator
Moderator


Joined: 13 Jun 2003
Posts: 4078
Location: Barcelona, Spain

PostPosted: Wed Sep 21, 2005 7:44 am    Post subject: Reply with quote

Split from original thread due to its length: http://forums.gentoo.org/viewtopic-t-122656.html
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3 ... 22, 23, 24
Page 24 of 24

 
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