LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-07-2012, 04:37 PM   #1
VicLopezAraiza
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
How can I unintall Ubuntu from my computer?


My computer has Windows, and recently I installed ubuntu aside. My company asks me to leave Windows and unistall Ubuntu. Please tell me what should I do to accomplish such thing
 
Old 08-07-2012, 04:47 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
You don't uninstall an operating system, you simply overwrite it. You should be able to go to the partition manager in Windows and tell it to delete the Ubuntu partition and expand the Windows partition to fill the empty space. Then you'll need to run the Windows recovery to rewrite the MBR to remove grub. You should make backups of your information before doing this.
 
Old 08-07-2012, 05:13 PM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 15.0
Posts: 8,235
Blog Entries: 61

Rep: Reputation: Disabled
Rewrite the MBR before deleting the Ubuntu partition. I don't know about 7, but in XP this is done from the Recovery Console on the install CD.
 
Old 08-07-2012, 05:25 PM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Do the company provide and install image? Do they have an IT department? Do you have any data on the hard drive that you need to keep? Which version of Windows? Do you have a "recovery CD", a full install CD, something else or nothing?
The advice above is good but if your company has an IT department you should give it to them, if not you should make sure you have a backup of any data you need before making any changes.
 
Old 08-07-2012, 05:36 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Which version of windows. If it's XP you can replace the old MBR using the fixmbr windows program from the windows rescue disk, or the installer disc in management mode. You can remove the Linux partitions in the Windows disk manager, or from your Ubuntu luve distro or the install disk. Some Linux distro's save a cooy of the original MBR in the /boot/ directory. You might want to copy it to a usb flash drive. Using the dd program from Linux, you can restore the first 446 bytes of this file to the MBR to restore the original. The last 64 bytes cintain the original partition table, but you may have reduced the Windows partition to leave room for Linux.

If you used wubi to install Ubuntu, then Linux is in a file inside windows. In this case, you only need to restore the MBR and delette this file. Also check if Wubi has an uninstall option. It may do both. Note: I've not used Wubi, so I don't know if this is the case.

If you use Vista or Windows 7, the drive management programwill allow you to resize partitions. After you resize a partition, windows may want to run a chkdisk program the next time you reboot.
 
  


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
How to remove files from root, after unintall? puska Linux - Newbie 1 09-08-2009 01:12 AM
redirect printer output on computer 1(Win2000) to Computer 2(Ubuntu)via parallel port dmarkd Linux - Hardware 2 12-01-2008 04:51 AM
How do you unintall a bad package created by rpm illwi11 Linux - Software 1 09-02-2004 09:33 PM
How to unintall FC2's built in input method? acer_peri Fedora 1 06-05-2004 07:28 AM
a rpm file can't isntall or unintall!! brendshed Linux - Software 1 01-17-2004 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:14 PM.

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