LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2004, 03:04 PM   #1
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Rep: Reputation: 32
GRUB won't boot Windows after Linux update


Hi! A while ago I had RedHat Linux 9 on my second harddrive and Windows 2k on my first, each one using it's whole drive. However, I updated my linux to Fedora Core 2, and also upgraded GRUB with the installation.

At first after I installed Fedora I only used Fedora, but now that I try to use Windows it gave the message:

"NTLDR not found"
"press any key to continue..."

So I asked my big brother for some help, and with his help I changed my menu.lst to add two map commands, so now it looks like this:

Linux
**etc**

Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1


Btw, the Windows harddrive is the first drive in the computer, hd0.

I installed GRUB on the MBR

Help please!!!

Btw:
I installed Windows 2k
Then I installed Redhat 9 with GRUB and it worked fine
Then I reinstalled Redhat with Fedora + GRUB and now it is broken
 
Old 07-14-2004, 03:55 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
you need to get ntldr and possibly boot.ini back on your c:\ drive. most likely, you'll only need to get ntldr in there.

try this -> http://www.svrops.com/svrops/dwnlddisk.htm

grab either the windows 2000 server or windows 2000 pro boot disk which ever is your version of windows 2k.

if you have another windows computer, you can use that computer to download the bootdisk contents from that site and put it on a floppy disk. if you don't, then boot into linux and download the boot disk contents from that site and copy it to a floppy disk.

reboot your computer with the floppy disk in there and copy the ntldr file into your c:\ drive. reboot your computer (take out the floppy) to see if it will boot up into windows.

Last edited by megaspaz; 07-14-2004 at 03:57 PM.
 
Old 07-14-2004, 10:19 PM   #3
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Chucking the install cd in the drive and hitting R to get to the recovery console might be all that's required. If you can do that, try typing "fixmbr" without quotes and rebooting. You should get Windows. If so, you can reinstall grub and you should actually have it work this time. I don't know how Windows boots with such a fragile bootloader, honestly.
 
Old 07-15-2004, 12:15 AM   #4
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Original Poster
Rep: Reputation: 32
I fixed it. Its actually a bad bug in the Fedora Core 2 installation. To fix it I had to rewrite some chunk of data that it broke using the following command:

sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda

Thanks for your help and time guys!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Boot Linux / Windows 2000 randybell Linux - Newbie 4 07-24-2005 12:36 PM
Grub fail to boot windows, linux ok k4p0w3r Ubuntu 4 06-25-2005 06:31 AM
Setting up Grub to boot my Windows XP as well as linux lordbyronxxiv Linux - Newbie 3 12-08-2004 01:10 AM
GRUB using /boot partition for multiple Linux/Windows boot? cpv204 Linux - Newbie 7 04-01-2003 03:54 PM
Boot windows 98,windows XP and linux by GRUB Swift&Smart Linux - General 6 02-22-2003 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration