Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-28-2007, 08:19 PM   #1
LQ Newbie
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Accidently installed Ubuntu, now can't get windows XP back

I friend loaned me a copy of Ubuntu 7.04 i386 because he thought I would like some of the software on it. I checked out the cd however nothing would install onto my windows xp computer. So without thinking I installed Ubuntu onto my system to find that it has taken over my system.

I have a HP Pavilion DV6000. Can anyone tell me how to remove Ubuntu and go back to my windows xp operating system. Keeping in mind I'm new to Linux and my computer did not come with a windows re installation CD.

Any help would be great.
Old 09-28-2007, 08:39 PM   #2
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Well it does give you the option to either delete the whole harddisk, or to shrink the windows partition, and create a new partition, and set up dual-boot with windows during the installation. However it does ask you twice if you are sure you want to delete the harddisk.

If you don't get an option to start windows on startup now, you have very likely deleted it all.
You can check once again in linux - go to: Applications - Accessoires - Terminal (or hit alt-f2 and type: gnome-terminal)

In the terminal you enter
sudo fdisk -l
It will ask you for the password. You will not get any feedback while you type it, this is normal.
Just copy and paste the code here (strg-c strg-v).

Your computer might have come with a "recovery" cd... That's basically an install cd. I can't believe you didn't get anything. That would mean in case of data loss you have to buy the Operating system again?

Anyway - don't panic. You might still have the registration code, and that's all you need. You can get someone elses XP cd, and use your registration code.
And if all else fails, you're stuck with the better Operating System! :P

Last edited by oskar; 09-28-2007 at 08:46 PM.
Old 09-28-2007, 09:06 PM   #3
LQ Newbie
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0

Thanks I tried what you suggested, It came up with invalid option --1, and some data about Usage and partition.

What exactly am I looking for to see if windows is still there?
Old 09-28-2007, 11:05 PM   #4
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
that's one hyphen and a lowercase L, not two hyphens and a number one
Old 09-28-2007, 11:20 PM   #5
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555

Originally Posted by OP
Accidently installed Ubuntu, now can't get windows XP back
Doesn't sound like an accident to me (sorry, I had to.. )


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
help dual booting windows on already installed ubuntu machine ralphbluecoat Linux - Software 2 02-09-2007 10:02 PM
linux deleted, windows installed, but i want back zetsui Linux - General 11 07-29-2006 11:36 PM
Accidently installed wrong kernel linuxmandrake Ubuntu 9 02-04-2006 01:53 PM
accidently installed slax 5.0 to hard drive dav10631 Slackware 14 01-07-2006 12:12 PM
Help - Installed Ubuntu but now can't start Windows! tranceybowler Linux - Newbie 6 01-29-2005 06:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration