LinuxQuestions.org
Help answer threads with 0 replies.
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 01-22-2008, 11:03 AM   #1
deyash
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Rep: Reputation: 15
Question reinstall windows on a dual boot


hi

i m having fc7 with windows xp on a dual boot.. and they work perfectly.
but now i have to reinstall windows and also i wish to preserve my linux..

wat shud i do,plz help
 
Old 01-22-2008, 11:06 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Ugh - this is a situation I've encountered many times before, and have yet to find a decent solution to. *sorry*

Do you have the two OS'es on separate drives?
 
Old 01-22-2008, 11:09 AM   #3
deyash
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
yes

yes, both the os are on seperate partitions..

thanx
 
Old 01-22-2008, 11:12 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Re-installing windows should not harm Linux unless you let windows reformat the Linux partition. Be very careful. Windows may try to reformat the Linux partition for ntfs as a default option that you have to manually override.

However, windows will install it's bootloader to the MBR and you won't be able to boot Linux until you boot a liveCD or the Linux install CD to re-install grub.

My suggestion, make a boot disk for Linux before re-installing windows. Then, when windows is done, put the boot disk in the drive and reboot to get into Linux and re-instal grub to the MBR.
 
Old 01-22-2008, 11:18 AM   #5
deyash
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
this is what i want to know... i am having the fedora dvd by which i had installed it...
now after reinstalling windows what should i do to reinstate the grub.

thanx
 
Old 01-22-2008, 12:19 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
ditto the idea of the boot disk (floppy)

To make the boot disk (from Linux):
su
grub
root (hdx,y)
setup (fd0)

x=drive number, y=partition number (both starting from 0) e.g. /dev/hda2 is (hd0,1) in "grub-speak"
The drive and partition is the one where linux /boot is

After installing Windows:
boot into Linux with the boot disk
su
grub
root (hdx,y)
setup (hd0)
puts grub back into the MBR of the first drive
 
Old 01-30-2008, 07:10 AM   #7
deyash
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
hi
srry for responding late..

actually i do not hav a floppy drive.. so is there a way to do the job using a cd

thanx
 
  


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
how to fix GRUB after reinstall windows xp dual boot ctdarksilver Ubuntu 2 05-06-2007 11:35 PM
Reinstall Windows in Windows/Linux Dual Boot aye29 Linux - General 5 07-27-2006 09:48 AM
Need to reinstall windows on a dual boot system walterbyrd Debian 1 03-28-2006 06:29 PM
Can't reinstall Windows on Dual Boot system drlinux Linux - Software 14 03-01-2006 01:23 PM
How to Reinstall Windows on Dual Boot mrl Linux - Software 2 05-11-2001 12:25 PM

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

All times are GMT -5. The time now is 03:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration