LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to remove Ubuntu from hard drive (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-remove-ubuntu-from-hard-drive-594034/)

Yakob 10-23-2007 06:26 PM

How to remove Ubuntu from hard drive
 
I had Ubuntu installed with Windows as primary OS. Now I want to use only Windows, so I tried to reinstall it and Windows installation CD does not recognize the hard drive. When I try to boot from hard drive I get grub error 22. Basically I reformatted hard drive on Windows machine, and obviously and did not remove Ubuntu completely. How can I remove what is left from Ubuntu and install Windows on it.

Thank you.

AceofSpades19 10-23-2007 06:51 PM

open up gparted on the ubuntu livecd and reformat the drive

tommytomthms5 10-23-2007 06:58 PM

why go back?

Yakob 10-23-2007 06:59 PM

What is live CD. Is that I can download from website ISO image? Can I do it with Knoppix?

Thank you.

Bruce Hill 10-23-2007 07:08 PM

http://www.gnu.org/software/grub/gru...aq.en.html#q12

saikee 10-23-2007 07:13 PM

To restore MBR for Windows, thereby overwriting Grub, Task B1 or B2 in the last link of my signature refers.

amitabhishek 10-24-2007 01:25 AM

Thats right@! Why going back!!! Recently I dumped XP for Ubuntu!

eboy98 10-24-2007 02:49 AM

i also suffered with this type of problem....the solution is not very good though....what i did install mandrake 10.0 and then the boot loader have been changed.....now you can install windows by xps bootable cd....i know this is not good sulution but it did work.....


__________
thanks

saikee 10-24-2007 05:06 AM

If you have a boot loader problem that "Just booting tips" cannot cure it I would be interested to know.

With this proviso : If the the system boots but the kernel panic that is not a boot loader's problem because by that time the boot loader has finished its work and handed the control over to the kernel.

brianL 10-24-2007 06:06 AM

Choose R when the Windows installation procedure gets that far, then in the Recovery Console type:
fixmbr

saikee 10-24-2007 06:48 AM

brianL,

Your suggestion is Task B2 I indicated in Post #6.

The same can be achieved by a Dos floppy which I described as Rask B1.

If the Windows is a Vista the method to restore its MBR is described as Task B7, all inside "Just booting tips".

brianL 10-24-2007 07:14 AM

Sorry, saikee, I missed that reference - scrolled down too quickly.

pradeep2002gs 10-24-2007 07:19 AM

i too have same prob but with fedora... boot loader wont allow the xp bootable cd to mount....... to avoid it i'll install ubunto and then reformat that using xp...... so better reinstall the ubunto and then try XP bootable

AceofSpades19 10-24-2007 06:03 PM

Quote:

Originally Posted by Yakob (Post 2934305)
What is live CD. Is that I can download from website ISO image? Can I do it with Knoppix?

Thank you.

the cd you installed ubuntu from is the livecd unless you used the alternative install cd

Yakob 10-26-2007 01:46 AM

Thank you very much for your help. FYI, I followed Saikee advice and it worked. After all it was very simple.


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