LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-18-2008, 12:25 AM   #1
ptdalliance
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Uninstalling Ubuntu


Okay so i thought i would install ubuntu on my main pc (a gateway) but, i just realized i didnt want to do this (>.<). Currently having Windows XP and Ubuntu (7.10) but would like to get rid of Ubuntu. Don't get me wrong I LOVE IT! Just that not on my school/main computer i use. (im sure some1 agrees) Ive done some research here but i was like o.0. Like im a computer guy but not when it comes to partitioning and other stuffs like.

Also if i just stuck in my Recovery CD will that make it all better? LOL?

Any help would be DEEPLY appreciated!

-Alliance
 
Old 01-18-2008, 01:23 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
uninstall ubuntu

The first time I Install linux it was suse 7.3
Before I install it I read the quid lines for uninstalling
The said you have to do 3 thinks
delete the linux partions
Format the linux partions
Put the mbr back in place

I don.t know if it works because I never try it

regards
 
Old 01-18-2008, 01:37 AM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
well to uninstall you you will. Down load parttion magic on to a floppy or burn it to cdrom. bot from it and clear your linux partition then. resize your windows partionthats if you want that back. then take out your emergency windows boot disf boot from it and type fdisk mbr.
then reboot. If xp dosnt boot then they put the start up on the mbr instead of low level so with your emergency boot disk reinstall the mbr. you can down load the ultimate boot disk for free that will help you do this. must most likely with your windows emergency boot disk you will type restore mbr. the other way is to back up your stuff and do a new install or restore.
third way is to use you ubuntu install disk to use the partition program to . Oops never mind you have Ubuntu to explain fdisk program would be to none gui.
 
Old 01-24-2008, 02:30 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Welcome to LQ.

Both the above seem to assume that you or someone else repartitioned your XP box & added Ubuntu as dual-boot. Also, that GRUB was installed in your MBR & is your current boot loader.

How much of this is true? Especially, if you had help setting this up, why can't you get the same help w/ un-installing?
 
Old 01-24-2008, 03:03 PM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Here's how it usually goes:

EDIT: just to correct, you don't "uninstall" Ubuntu in any way, like you don't "uninstall" any other operating system I'm aware of. You just "get rid of it" by overwriting the bootloader it used in MBR, and removing it's partitions and either creating new or extending your existing partitions over them. That's not "uninstalling", it's "replacing".

