LinuxQuestions.org
Register a domain and help support LQ
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 09-05-2011, 09:09 AM   #1
skiet078
LQ Newbie
 
Registered: Sep 2011
Posts: 12

Rep: Reputation: Disabled
safely uninstall unbuntu


I have installed windows 7 and ubuntu .I want to uninstall ubuntu
How to uninstall ubuntu in such a way that my windows's function properly
Pls tell me .I donot want to disturb windows 7
I shall be thankful to u
 
Old 09-05-2011, 09:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
you don't uninstall it, just nuke it from windows. the only issue you would find is if you don't make win7 restore your boot record: http://www.sevenforums.com/tutorials...ot-record.html
 
Old 09-05-2011, 09:31 AM   #3
jdkaye
Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,033

Rep: Reputation: Disabled
Quote:
How to uninstall ubuntu in such a way that my windows's function properly
I was going to say, "But windows never functions properly" but I have resisted the temptation.
ciao,
jdk
 
Old 09-05-2011, 10:27 AM   #4
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,217

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
i think fdisk /mbr from windows should do it... consider using gparted-live to reclaim the space for windows.
 
Old 09-06-2011, 12:33 AM   #5
skiet078
LQ Newbie
 
Registered: Sep 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
unsolved

thanks for ur reply
how to delete ubuntu
how Windows 7 - MBR provide solution
 
Old 09-06-2011, 04:09 PM   #6
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,217

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
^ not sure i quite understand what went wrong but assuming my previous prescription didnt work this mite.
boot into gparted-live-usb and delete all the linux partitions (except for boot) and drag the border of the windows partition to take over the empty space.
then make the appropriate changes to /boot/grub/grub.conf so that when you boot your pc it will use the grub menu to boot windows.
 
Old 09-06-2011, 04:40 PM   #7
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,122

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
You would be much better off trying to restore windows bootloader to the master boot record before deleting Ubuntu. To do that I believe you will need a windows installation CD/DVD. You don't indicate which version of Ubuntu you have, is it the latest 11.04? If so then it would be using Grub2 and the menu file would be grub.cfg. Actually, you don't indicate whether you have Ubuntu installed on its own partition or whether it is a wubi install inside windows. That would be useful information to have!

You might read the link below at microsoft site on how to do this:

http://support.microsoft.com/kb/927392
 
Old 09-07-2011, 12:59 AM   #8
noncomputergeek
Member
 
Registered: Oct 2009
Distribution: ubuntu
Posts: 108

Rep: Reputation: 17
All I had to do was use window's partitioning program to delete my openSUSE partition. It'll say something like "not made by windows" or something like that, so you know it's safe. Then, I believe, you set your windows partition to be the primary boot. Or something like that. I didnt do that and it just gave me a blank screen after BIOS, but luckily I had an old ubuntu CD. Now i dual boot ubuntu 11.10 beta and win7 (:
 
Old 09-07-2011, 08:41 AM   #9
salemeni
Member
 
Registered: Aug 2011
Posts: 64

Rep: Reputation: Disabled
Quote:
Originally Posted by skiet078 View Post
I have installed windows 7 and ubuntu .I want to uninstall ubuntu
How to uninstall ubuntu in such a way that my windows's function properly
Pls tell me .I donot want to disturb windows 7
I shall be thankful to u
Try to boot with gparted live CD and delete ubuntu partitions.

gparted.sourceforge.net/livecd.php
java socket

Last edited by salemeni; 01-26-2012 at 08:27 AM.
 
Old 09-07-2011, 09:15 AM   #10
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,144

Rep: Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127Reputation: 1127
Quote:
Originally Posted by skiet078 View Post
how Windows 7 - MBR provide solution
Most instructions for fixing the Windows MBR assume you can't boot into Windows, because if you can boot into Windows why would you need to fix the MBR.

You have the unusual case (from Microsoft's viewpoint) that until you delete Linux, you can boot Windows. So you want to fix the MBR to be able to continue to boot Windows after deleting Linux.

If you have a Windows CD, maybe it is easier to just follow the typical fixMBR instructions such as yancek linked.

If you don't have a Windows CD, there are ways to fix the MBR from inside Windows without a CD. But I don't have a link to any of those instructions.

Quote:
how to delete ubuntu
After you fix the MBR, it is very easy in the Windows disk management tool to delete the non Windows partition(s) and reuse that disk space for something else.

Quote:
Originally Posted by salemeni View Post
Try to boot with gparted live CD and delete ubuntu partitions.
Bad idea. People answering in this forum know more about using Linux tools to repartition than about using Windows tools for the same job. But for this situation, non expert use of Linux tools to remove Linux will most likely result in a non bootable computer. This job should be done with Windows tools. It is easy with Windows tools if you know how. I've only done this with XP. It is no harder (probably easier) with Windows 7, but different.

Last edited by johnsfine; 09-07-2011 at 09:19 AM.
 
  


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 safely uninstall awstats from a directory kitesurfa Linux - Server 1 11-20-2009 01:26 AM
LXer: How safely uninstall Linux when Dual boot installed with Windows XP? LXer Syndicated Linux News 1 02-02-2009 05:20 AM
Unable to format hda after Unbuntu uninstall code.1955 Linux - Hardware 1 08-05-2008 04:42 AM
Can I safely uninstall these gnome packages? mac_phil Mandriva 1 04-26-2004 02:06 PM
Can I safely uninstall perl rpm ? cmisip Linux - Software 5 04-29-2003 12:02 AM


All times are GMT -5. The time now is 09:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration