LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-13-2006, 10:28 AM   #1
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Rep: Reputation: 31
How to reinstall Win XP on dual boot systemand leave SUSE 10.0 intact


Hello guys,

I have a problem with Win XP on my dual boot system. Linux is working perfect, without any trouble. The problem is in windows, which I still need for running ( not so often) some programs (Autocad). If I try to repair or reinstall Win XP, what will be done to my SUSE 10.0. Do I have to reinstall them too or there will be no harm done?? And what I have to do to avoid damages.
In the past it was only SUSE I had to reinstall so nothing happened to Wins.
I would remove wins if I would have a choice, but for the time being there is no other solution, I still need the damn system. So pls help.



Last edited by riba43; 02-13-2006 at 10:31 AM.
 
Old 02-13-2006, 10:39 AM   #2
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
In seperate partitions, if you do a reinstall or a repair of windows, none of the other partitions should even be affected. Just be careful when you choose partitions so as not to do an install over something you already have.
 
Old 02-13-2006, 10:44 AM   #3
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
After the windows installation you will probably have to re-install grub.
 
Old 02-13-2006, 10:50 AM   #4
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
If you "repair" windows xp, then I don't think there would be any problem you should know of.

If in case you "reinstall" windows xp, your MBR will be overwritten by Windows.
SuSE will stay there unaffected, but GRUB will disappear for sure.
The solution would be to reinstall grub, which is just a walk in the park, provided you have the required CDs.
 
Old 02-13-2006, 10:55 AM   #5
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
Well I have two hdd*s. Wd 80GB is divided into two partitions. Partition cFAT32in wins) has 15GB and the rest was left and formatted reiserfs when installing SUSE. The other disk, Maxtor, is 40GB, FAT32, and is only for my documents and other needed things. So if I do setup on my wins partition and install all programs needed, how do I reinstall grub , if necessary??

thanks RedShirt and accessrichard and duffmckagan

I have SUSE 10.0 eval DVD

Last edited by riba43; 02-13-2006 at 10:57 AM.
 
Old 02-13-2006, 11:10 AM   #6
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Is it like a Live DVD or something?

If not, then you can boot to the command line, like safe install options or something like that.

Then enter the following commands at the konsole.

grub
>root (hdx,x)
>setup (hdx)

and then restart.

You better tell us the output of

Code:
fdisk -l /dev/hda
So that i can help you replace the hdx,x by numbers, to install GRUB successfully.
 
Old 02-13-2006, 11:16 AM   #7
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
my fdisk:

bogomir:/home/bgorjup # fdisk -l /dev/hda

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 glav, 63 sektorjev/stezo, 9729 stez
Enote = cylinders od 16065 x 512 = 8225280 bajtov

Naprava Boot Start End Blocks Id System
/dev/hda1 1 1912 15358108+ c W95 FAT32 (LBA)
/dev/hda2 1913 2038 1012095 82 Linux swap / Solaris
/dev/hda3 * 2039 9728 61769925 83 Linux
bogomir:/home/bgorjup #
 
Old 02-13-2006, 11:26 AM   #8
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
So, somehow you need to get to the command line from the Eval DVD, and enter the following commands:

Code:
root@computer# grub
>root (hd0,2)
>setup (hd0)
This should help you get your Dual Boot system back on Track, after re-installing Windows XP.
 
Old 02-13-2006, 11:57 PM   #9
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
Another alternative:

After you have reinstalled Windows, you can also use the DVD or set of CDs of SuSE and start again the installation procedure but this time SuSE will tell you that you have already a SuSE system, and you can choose to repair your system, you can skip all the checks except the one related with GRUB, SuSE will install again GRUB and you can even make some adjustments in case it doesn't detect one of your OSs in your box. I think this one is easier.
 
Old 02-14-2006, 12:04 AM   #10
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
Hi guys,

thanks to all of you. Today I will try (it is a new step for me in learning Linux) to do what I have to do. I will let you know later this day.

Thank you again
 
Old 02-15-2006, 03:19 AM   #11
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
Thumbs up

Hi guys,

I have successfully reinstalled winXP pro and restored GRUB Loader. I used SUSE 10.0 installation DVD where I found repaire grub and everything is now O.K.

Thanks to all of you
 
Old 02-15-2006, 08:04 AM   #12
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Good to see that everything is working alright.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.3 w/win 98 dual boot - how to upgrade 98 to XP? sasilverbullet General 2 12-24-2005 11:35 AM
Win XP, SuSE Dual Boot Blunder Sandfury Linux - Newbie 24 09-17-2004 08:43 PM
Suse 9.0 dual boot WIN XP hotone10524 Linux - Newbie 3 03-04-2004 08:22 PM
gzip and leave the original file intact WindozBytes Programming 4 09-04-2002 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:13 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
Open Source Consulting | Domain Registration