View Full Version : Installing XP after Knoppix

01-07-2005, 07:15 PM
Hi, I'm new to Linux and recently installed Knoppix onto my HD. I was planning on dual booting, but unfortunately I lost XP during the installation of Knoppix. Now I cannot figure out how to install XP back onto my system. I have an NTFS partition of 20 gig reserved for Windows, but I cannot install XP. I tried booting off the XP CD, I also tried booting of XP floppies but the data on disk 4 is consistently corrupt despite my multiple attempts. I also tried inserting the XP CD while in Knoppix and using WINE to install XP, but that also did not work.

Any help would be much appreciated.


P.S. If it matters I'm using XP Home edition with SP1

01-07-2005, 07:31 PM
Durning the install process it should have picked up the XP os and added it to the lilo.conf file. What exactly did you do? Did you reformat the entire partition for the knoppix install or use a linux partition to to install to? Can you see the files in the xp partition from knoppix? Where did you install knoppix to? More info is needed to help.
I find that to reinstall a windows os I need to delete the partition and then recreate it and format it again to get rid of the files that are still there during the reinstall. You might be able to get XP back if it is not wiped out by editing the lilo.conf file.
Install knoppix after the xp install and make sure to install the bootloader to the mbr.

01-07-2005, 07:57 PM
I have a 40 gig Hard Drive, 2500 MB partition for Knoppix installation. A 1500 Swap partition. A 16 Gig Ext3. and 20 Gb as NTFS. Everything is cleared, this was somewhat intentional, right now I only have knoppix, the rest of the hard Drive is clear.

01-07-2005, 10:27 PM
I usually install XP first then knoppix. This is to let the linux bootloader take over. The other way will only boot into windows.

01-07-2005, 10:43 PM
If you can still access your knoppix partition then su to a root console, and assuming you used Lilo and not grub, issue
lilo -U
which will restore you original MBR record, and bring back your XP partition. Unfortunately, you won't be able to access Knoppix again unless you've made a boot floppy for it during the install sequence. (You can, actually, but I don't have time to relate the details.) Once you've restored the orignal Master Boot Record then you can redo your Knoppix install and make sure XP is on the list of boot options in lilo.conf.

01-07-2005, 10:51 PM
He can restore lilo when he runs the cd again. Jseegs, not sure what you want done, let us know what you wnat done and we can assist you better.

01-08-2005, 01:22 AM
Nevermind, thanks for the help but, I got it to work. I used XP boot floppies to allow me to install XP after I had already installed Knoppix.

Everything is working fine now, I have Knoppix and XP dual booting thanks to Lilo.

Sorry about being a bit unclear, as I said I'm new to Linux and had never attempted an OS change before, so I'm not to familiar with the Lingo and what's important.