LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-18-2005, 09:48 PM   #1
Skunkwaffle
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Can't start Fedora after installing XP


I have Fedora core installed on a partition on my hard disk. I just installed XP on another partition. Now when I start up my computer it goes straight into XP. I don't even get an option to load up Fadora. What am I doing wrong, and how do I fix it?
 
Old 09-18-2005, 10:24 PM   #2
seriesx4
Member
 
Registered: Mar 2005
Location: Sweden
Posts: 64

Rep: Reputation: 15
I guess Windows XP will overwrite your MBR and maybe even your Linux-partition(s)? You should install XP first, and then LINUX.
If your Linux partition is still there you should be able to access it by installing a boot manager.
 
Old 09-18-2005, 10:35 PM   #3
Skunkwaffle
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
what program should I use and how do I go about doing that?
 
Old 09-18-2005, 11:04 PM   #4
seriesx4
Member
 
Registered: Mar 2005
Location: Sweden
Posts: 64

Rep: Reputation: 15
I'm using almost the same setup as you do, but with two harddisks. I usually use one harddisk for each OS, and always install the OS's bootloader on its own disk. Then you just choose in BIOS which HD to boot from.

XP's chainloader options can be configured in c:\boot.ini and then you can use a third party program like wingrub to boot your LINUX partition.

Google on wingrub is the best advice I can give. And make sure your LINUX partitions are really there before trying that.
 
Old 09-19-2005, 12:39 AM   #5
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
To reinstall grub, boot into FCx rescue mode (boot: linux rescue), search for and mount the FC installation (chroot /mnt/sysimage) and follow the Grub Manual instructions in Chapter 3.3 “Installing GRUB using grub-install” or in Chapter 3.2 “Installing GRUB natively”.

Grub Manual: http://www.gnu.org/software/grub/man...l#Installation
 
Old 09-19-2005, 07:38 AM   #6
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 36
hi Skunkwaffle,
just boot from the first disk of FC1 nad issue the command "linux rescue" at the boot prompt. it drops you into a shell after mounting the fedora partition in read-write mode. from here issue the command " chroot /mnt/sysimage" which will make the mounted fedora partition your root partition. after that issue the command " grub-istall /dev/hdX " where X is a,b,c etc.. depending on how you connect your harddrive in you r IDE chains. if it doesn't complain about any errors, you will have the grub installed in your mbr. type "exit " twice and the system will reboot giving you the menu at the next boot.
vimal...............
 
Old 09-19-2005, 07:53 AM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
vimal's instruction is spot on for replicating the FC bootloader Grub in the MBR.

Your booted FC should not boot Windows because during its installation Windows wasn't there.

To boot Windows in your case you need to know Windows' partition, say it is hda3, and amend FC's /boot/grub/menu.lst to include these 3 lines

title dude said my WIndows is in hda3 and so it is(hd0,2) to Grub
root (hd0,2)
chainloader +1

Being a parimary partition and to install it after FC which would have a swap partition your Windows can either be hda3 or hda4.

Last edited by saikee; 09-19-2005 at 07:54 AM.
 
Old 09-20-2005, 01:41 PM   #8
Skunkwaffle
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
thanks everyone. I just re installed FC1 and everything was fine.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora won't start after installing Nvidia driver Hungry ghost Linux - Hardware 3 02-11-2005 10:55 AM
Fedora doesn't start after installing Nvidia driver Hungry ghost Fedora 3 02-11-2005 10:50 AM
How to start an application when the fedora start ivonne Fedora 0 11-16-2004 12:16 PM
How to start an application when the fedora start ivonne Fedora 9 11-12-2004 01:40 PM
i cant start up fedora sam_cym Fedora 6 10-13-2004 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:03 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