LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 04-29-2004, 10:01 PM   #1
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 415

Rep: Reputation: 31
Question Fedora boot loader removed by WinXP


Hi, I'm having a problem with my grub boot loader. I have 3 partitions on my PC one has Win2000, one with Fedora Core 1 and I was trying to install WinXP Pro on the other one. When I was trying to install WinXP (with no success) the grub boot loader was removed and also part of WinXP copied to my swap partition and the swap partition was formatted as NTFS. Why is this happening?? Fedora works without the swap partition, but I would like to get the swap partiton back and still intall winxp.

Please help
 
Old 04-30-2004, 08:44 AM   #2
Memzback
Member
 
Registered: Apr 2004
Distribution: Fedora Core 1
Posts: 42

Rep: Reputation: 15
Usually its best to Install Windows first and then Linux. The order that i would install it would be Windows 2000, then Windows XP, and then Linux. That way during installation GRUB automatically configures all three OS's.
 
Old 04-30-2004, 10:25 AM   #3
THX75
Member
 
Registered: Feb 2004
Location: Oklahoma, USA
Distribution: Ubuntu | Mac OS X 10.3
Posts: 143

Rep: Reputation: 15
Is there a way to install GRUB or LILO when something like this happens? I think it's in the MBR right?
 
Old 04-30-2004, 10:52 AM   #4
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, Fedora
Posts: 415

Original Poster
Rep: Reputation: 31
Yes, I did have installed Win2000 & WinXP before, but when I tryed to install Fedora the WinXP partition became corrupted and did not wanted to boot, so that is why I decided to install Fedora first and then WinXP. But, I guess I will have to try again to see what happens.

Thanks guys...
 
Old 05-02-2004, 10:06 PM   #5
stephen_b
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
You need 4 partitions. One for Win2k, one for XP, one for Linux root and one for Linux swap.

You can have the NT loader run Linux. That's the way I do it. When installing Linux you need to tell the stupid Linux installer to put Grub on the first sector of the boot partition, not in the MBR.

Then copy that first 512 bytes of the boot partition to a file using the Linus dd command. If you have no separate boot partition, it will be on the first sector of the root partition. If the boot (or root) partition is the third partition, the dd command will look like this:
dd if=/dev/hda3 of=grub.bin bs=512 count=1

Copy that file to the "C" partition, where ntldr and boot.ini reside. Make an entry in boot.ini that looks like this:
c:\grub.bin="boot my Linux"

assuming you put grub in a file called grub.bin.
 
Old 05-02-2004, 11:19 PM   #6
Ed-MtnBiker
Member
 
Registered: Oct 2003
Location: Reno, NV
Distribution: Fedora Core 3
Posts: 88

Rep: Reputation: 15
Just an FYI, but if you want to exchange data among your OSs, I'd suggest you have a 5th partition that's VFAT, so you can mount it under all the OSs. You can't write to NTFS, so you'd have to have all your windows partitions under FAT32 otherwise....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove the winXP boot loader? Thinking Linux - Software 4 10-08-2005 07:43 PM
Removed WinXP, but boot loader still there, cant access Linux Andknig Linux - General 1 05-03-2005 07:22 AM
WinXp Linux boot loader help... Fr!tz Linux - Software 2 09-29-2004 08:57 PM
recover winxp boot loader sapilas Linux - General 2 03-08-2004 12:42 PM
Add Linux to WinXP Boot loader justiceisblind Linux - Newbie 5 09-12-2002 09:54 PM


All times are GMT -5. The time now is 07:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration