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 05-08-2007, 07:09 PM   #1
skinshaman
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
Centos wont let me install windows xp


Hello. I just got a computer, the guy I got it from put centos 4.4 on it. I am comfortable using windows and know nothing about linux. I tried to install a copy of windows xp home edition, and when the screen says "hit any key to boot from cd-rom",I do and the screen gose black and dose nothing. Would it be easier to format the hard drive and start from scratch? If so how would I go about formating the hard drive? Any help would be greatly appreciated
 
Old 05-08-2007, 08:05 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
That would have nothing to do with Linux being installed. Once the XP CD gets to the point where it asks you to hit any key to boot to the CD, it has already bypassed your HDD entirely and is now running from the CD-ROM itself.

The problem would likely be a bad CD or bad CD-ROM drive. But you could try reformatting if you like, though I am not sure how you intend on doing that when you can't boot to the CD in the first place.
 
Old 05-08-2007, 08:43 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Not (entirely) true. M$oft installers are very sensitive to the layout of the disk. It is easy to constuct scenarios (that Linux distros do) where the XP installer just quietly exits.

@skinshaman, we need a bit more info;
- are you planning on keeping/learning Linux ???
- can you log on to that Centos (userid and password o.k.) ???
- do you just want a working XP (i.e. blow Centos away completely) ???

If you can get on, go to (probably) Applications>System Tools>root terminal
and enter
Code:
fdisk -l
(that's a lower case ell, as in list). Let's see all the output.
 
Old 05-08-2007, 08:53 PM   #4
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Yes, display fdisk, and also, you may want to consider running Linux. CentOS is one of the most secure OS's on the "market". Dual-booting is an option, if not, you will have to reformat your drive. See GParted.
 
Old 05-09-2007, 05:00 PM   #5
skinshaman
LQ Newbie
 
Registered: May 2007
Posts: 3

Original Poster
Rep: Reputation: 0
syg00 - I am trying to erase centos all together and install windows. centos will let me log in and seems to run fine, but all the programs i am used to running are windows based. I realize you can run a both os's but I am pretty computer illiterate and am not familiar with centos or any linux based software. Thanks for your help.
 
Old 05-09-2007, 05:09 PM   #6
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
OK then. Since you seem to think the windows CD is not being allowed to boot because of CentOS, download GParted. Use K3B (install it by opening a terminal and typing "yum install K3B".) to burn the image to a disc (at 4x-16x). The disc needs to be a CD-R, not RW. Then, stick it in your tray and reboot. The boot options are simple, to stick with English, just hit enter all the way. It boots into a GUI (graphical user interface) and from there, things are pretty self explanatory. Just select all the partitions and press delete. Then, install Windows. (if you want to, you can make an NTFS or FAT32 format for the whole drive-but Windows will do that itself).

Consider the possibility of your Windows disc being bad...

For further instructions on burning an iso to a CD, see here.

Last edited by phantom_cyph; 05-09-2007 at 05:10 PM.
 
Old 05-09-2007, 05:23 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Fom a (root) terminal window in Centos, enter this (carefully)
Code:
dd if=/dev/zero of=/dev/hda bs=1 count=510
You will lose access to*everything* on the disk. But it'll be seen as uninitialized on the CD re-boot.

If the command fails, try /dev/sda instead (on the of=).
 
Old 05-12-2007, 02:46 PM   #8
skinshaman
LQ Newbie
 
Registered: May 2007
Posts: 3

Original Poster
Rep: Reputation: 0
syg00- I tried both of those comands and they didnt work. I logged in as root, went to terminal tried both comands. When I tried the first comand it seemed to give me a breakdown of what each part of the code ment, but didnt do anything further. So I tried the second code and it said it didnt recognise the comand 'cont 510'. The first comnd seemed to respond but I dont know what to do from that point.
 
Old 05-12-2007, 04:39 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
May it be you have some "virus protection" feature enabled in the BIOS which denies writes to the MBR?
 
Old 05-12-2007, 05:53 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally Posted by skinshaman
When I tried the first comand it seemed to give me a breakdown of what each part of the code ment, but didnt do anything further.
That's probably a help screen - you mistyped the command; "copy-and-paste" the command would be best. If you see the same thing again, <shift><pgup> allows you to page up and see the start of the error message.
Quote:
So I tried the second code and it said it didnt recognise the comand 'cont 510'.
sounds like you got a ";" in there - and split the command line into two commands.
BTW, that should be "count=510", not "cont 510".
 
  


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
CentOS wont login? SBN Linux - Software 1 10-11-2006 12:37 PM
centos wont install, kernal panic no sync - fatal exception in interrupt Atown Linux - Hardware 1 05-23-2006 06:31 PM
mp3's wont play on CentOS marlaina1 Linux - General 4 02-12-2006 03:10 AM
CentOS wont shut down completely! twysm Linux - Newbie 3 06-12-2005 08:23 AM
CentOS wont shut down completely! twysm cAos 2 06-12-2005 02:35 AM

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

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