LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-13-2005, 01:44 PM   #1
BlueNoteMKVI
LQ Newbie
 
Registered: Jun 2004
Distribution: Kubuntu/CentOS
Posts: 18

Rep: Reputation: 0
Install Windows - keep Linux intact - how?


My main desktop runs Xandros linux (based on Debian). I'm very happy with it and will continue to use it for my main functions (web development and server management). However, I need to install Windows on it as well for those few programs that don't port over.

The standard advice would be to wipe the Linux installation, install Windows (leaving some space on the disk) and then installing Linux and a bootloader. That's possible for me but I'd rather not deal with re-installing all of my programs and trying to back up all of my data.

Is it possible to install Windows on a Linux computer and keep my MBR intact? If not, can I back up my MBR, then restore it again after installing Windows?
 
Old 10-13-2005, 02:31 PM   #2
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Install windows (Assuming you have free space to partition) and leave linux intact.
Windows will overwrite the MBR.
Then use a linux rescue or live CD and reinstall your boot loader onto the MBR (usually lilo or grub). For lilo this is as easy as chrooting into your linux environment and running "lilo" on a prompt.

Note that you'll probably want to add windows into your boot loader config file before reinstalling the boot loader so you can boot windows too.
Enjoy!
 
Old 10-13-2005, 03:11 PM   #3
Eerath
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.9, SimplyMEPIS 3.3.2, Mandrake 10.1, SUSE 10.0, Windows 2000 Pro, Windows XP Home + Pro
Posts: 138

Rep: Reputation: 15
Use a program like QTParted to create sufficient free space on your hard drive (leave this free space you have created unformatted). Windows can't detect Ext2 or 3 partitions (it can see Reiser as unformatted space, for some reason) and check how much space Windows is using to install before you click OK (For example, If your HDD is 40GB make sure Windows isn't installing on 40GB of space!).

For the bootloader, download a SimplyMEPIS live CD as it has a bootloader installer on the OS centre which should automatically detect Xandros and Windows and configure GRUB accordingly.
 
  


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
Windows with Linux..can't boot windows or install imari1027 Mandriva 4 11-13-2004 01:00 PM
Linux/Windows dual boot with Windows re-install dhowell1129 Linux - Newbie 6 04-25-2004 04:21 AM
Can I install RedHat on an existing partition leaving data intact? prcarp Linux - Newbie 1 02-09-2004 08:00 AM
On Windows and LInux dual boot - why install Windows first? yanar99 Linux - Newbie 13 12-18-2003 09:20 AM
gzip and leave the original file intact WindozBytes Programming 4 09-04-2002 09:26 AM

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

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