Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
REALLY weird Grub problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
brain
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 229
Location: Farmington Hills, MI

PostPosted: Mon Sep 09, 2002 3:23 am    Post subject: REALLY weird Grub problem Reply with quote

Alright guys, this one has me pulling my (now graying) hair out.

Here is my setup:

Code:

/dev/hda:  Windows 2000

/dev/hdb1:   Gentoo /boot
/dev/hdb2:   Gentoo swap
/dev/hdb3:   Gentoo  /

/dev/hdc:   Windows 2000/NTFS


Alright, for almost 6 months this set up has worked just fine. Grub is configured as follows:

Code:

root (hd1,0)
setup (hd0)


With the menu.lst file being like so:

Code:

title  Linux
root (hd1,0)
kernel /boot/linux-2.4.19 root=/dev/hdb3

title Windows 2000
root (hd0,0)
chainloader +1


Now for the problem. Everything was just peachy until I installed SP3 for Windows 2000 the other night. Ever since then, whenever Win2k is loaded up and then an attempt is made to reboot the machine, on that subsequent boot the machine gets to where Grub is supposed to load, but then suddenly the machine reboots itself again. And then it loops forever.

Booting into Linux, Grub survives the reboot just fine (of course)

The fix is to boot off the Gentoo cd, run the basic grub setup over again:
Code:

root (hd1,0)
setup (hd0)


And all is well until I boot up Windows 2000 once again.

I'm completely lost. It's obvious that Win2k is mangling the boot record on its drive somehow on every boot, but I'm not sure why or how to resolve it.

ARGH!
_________________
--brain
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20054

PostPosted: Mon Sep 09, 2002 3:56 am    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo since the system is already running.

Quote:
Installing Gentoo
If you've finished the install guide, look somewhere else. But if you're still working your way through it, or just need some info before you start your install, this is the place.

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
wilbertnl
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 89
Location: Tulsa, OK, USA

PostPosted: Mon Sep 09, 2002 4:07 am    Post subject: Just a thought... Reply with quote

It's just a thought, what happens when you start win2000, and let it recreate the bootrecord (like fdisk /mbr).
Bye bye Grub for now, you restart win2000...
And then again after win2000 is happy, you boot from CD and reinstall GRUB?

A suggestion: create a floppy with GRUB, makes it a little bit easier to boot linux, at least until you have sort this out.
_________________
Wilbert van Bakel
Strive for excellence, not perfection
Back to top
View user's profile Send private message
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Mon Sep 09, 2002 11:28 pm    Post subject: Reply with quote

well if you can try using lilo, might help, i recall a guy having problems with xp and grub before, and using lilo fixed it right up
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Tue Sep 10, 2002 3:55 am    Post subject: Reply with quote

well i have win2k and sp3 installed and dual boot with grub and its all fine...imho i wouldnt switch to lilo but try to correct the issue....grub is way better then lilo. i am not sure but i dont believe fdisk /mbr will work with 2k i think its more of a 9x thing. you might try reinstalling windows ontop of itself although that could cause some problems too....i have a gateway that runs win2k and i (at 3am,first mistake) decided to update that machine and install service pack 3 , well long story short it borked the connection and put the pcmcia card for my wireless isp on the same irq as the system timer...couldnt access the tcpip settings for the card to figure out what my ip (static) gateway and dns numbers were.

also i second the grub floppy , its pretty useful thing to have
Back to top
View user's profile Send private message
brain
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 229
Location: Farmington Hills, MI

PostPosted: Tue Sep 10, 2002 11:49 am    Post subject: Reply with quote

Well, so far no progress.

I put a new floppy drive in the machine so I can do the floppy boot thing.

i've wiped the MBR, reinstalled Grub about a 1000 times and the same thing happens again.

Short of wiping out the Win2k partition, I'm not sure what else to try!

ARgh... I hate Windows :)
_________________
--brain
Back to top
View user's profile Send private message
bluesky
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 230
Location: USA

PostPosted: Thu Sep 12, 2002 1:00 am    Post subject: re: problem with grub and dual boot Reply with quote

I am not much of a trouble shooter unless I were on to the problem itself. So, I just make a suggestion: try boot.ini and bootpart. But first install GRUB and set it up in the /boot partition.

I am kind of a hobbyist, so I used boot.ini, Grub floppy and SBM floppy in the same computer which is multiboot:

HD#1(10gig): windows 2000 pro + redhat 7.3 base+ LFS
HD #2(40gig): freebsd + redhat 7.3 + gentoo 1.2 + slackware 8.1.

Actually, it's kind of help. Since I manipulating the partitions a lot, the three boot loaders kind of help each other. And I always stay away from the MBR.
:)
_________________
bluesky

"free as the wind"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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