Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub stopped booting windows (SOLVED)
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
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Sat Dec 10, 2005 6:05 am    Post subject: Grub stopped booting windows (SOLVED) Reply with quote

So I just finished updating GCC, which also updated Grub, and for some reason my windows xp will not boot. The grub screen goes away and then brings me back to selecting the operating system. The windows section of my grub.conf file is shown below..any ideas?


Code:
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1


fdisk -l
shows that /dev/hda1 is bootable.....I am running out of ideas
_________________
So many questions so little time....


Last edited by lostinlinux on Sun Dec 11, 2005 4:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sat Dec 10, 2005 6:28 am    Post subject: Reply with quote

Try reinstalling grub into the MBR like you did during your original installation.
Maybe that will fix it.
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Sat Dec 10, 2005 7:39 am    Post subject: Reply with quote

Almost sounds like grub in the boot sector record. What does this show
Code:
hexedit /dev/hda1
Back to top
View user's profile Send private message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Sat Dec 10, 2005 6:52 pm    Post subject: Reply with quote

Code:
00000000   EB 48 90 4D  53 44 4F 53  35 2E 30 00  02 20 22 00  .H.MSDOS5.0.. ".
00000010   02 00 00 00  00 F8 00 00  3F 00 FF 00  3F 00 00 00  ........?...?...
00000020   C6 73 84 02  43 28 00 00  00 00 00 00  02 00 00 00  .s..C(..........
00000030   01 00 06 00  00 00 00 00  00 00 00 00  00 00 03 02  ................
00000040   81 00 00 80  41 60 00 00  00 08 FA 80  CA 80 EA 53  ....A`.........S
00000050   7C 00 00 31  C0 8E D8 8E  D0 BC 00 20  FB A0 40 7C  |..1....... ..@|
00000060   3C FF 74 02  88 C2 52 BE  79 7D E8 34  01 F6 C2 80  <.t...R.y}.4....
00000070   74 54 B4 41  BB AA 55 CD  13 5A 52 72  49 81 FB 55  tT.A..U..ZRrI..U
00000080   AA 75 43 A0  41 7C 84 C0  75 05 83 E1  01 74 37 66  .uC.A|..u....t7f
00000090   8B 4C 10 BE  05 7C C6 44  FF 01 66 8B  1E 44 7C C7  .L...|.D..f..D|.
000000A0   04 10 00 C7  44 02 01 00  66 89 5C 08  C7 44 06 00  ....D...f.\..D..
000000B0   70 66 31 C0  89 44 04 66  89 44 0C B4  42 CD 13 72  pf1..D.f.D..B..r
000000C0   05 BB 00 70  EB 7D B4 08  CD 13 73 0A  F6 C2 80 0F  ...p.}....s.....
000000D0   84 F0 00 E9  8D 00 BE 05  7C C6 44 FF  00 66 31 C0  ........|.D..f1.
000000E0   88 F0 40 66  89 44 04 31  D2 88 CA C1  E2 02 88 E8  ..@f.D.1........
000000F0   88 F4 40 89  44 08 31 C0  88 D0 C0 E8  02 66 89 04  ..@.D.1......f..
00000100   66 A1 44 7C  66 31 D2 66  F7 34 88 54  0A 66 31 D2  f.D|f1.f.4.T.f1.
00000110   66 F7 74 04  88 54 0B 89  44 0C 3B 44  08 7D 3C 8A  f.t..T..D.;D.}<.
00000120   54 0D C0 E2  06 8A 4C 0A  FE C1 08 D1  8A 6C 0C 5A  T.....L......l.Z
00000130   8A 74 0B BB  00 70 8E C3  31 DB B8 01  02 CD 13 72  .t...p..1......r
00000140   2A 8C C3 8E  06 48 7C 60  1E B9 00 01  8E DB 31 F6  *....H|`......1.
00000150   31 FF FC F3  A5 1F 61 FF  26 42 7C BE  7F 7D E8 40  1.....a.&B|..}.@
00000160   00 EB 0E BE  84 7D E8 38  00 EB 06 BE  8E 7D E8 30  .....}.8.....}.0
---  hda1       --0x0/0x508E78C00----------------------------------------------


I would really like to not reinstall grub....it was a pain in the ass enough when I upgraded to .96...
_________________
So many questions so little time....
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Sun Dec 11, 2005 12:44 am    Post subject: Reply with quote

Well, it hasn't been overlaid by grub - of course, this usually only happens when a manual install is done incorrectly. Emerge should be fine, but it was worth asking.
Must be said that is not a standard XP boot sector either.

If it used to work, I'd regress grub back to the previous level - and mask it so you don't have this happen again. Can't understand why you think it was so difficult - I would consider grub one of the easiest packages to up/down-grade.
As an aside, I have grub masked so that I remain on 0.94, due to people reporting issues with later versions here on the fora.
Back to top
View user's profile Send private message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Sun Dec 11, 2005 5:03 am    Post subject: Reply with quote

upgrading wasn't the issue...the issue was that for some reason grub would not find my grub.conf and having to restart everytime to check was the pain
_________________
So many questions so little time....
Back to top
View user's profile Send private message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Sun Dec 11, 2005 5:24 am    Post subject: Reply with quote

how do you move grub back to the previous version?
_________________
So many questions so little time....
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Dec 11, 2005 5:51 am    Post subject: Reply with quote

Code:
/home/bubba $ emerge -pv =sys-boot/grub-0.96-r1

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] sys-boot/grub-0.96-r1 [0.96-r2] -custom-cflags -netboot -static 1,041 kB

Total size of downloads: 1,041 kB


Substitute the version to which you want to fall back.
Back to top
View user's profile Send private message
lostinlinux
Guru
Guru


Joined: 05 Oct 2002
Posts: 341

PostPosted: Sun Dec 11, 2005 4:56 pm    Post subject: Reply with quote

Just wanted to let everyone know I solved this problem....I didn't realize it until I installed an older version of Grub, but basically what happened was I installed grub to where windows was located, so when it tried to boot windows it would bring grub back up (in my case the version I unemerged). So the problem has been fixed.
_________________
So many questions so little time....
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