- get a Windows boot disk if you don't have one yet - you might need it if things get bad
- once you have it, try that it actually boots your Windows
- boot Windows from your Windows setup disc to enter the Recovery Console (XP), or if you know it's installed to the harddisk (it should be, if you don't have a setup disc like some don't seem to have - just a recovery partition), boot from bootdisk (if needed) and before Windows actually loads, use F8 (I think it's that) to enter the Boot menu, from which select Recovery Console
- once inside Recovery Console answer any questions asked and run 'fixmbr' which should replace Grub, or whatever bootloader you use, with Windows' own bootloader
- if it says it succeeded, reboot and see - you should not see anything related to Linux, just the Windows starting to load after BIOS gets out of the way. If this is not the case (you get strange, frightening errors, still some other bootloader, a skull with crossed bones below it or something like that..), retry with 'fixmbr' ('fixboot' is another, but it should deal with partition records rather than bootloader itself). You need to get it run, or the only two options left are reinstallation of Windows or getting an image of Windows-only-bootloader MBR from your friend (466 first bytes, no partition-specific information, after which you still need to run something to get the partition records complete - fixboot at Recovery Console maybe? dunno - I don't use XP)
- now when Windows boots normally, and only that, you still have the Ubuntu partitions eating up disk space. Download and install some kind of partitioning program that can deal with ext3 format (that's what Ubuntu should use). Partition manager does, but it's commercial as far as I know. A Linux live-cd like the Ubuntu desktop cd does here just fine!
- launch the partitioning program that knows ext3 filesystem, or just boot the Ubuntu desktop install/live-cd like you normally would and once it's up, open Gparted from the menu - this works
- with the partitioning program select and remove the Linux (ext3 and swap) partitions. There should be one swap partition and at least one Linux partition
- now that the space is freed, either extend your Windows partition over them (you might want to run file system check on Windows first - scandisk, anyone?) or just create a new partition of type NTFS (XP and newer use this) or FAT32 (WinME,98 and such use this)
- reboot and enjoy

IN SHORT:
- reinstall Windows bootloader
- remove Linux partitions
- re-use the freed space by either extending your current partition(s) over it or create new partitions ("drives")

Note that you must deal with the bootloader FIRST and with partitions AFTER that. This is because if you first wipe out the Linux partitions, and use a Linux bootloader (that has some of it's stuff at /boot Linux partition), it won't find some of it's pieces anymore and refuses to work (you wouldn't like to do anything either, if you had your legs and arms cut off, right?). Therefore first overwrite MBR with a new bootloader - usually Windows' own bootloader, by using Windows' Recovery Console - and after that's working and you know you get your Windows boot normally, then reuse the space that Ubuntu reserved.

And if you used a third-party bootloader that has nothing to do with the Linux partitions you have, it's ok - forget about the bootloader stuff, just go to the step where you take up a partition manager program and deal with the partitions.

It's also possible to boot Linux with Windows bootloader (add Linux as a boot option to Windows boot menu), so in case you already are using XP's bootloader, don't "fix" it. It's a damn beast, and sometimes difficult to recover. Actually I would encourage to never touch it, if possible, because all it really causes is trouble

Last edited by b0uncer; 01-24-2008 at 03:09 PM.
 
Old 01-25-2008, 07:12 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
But we still don't know how Ubuntu was installed on the box.

OP, please answer.
 
Old 02-25-2008, 07:57 AM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
OP, did you fix your problem? If so, how? -- It would be helpful for others to know what worked.
 
Old 02-25-2008, 08:39 AM   #8
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Quote:
Originally Posted by archtoad6 View Post
But we still don't know how Ubuntu was installed on the box.

OP, please answer.
Does it really matter how it was installed? Whether he installed it himself, or had someone else do it, is really irrelevant, he wants to be rid of it.

What b0uncer said should get him through it, at least thats how I've removed Linux in the past.

IGF
 
Old 02-27-2008, 11:27 AM   #9
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
It matters because if someone local helped w/ the install, there may be better help available closer by.

It matters because the content of the answer may give significant clues to the sophistication of the querent & allow tailoring the technical level of the response appropriately.

It matters because you can't always go back unless you know the path you took coming in.

It matters because until the Q is answered, we can't be sure if our (i.e. b0uncer's excellent) advice is valid for his situation. See my #4 above for the assumptions I think are making. I admit I am reasonably sure it's applicable, i.e. our assumptions are correct, but not certain.

If nothing else, it matters because it's a tad rude not to answer polite Q's designed to help craft a good answer.
 
Old 02-27-2008, 07:27 PM   #10
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Quote:
Originally Posted by archtoad6 View Post
If nothing else, it matters because it's a tad rude not to answer polite Q's designed to help craft a good answer.
Its not rude at all, your question had no real relevance to his question. As you can see, b0uncer managed to answer the question quite thoroughly w/o asking him how he installed.

IGF
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalling Ubuntu apche93 Linux - General 3 12-17-2007 11:16 PM
Uninstalling UBuntu ram20plus Linux - Newbie 3 07-29-2007 05:14 PM
Uninstalling Ubuntu... JuCa Ubuntu 16 03-12-2007 08:54 PM
need help uninstalling ubuntu rubiks14 Ubuntu 2 06-24-2006 12:08 AM
uninstalling Ubuntu from my armada e500 RobertAlamond Linux - Laptop and Netbook 1 06-17-2006 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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