LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2008, 09:37 AM   #1
kashif2131971
Member
 
Registered: Mar 2008
Posts: 60

Rep: Reputation: 16
install window xp after linux


i install window xp after fedora 4
grup screen is not appear system is boot from xp windows
best regards
thankx kashif
 
Old 05-20-2008, 09:43 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Windows always installs it's own bootloader to the MBR (master boot record). As a result, no other operating system on the disk will boot unless:

1) you set up the windows bootloader to boot other operating systems.

2) you boot from your Linux installation cd or a livecd, mount the Linux partition, chroot into that partition, and run grup-install to put the grub bootloader badk into the MBR. Then you will have to manually edit /boot/grub/menu.lst to add an entry for Windows.
 
Old 05-20-2008, 09:43 AM   #3
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
boot rescue mode using fedora cd.

run the following command

Quote:
grub-install /dev/hda
all are done.

To reinstall grub to the master boot record (MBR) you can follow these steps

1. put in the FC 1st cd
2. boot from the FC cd
3. type linux rescue
4. no need to bring up ethernet interfaces
5. choose to mount file system
6. when booted, run chroot /mnt/sysimage
7. run, /sbin/grub-install /dev/hda
8. type, exit twice and the system will reboot.

With step 7 above, substitute the appropriate drive on your system. For example, with a sata drive, it might be /dev/sda.




Note: why FC4 ??? Its end of life.
Now we are FC9
 
Old 05-20-2008, 09:51 AM   #4
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
It's normal, windows XP overwrite the hard drive MBR when installing. Find a live-cd and reinstall grub from it...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
i want to install ubundu linux in a present window xp residing system noufalp123 Linux - General 1 10-01-2007 01:00 PM
how do you install linux on windows because my friend wants linux on window gundumfx Linux - General 18 07-11-2007 01:07 PM
how do i install & play window game on linux ngoclinux Linux - Games 3 12-05-2005 11:16 AM
resizing linux partitions to free up space for window$ - safe or clean install? dianat100 Linux - Newbie 5 03-09-2005 12:05 PM
creating a window in linux with a 'window' variable??! (openCV) vmok82 Programming 1 02-28-2005 03:38 PM


All times are GMT -5. The time now is 05:02 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration