View previous topic :: View next topic |
Author |
Message |
smono927 n00b
Joined: 03 Jul 2005 Posts: 13
|
Posted: Sun Jul 03, 2005 9:54 pm Post subject: Grub error 17 after booting WinXP |
|
|
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 |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sun Jul 03, 2005 10:10 pm Post subject: |
|
|
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 |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
|
Back to top |
|
|
|
|
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
|
|