LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-09-2006, 07:07 AM   #1
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 141

Rep: Reputation: 15
Install windows Xp AFTER linux...


Hi everyone
i have an ugly problem, i need to install windows xp on my laptop AFTER i already installed ubuntu edgy (that works wonderfully)
well if i put the xp boot cd it hangs after trying to boot, probably because doesnt like the reiserfs and ext3 partitions i have there, but i have no way the will to delete my linux partitions to install win xp.
Anyway i need xp to be there for some testing purposes (and also because no touchscreen driver for linux) so i wish there was a way to go around that..
I already have an old installation of Xp there, but is slow and crappy and i wish i could start a new one (also smaller because i have only a 40gb hdd and i don't want to waste 20gb for win xp).
I tried to set the partitions to "hidden" and boot xp cd with no luck, the only effect i got was that my grub mbr was destroyed and i had to set again...
Any suggestion how to go around this bothersome problem?
Thanks in advance!
Agostino
 
Old 12-09-2006, 08:01 AM   #2
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Rep: Reputation: 32
Hi. I dont quite understand what you already have. You say you have Ubuntu but you also mention an old installation of XP. If this is the case XP must be on the first partition or it will not boot. If your XP is u.s and/or you need to scrub Ubuntu to reinstall XP, and Linux I hope, then I think 'gparted live cd' is your answer.

http://gparted.sourceforge.net/livecd.php

Burn it to cd and then you can boot off it and repartition to your hearts content.

BashTin
 
Old 12-09-2006, 08:12 AM   #3
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 141

Original Poster
Rep: Reputation: 15
bashtin
Thanks for your answer
i explain better what i have:
i have an old installation of Xp on hd0,0
a linux swap on hd0,1
ext 3 root on hd0,2
reiserfs home on hd0,3
the problem is that i DONT want to wash off my ubuntu, i want only to reinstall windows Xp on a smaller partition in order to have more space for ubuntu
i need to reinstall because the old Xp is pretty screwed up..
and i dont want to wash off ubuntu because i compiled a few drivers i needed to make my acpi work and i don't want to find what did i do (which i forgot)
Thanks
 
Old 12-09-2006, 08:24 AM   #4
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Rep: Reputation: 32
No problem. Go with gparted and you can just format hd0,0, reinstall XP which will over write you Master Boot Record (MBR) so then you will need to boot off your ubuntu rescue/installation disk and re-install lilo so you can boot both os's.

BashTin.
 
Old 12-09-2006, 08:35 AM   #5
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 141

Original Poster
Rep: Reputation: 15
bashtin, but my windows boot cd doesn't boot while there are linux partitions...what can i do about that?
 
Old 12-09-2006, 08:53 AM   #6
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Rep: Reputation: 32
I dont understand why not. Having Liunx partitions should make no difference to booting off a cd, Windows or otherwise. The only thing I could imagine is if it does not like the parition table or something, I dont know, I am not familiar with such detail. But if it was me and as your XP is useless anyway I would run gparted and this will write the new partition table to disk and this just MAY get around the problem if indeed XP does not like something about the table or poss MBR?

That is about all the advise I can offer. Perhaps someone with better knowledge may like to offer some advise.

Good luck.

BashTin.
 
Old 12-09-2006, 09:11 AM   #7
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 141

Original Poster
Rep: Reputation: 15
bashtin, i tried to use partition magic, paragon partition magic, and gparted via a bootdisk, nothing works, windows doesnt like linux..
i was wondering if there is a way to backup partition table, put a partition table with only a windows partition, install windows, then restore partition table..
 
Old 12-09-2006, 09:20 AM   #8
cellarlight
Member
 
Registered: Feb 2006
Location: United States
Distribution: Debian Etch, Suse 10.0, Ubuntu Feisty
Posts: 37

Rep: Reputation: 15
You could check and see if your Bios has your rom booting before your hard disk. Also, try another bootable disk to see if the problem is in your winXP disk.
 
Old 12-09-2006, 09:33 AM   #9
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Rep: Reputation: 32
Yes as cellaright says have you set it up in the bios to boot off the cdrom?? They cant all not boot. As the system is booting you need to press a key to get into the bois to set it to boot off the cdrom (F2 on my machine).

BashTin.

PS you mean by 'nothing works' nothing boots or XP will still not boot after running these tools???
 
Old 12-09-2006, 09:49 AM   #10
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 141

Original Poster
Rep: Reputation: 15
well seems the only way to do that is this (thanks to bill gates which put this neat linux checker)
make (if you don't have already) a fat-ntfs partition via gparted o partition magic
reboot with a boot disk
backup your partition table
delete ALL linux partitions BUT the windows one
reboot and install winzoze
once winzoze runs reboot with bootcd and restore the partition table backup
TADA
working system.
however ubuntu doesn't mount automagically windows anymore..
 
  


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 On
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
Copying a windows or linux install to a new hard disk using linux.... some_cs_student Linux - Software 7 05-24-2004 07:17 PM
Linux/Windows dual boot with Windows re-install dhowell1129 Linux - Newbie 6 04-25-2004 04:21 AM
On Windows and LInux dual boot - why install Windows first? yanar99 Linux - Newbie 13 12-18-2003 09:20 AM
Files from Windows Install to Linux Install Ehuwiko Linux - General 2 10-24-2003 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:04 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