PDA

View Full Version : [ubuntu] Ubuntu 8.04 uninstall, XP reinstall



HiThere
June 20th, 2008, 07:51 AM
Hi all
I have an hp nc6400 laptop that came with windows xp pro.
I installed ubuntu 8.04 over it, and formatted the HDD so nothing else was left during install. Meaning only ubuntu is on the HDD.
Due to work etc i need to reinstall XP pro on the system.
I tried booting from xp cd to reinstall it but it says no HDD detected when i press ENTER for clean a clean XP install.
Is there a way to remove ubuntu and start with a clean XP HDD, as ill just install ubuntu on my home pc.

shae
June 20th, 2008, 07:54 AM
If you are using an SATA drive, you will need to enable IDE legacy mode in your BIOS before installing XP. XP does not have SATA drivers by default. Another possibility is slipstreaming SP3 onto your disk.

bumanie
June 20th, 2008, 07:55 AM
Open gparted from a live cd and format the hard drive to ntfs. From the live cd
sudo apt-get install gparted Windows should then recognise the hard drive. You could always have a dual boot system if hard drive space is not an issue. If you do this, it is easier to install windows first, followed by ubuntu.

HiThere
June 20th, 2008, 08:10 AM
If you are using an SATA drive, you will need to enable IDE legacy mode in your BIOS before installing XP. XP does not have SATA drivers by default. Another possibility is slipstreaming SP3 onto your disk.

the hp bios seems very limited :(
under device configuration it only has "sata native mode" and thats enabled

madjr
June 20th, 2008, 08:17 AM
Hi all
I have an hp nc6400 laptop that came with windows xp pro.
I installed ubuntu 8.04 over it, and formatted the HDD so nothing else was left during install. Meaning only ubuntu is on the HDD.
Due to work etc i need to reinstall XP pro on the system.
I tried booting from xp cd to reinstall it but it says no HDD detected when i press ENTER for clean a clean XP install.
Is there a way to remove ubuntu and start with a clean XP HDD, as ill just install ubuntu on my home pc.


the HDD problem is not because of ubuntu, it's a hardware/bios issue.

check your computer Bios and see if it detects the HDD.

you can then use the Ubuntu live-CD to format the Drive (partition editor).

Also, depending on your windows applications you need you can run them in WINE or virtualization windows XP (with virtualbox) and run all your windows apps.

http://www.youtube.com/watch?v=nQIrdyoeg1w

http://www.youtube.com/watch?v=ynJZAqiSG9c

HiThere
June 20th, 2008, 08:32 AM
Open gparted from a live cd and format the hard drive to ntfs. From the live cd Windows should then recognise the hard drive. You could always have a dual boot system if hard drive space is not an issue. If you do this, it is easier to install windows first, followed by ubuntu.

Thanks all for offering help :)
My HDD should be fine as i was just running ubuntu perfectley on it. The HP laptop bios dosnt seem to have very many options "F10 to enter ROM setup"
I ran the livecd ran gpartedi deleted the main space and formatted it to NTSF. under gparted i now have "/dev/sda1 (ntsf)", "dev/sda2 (extended)" and "/dev/sda5 (linux swap)"
sda2 and sda5 are both "locked" so i cannot format them. I restarted and ran the XP cd and still it says no hdd detected :(

adobrakic
June 20th, 2008, 08:33 AM
All i did was start up the ubuntu live cd, use gparted to free up a little space, and then put in the windows xp pro cd on restart. then once all the **** comes up, it asks where to install windows to, and you can just make it install over ubuntu.

btw, sorry for bad grammar and spelling (maybe), im tired at the moment.
good luck btw :D

HiThere
June 20th, 2008, 08:39 AM
the HDD problem is not because of ubuntu, it's a hardware/bios issue.

check your computer Bios and see if it detects the HDD.

you can then use the Ubuntu live-CD to format the Drive (partition editor).

Also, depending on your windows applications you need you can run them in WINE or virtualization windows XP (with virtualbox) and run all your windows apps.

http://www.youtube.com/watch?v=nQIrdyoeg1w

http://www.youtube.com/watch?v=ynJZAqiSG9c

thanks for your time and effort unfortunatley i need a clean xp system :(

bumanie
June 20th, 2008, 08:45 AM
Seems like a bios issue. I have a fairly new computer and had no trouble installing xp to a sata hard drive. You could try a bios upgrade, I guess, but not convinced this solve your problem. Do you have an old ide hard drive anywhere. I remember reading, that someone else with a similar issue, installed an ide, put xp on it and then copied the installation to the sata drive - might be worth a try. If you want to get rid of sda2 and sda5, firstly delete the extended partition.

HiThere
June 20th, 2008, 08:49 AM
Seems like a bios issue. I have a fairly new computer and had no trouble installing xp to a sata hard drive. You could try a bios upgrade, I guess, but not convinced this solve your problem. Do you have an old ide hard drive anywhere. I remember reading, that someone else with a similar issue, installed an ide, put xp on it and then copied the installation to the sata drive - might be worth a try. If you want to get rid of sda2 and sda5, firstly delete the extended partition.

Ye i tried still wasnt able to delete sda2 and sda5 :(
I think it might be a sata issue but the problem is the hp laptop has a very restricted bios with very little to configure, dont know if there is a way around this?

HiThere
June 20th, 2008, 08:56 AM
Just found a "disk sanitizer" option in HP bios. its said to delete all data on HDD so ill try that i guess :lolflag:

bumanie
June 20th, 2008, 09:11 AM
From the sound of things, I think the bios is likely the issue. I guess if it's a laptop, you don't have too many choices. I always stay away from proprietary desk-top computers due to the fact that they usually use minimalist parts/motherboards etc. I buy parts and construct the computer myself, thus aren't hampered by such issues, of course buying a laptop, is different. In the interim, you could always reinstall ubuntu and get windows working in virtualbox. It doesn't support 3D acceleration, but otherwise runs windows well. If you want to get rid of everything off your hard drive you could use something like darik's boot and nuke. With limited bios options, it is hard to find a solution. I guess all you motherboard drivers have been installed. If you have a motherboard driver disk, install the drivers again and see if that makes a difference. Sorry, don't feel as though I am being very helpful.

madjr
June 20th, 2008, 10:39 AM
From the sound of things, I think the bios is likely the issue. I guess if it's a laptop, you don't have too many choices. I always stay away from proprietary desk-top computers due to the fact that they usually use minimalist parts/motherboards etc. I buy parts and construct the computer myself, thus aren't hampered by such issues, of course buying a laptop, is different. In the interim, you could always reinstall ubuntu and get windows working in virtualbox. It doesn't support 3D acceleration, but otherwise runs windows well. If you want to get rid of everything off your hard drive you could use something like darik's boot and nuke. With limited bios options, it is hard to find a solution. I guess all you motherboard drivers have been installed. If you have a motherboard driver disk, install the drivers again and see if that makes a difference. Sorry, don't feel as though I am being very helpful.

yea i run virtualbox in seemless mode which is cool

http://ubunturoot.files.wordpress.com/2007/12/virtual-semless.png?w=429&h=273



or use different workspaces for each 1 :)

http://ubunturoot.files.wordpress.com/2007/12/virtual-cube.png?w=433&h=275