LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-21-2008, 06:08 PM   #1
MoschopsUK
Member
 
Registered: Apr 2008
Posts: 31

Rep: Reputation: 15
Reinstall WinXP on dual boot system


I find I need to reinstall the WinXP OS on my dual boot OpenSUSE/WinXP PC. I originally installed WinXP first, then OpenSUSE, as I'd been told that trying to do things the other way would be a problem.

As such, will I have a problem if I try to reinstall WinXP now? The HDD is partitioned, with WinXP in a separate partition, and GRUB 1.5 guides my to the choice of OS on boot.
 
Old 09-21-2008, 06:19 PM   #2
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,089

Rep: Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809
If you re-install xp to the same partition it should not be a problem. One caveat, xp will overwrite Grub in the mbr so you will need to re-install Grub after the xp re-install. You should be able to use your OPensuse CD to do this (don't know which version you have?). Assuming xp on sda1, opensuse on sda2 enter the command 'grub' to get grub prompt (grub>), do this as root. Then enter:

root (hd0,1)
setup (hd0)
quit

If your partitions are not as described above you will need to make appropriate changes and if you are not sure, post before trying it.
 
Old 09-21-2008, 06:21 PM   #3
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

Rep: Reputation: 205Reputation: 205Reputation: 205
The only problem you will face is that winblows will overwrite the grub bootloader. Make a copy of your current /boot/grub/menu.lst file. Do the reinstall, then use a GNU/Linux CD/DVD in rescue mode to restore the grub bootloader.
 
Old 09-21-2008, 06:41 PM   #4
MoschopsUK
Member
 
Registered: Apr 2008
Posts: 31

Original Poster
Rep: Reputation: 15
I'm using OpenSUSE 10.3

XP is on sda1

What should I backup menu.lst onto to ensure that the GRUB rescue can see it? Will a floppy be fine?
 
Old 09-21-2008, 08:01 PM   #5
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,089

Rep: Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809
A floppy will work. Opensuse 10.3 has a Rescue option when you load the CD so select that. Enter 'root' at the prompt and the login will change to a rescue login where you can enter commands.
 
Old 09-22-2008, 09:19 AM   #6
MoschopsUK
Member
 
Registered: Apr 2008
Posts: 31

Original Poster
Rep: Reputation: 15
After various considerations, I'm going to take advantage of the opportunity to replace WinXP with Win2k instead, for reasons I won't go into.

Will this render my current menu.lst invalid, and if so can anyone give me some pointers on how to create a shiny new one when I start the grub command line from the rescue boot (from the CD)?

I'd guess that the following commands would work fine, without me needing to replicate the menu.lst:

root (hd0,1)
setup (hd0)
quit

Is that correct?
 
Old 09-22-2008, 10:39 AM   #7
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
You are right if want to restore mbr and Suse is on sda2. You should not have to change the menu.lst, grub chainloads windows as long as the partition number stays the same.

Last edited by Larry Webb; 09-22-2008 at 10:41 AM.
 
  


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
Reinstall WinXP on dual boot system with FC4 invincible_king Linux - General 10 10-10-2006 07:18 PM
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
reinstalling winXP on an existing dual boot system with winXP and FC4 grub not workin champion Fedora - Installation 3 02-13-2006 03:37 PM
how to wipe disk in best way to reinstall WinXP and Mandrake as dual boot jukebox4joe Linux - Software 3 01-23-2004 05:57 PM


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