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

Notices

Reply
 
Search this Thread
Old 02-10-2006, 12:20 PM   #1
champion
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
reinstalling winXP on an existing dual boot system with winXP and FC4 grub not workin


i had a windows xp on the primary partition of my hard disk and a fedora core 4 on the second partition. in all i had 4 NTFS partition and /boot, /, /swap partition on my 80 gb.everything is working fine till here. now i reinstalled windows xp and the grub is not working. i found some help regarding reinstallation of grub, where u have to enter in rescue mode then chroot /mnt/sysimage and then grub etc. but this is not working.

now my windows is working fine. give me some solution.
thanks in advance. awaiting ur reply
 
Old 02-10-2006, 01:46 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Welcome to LQ.org champion. Well, you are pretty close to fix it . In fact, you just need to reinstall GRUB with one command after booting into rescue mode:

chroot /mnt/sysimage
grub-install /dev/hda


That assumes that you want grub re-installed to the MBR. Note: use hda, not hda1. If you have sATA disks, most likely it's sda, ratter then hda. Did you try that?

Regards!
 
Old 02-11-2006, 01:01 AM   #3
champion
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: 0
thanks mega man X. i had tried that before . when i give the command
chroot /mnt/sysimage
the error comes as directory not found.
what to do next. i am sure u have some solution to this

awaiting ur reply
 
Old 02-13-2006, 02:37 PM   #4
[MAeStRo]
LQ Newbie
 
Registered: Feb 2006
Location: /dev/eGyPt
Distribution: fedora,freebsd
Posts: 6

Rep: Reputation: 0
strat linux rescue
then try this command
dd if=/dev/hdX of=/linux.bin bs=512 count=1
where hdX is your /boot
this have to copy your linux boot to C:\linux.bin
then update tour boot.ini and add this line
c:\linux.bin = " Fedora Core "
must work
 
  


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
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
Dual-booting MEPIS and WinXP, I want Grub to default to WinXP jjf Linux - Newbie 8 01-19-2006 03:27 AM
Dual Boot with Existing WinXP & SLackware - with New 160GB hrddrive daveg2000 Linux - Newbie 2 09-06-2004 04:46 PM
FC-2 / WinXP Dual Boot hangs at GRUB BWebb Linux - Newbie 4 08-16-2004 02:50 PM
winXP / FC 2.4 GRUB Dual boot problems again jjisnow Linux - Newbie 4 03-23-2004 09:30 AM


All times are GMT -5. The time now is 06:38 PM.

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