LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-12-2008, 06:24 PM   #1
bigpuma17
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Rep: Reputation: 0
Trying to go back to Windows XP from Xubuntu


Please this is an urgent! My friend let me borrow his laptop and I installed Xubuntu on it and cleared his XP hardrive. Now he needs it back, and I can't install Windows XP on it. Can someone please help me?

I am sorry to be a bother but its urgent!
 
Old 06-12-2008, 07:00 PM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,525

Rep: Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702
Are you able to boot into xbuntu? Did you install xbuntu to the same partition as xp? Why can't you re-install xp on it? If you cana boot xbuntu run the command as root user: fdisk -l (lower-case letter L, not a one (1) and post it here.
 
Old 06-12-2008, 11:46 PM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 50
post # fdisk -l
to give us enough information, since you do not give enough... where si the problem.
 
Old 06-13-2008, 12:23 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Well, at least you didn't put "urgent' in the title....

Quote:
I can't install Windows XP on it.
What happens when you attempt to install XP?
 
Old 06-16-2008, 07:29 AM   #5
bigpuma17
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
He got really mad at me!!!!!!! But he left to go on a trip so I have a little more time. I have been looking everywhere, but can't find the answer so i will sttart answering what you guys asked me.

Before when I tried to install Windows XP on the Xubuntu it would give me the BSOD when it tells you to restart and get into a normal installation Window. I am assuming this is after the hardrive formats. Now I reinstalled Xubuntu, but i can't even load it. His laptop just turns on an gives a blinking cursor, what should I do???

I appreciate your help
 
Old 06-16-2008, 07:40 AM   #6
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
"Before when I tried to install Windows XP on the Xubuntu it would give me the BSOD"

It sounds like you might have changed the BIOS settings. Make sure the boot order is HD1, then CDROM. Because of that, you also have to make sure that HD1 is not bootable before you begin...
 
Old 06-16-2008, 07:41 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
First, you would not "install Windows XP on the Xubuntu". A normal install of Windows will take the whole disk and Xubuntu will be gone. To get the Windows installer to work, it is sometimes necessary to erase part of the disk--namely the 1st sector which contains boot code and the primary partition table. There are many tools for this, including "dd", which will be available on any "Live CD" Linux disk.
One way to go:
Boot up you Linux CD and get into a terminal (from the menus, or by doing ctrl-alt-F1) Enter these commands:
fdisk -l (tells us what your drive and partitions are--lets assume the drive is /dev/sda)
dd if=/dev/zero of=/dev/sda bs=512 count=1 (erases the 1st sector)

Now reboot using the Windows install disk and see if you can install Windows. If not, tell us exactly what happens--error mesages, etc.
 
Old 06-16-2008, 07:43 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by pinniped View Post
"Before when I tried to install Windows XP on the Xubuntu it would give me the BSOD"

It sounds like you might have changed the BIOS settings. Make sure the boot order is HD1, then CDROM. Because of that, you also have to make sure that HD1 is not bootable before you begin...
I would say the opposite: Set the BIOS to boot the CD first, then the HD. If there is no CD in the drive, then it goes to the HD.
 
Old 06-16-2008, 02:11 PM   #9
dmk
LQ Newbie
 
Registered: Feb 2004
Distribution: Suse 9.0
Posts: 13

Rep: Reputation: 0
I am having a similar problem. I had successfully set up a dual boot w/ WindowsXP and Ubuntu and then thought I would install Fedora 9 in place of Ubuntu. The install seemed ok and then it wouldn't boot up after the 1st reboot. I saw "GRUB" come up after the BIOS hardware listing but then it would just reboot and show "GRUB" again. I tried using the WindowsXP recovery console and typing FIXMBR and FIXBOOT neither of which worked. I then tried reinstalling WindowsXP but was getting a disk read error. I think that when I installed Fedora it may have recognized the RAID capability of the 2 SATA drives and caused some kind of a problem there as the drives were listed differently than what I would have expected. They were listed as nvidia/mapper/ and something else I can't remember. I am used to them being listed as hda or sda. I am at work now but will try again tonight to reinstall WindowsXP as I was able to get Ubuntu to install to hda where I couldn't get XP to install back since this began. I will post my results when I get some.
 
Old 06-16-2008, 09:40 PM   #10
dmk
LQ Newbie
 
Registered: Feb 2004
Distribution: Suse 9.0
Posts: 13

Rep: Reputation: 0
Well a fresh install of XP was now successful. I don't know why it wasn't working the last couple of times but it worked now. I was about to try installing SuSE 10.3 again but it still looks like it is trying to use RAID partitioning on my drives. Guess I'll have to manually configure the partitioning.
 
Old 06-18-2008, 08:45 PM   #11
bigpuma17
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Woohoo I realized ehy nothing would load, the hard drive was moved! Any ways I did what pixellany said and here is what happened:

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)

ubuntu@ubuntu:~$ fdisk -l
ubuntu@ubuntu:~$ sudo fdisk -l
ubuntu@ubuntu:~$ sudo dd if=/dev/zero of=/dev/sda bs=512 count=1
dd: writing `/dev/sda': Input/output error
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00210737 seconds, 0.0 kB/s

Is this good, if it is should I go ahead and install XP?

Thank you for all of yuor help.

Last edited by bigpuma17; 06-18-2008 at 08:50 PM.
 
Old 06-19-2008, 08:39 PM   #12
bigpuma17
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
I tried that dd command from the HD and here is what came up:

tsevy@tsevy-laptop:~$ sudo dd if=/dev/zero of=/dev/hda1 bs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 5.4452e-05 seconds, 9.4 MB/s
 
Old 06-28-2008, 11:42 PM   #13
bigpuma17
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Please guys, I really need this done. Is there a way and what must I do????

I appreciate any help at all
 
Old 06-29-2008, 03:04 PM   #14
lwasserm
Member
 
Registered: Mar 2008
Location: Baltimore Md
Distribution: ubuntu
Posts: 184

Rep: Reputation: 41
Are you using a windows xp full install cd? An upgrade or maintenance disk won't work if you have wiped or overwritten the original xp partition.
 
Old 06-29-2008, 04:53 PM   #15
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Rep: Reputation: 49
again, post the output of:
sudo fdisk -l

Last edited by oskar; 06-29-2008 at 04:55 PM.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to install Xubuntu with windows xp and I couldn't resize the first partition. Mac_09 Linux - Newbie 5 05-11-2008 08:04 PM
Xubuntu & Windows Sharing mssa425 Ubuntu 4 04-05-2008 07:22 AM
xubuntu from windows Matz Ubuntu 5 08-11-2007 08:42 AM
Reformatting under Xubuntu back to Win2k eccentricafterglow Linux - Newbie 6 02-19-2007 05:30 PM
Lost the toolbar at the bottem of Xubuntu, how do I get it back? MurX Ubuntu 1 04-04-2006 12:51 PM


All times are GMT -5. The time now is 11:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration