LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 07-24-2010, 11:24 PM   #1
Whatshisface
Member
 
Registered: Aug 2003
Location: Chesapeake Beach, MD
Distribution: Mandrake 9.2
Posts: 58

Rep: Reputation: 15
Can I delete my Windows partition and re-install without affecting Linux partition?


I want to wipe out my Windows partition and reinstall due to sluggishness. I plan to use Windows instructions as if it was on a hard drive by itself. Will this affect the multi-boot capability or the Linux partition in any way? Would it be easier to reformat and partition the entire hard drive and re-install both OSes? I use OpenSuse 11.2 and Windows XP.
 
Old 07-24-2010, 11:44 PM   #2
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
Quote:
Originally Posted by Whatshisface View Post
I want to wipe out my Windows partition and reinstall due to sluggishness. I plan to use Windows instructions as if it was on a hard drive by itself. Will this affect the multi-boot capability or the Linux partition in any way? Would it be easier to reformat and partition the entire hard drive and re-install both OSes? I use OpenSuse 11.2 and Windows XP.
Windows (Any version) has a tendency to remove the bootloader (MBR) of any other OS. Go figure...

If you try to install windows after installing linux then the linux MBR will be removed and all you will get is windows + a pile of linux files that can't be booted nor accessed from inside windows. (Due to NTFS vs EXT3, EXT4)

The way around this is to install windows first and then install linux.

Make sure to back up important files to a flash drive or CD beforehand though.

Last edited by David2010; 07-24-2010 at 11:45 PM.
 
Old 07-25-2010, 03:05 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,656

Rep: Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105
Windoze will replace the MBR, but if you're careful will leave the (unrecognised) Linux partitions alone.
Reinstalling grub1 (which OpenSuSE uses) to the MBR will be relatively trivial. Can be done from any liveCD (maybe the OpenSuSE disk - I'd have a look later) - the supergrubdisk will do it for you.

But if you do decide to redo both, do Windoze first as suggested.
 
Old 07-25-2010, 10:10 AM   #4
fbt
Member
 
Registered: May 2010
Distribution: Chakra
Posts: 77

Rep: Reputation: 18
Many liveCD allow you to repair the mbr and get you to a proper grub screen to log in.
 
Old 07-25-2010, 04:38 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 12,342

Rep: Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564
Windows is the complaint. You only need to fix it by the clean install.

Be careful that you do know what partition is what and if you have multiple drives be sure you understand boot order.

After xp finishes you will then have to either fix xp's loader or install grub.
 
Old 07-25-2010, 05:49 PM   #6
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
Quote:
Originally Posted by syg00 View Post
Windoze will replace the MBR, but if you're careful will leave the (unrecognised) Linux partitions alone.
Reinstalling grub1 (which OpenSuSE uses) to the MBR will be relatively trivial. Can be done from any liveCD (maybe the OpenSuSE disk - I'd have a look later) - the supergrubdisk will do it for you.

But if you do decide to redo both, do Windoze first as suggested.
Puppy linux will allow you to install and reconfigure grub legacy (grub 1) and its a live cd.

Although puppy linux is not really practical for desktop use, it is really handy as a rescue/multi-purpose tool.

Last edited by David2010; 07-25-2010 at 05:50 PM.
 
Old 07-26-2010, 02:18 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,656

Rep: Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105Reputation: 1105
OpenSuSE 11.3-RC1 has a rescue mode - I presume 11.2 has similar. Drops to a login shell - user "root", no password.
Then do this (presumes only one hard disk - else amend the setup appropriately)
Code:
grub
find /boot/grub/menu.lst
root (hd?,?)         <<<=== use what previous command returned
setup (hd0)
boot
 
  


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 install Linux without affecting recovery partition intended function? gstath Linux - Laptop and Netbook 5 07-19-2008 07:28 AM
can i delete windows files from linux in ntfs partition sting1220 Linux - Newbie 1 12-23-2007 01:08 AM
delete windows partition and move linux up Mr_C Linux - General 7 03-17-2006 02:28 PM
reinstalling windows into a partition, without affecting linux urfrndvd Linux - General 4 08-16-2002 04:02 PM


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