LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-11-2011, 01:23 AM   #1
Sonorus
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
How do I uninstall a dual-booted Ubuntu partition safely?


So, awhile ago I installed Ubuntu on my laptop, dual booting it with Windows 7. In my opinion, Ubuntu is the superior operating system, but due to it not running any of my games, I end up just using Windows. It's too much of a pain to switch between them when I'm done with work and want to play some Starcraft or whatever.

My hard drive is filling up, and I gave my Linux distribution too much of the hard drive when I first installed it. I tried resizing it with Gparted, but the option to re-size was greyed out and I couldn't be bothered to fix it. Since I never use Linux anymore, I figure I might as well just uninistall Ubuntu.

How do I do this safely? Do I just go into partition manager and delete it? If I do, what will happen to the operating-system-selector program when I boot? Finally, will it just be a matter of extending my windows partition from windows to reclaim the used space? On another note, my laptop is a dell computer that did not come with any sort of windows recovery disk if that affects any steps I might have to take.

Thanks for any help, and I hope to go back to linux in the future.
 
Old 09-11-2011, 01:33 AM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Hello,

What you could do is download the stand alone gparted ISO image, burn it to disc, and then boot from it. From there, you should most likely be able to resize your partitons, delete, etc. Most likely, you ran gparted from within ubuntu, and you need to unmount the device(s) that you need to work on in order to do what you need to.

Cheers,

Josh
 
Old 09-11-2011, 01:49 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
Originally Posted by Sonorus View Post
How do I do this safely? Do I just go into partition manager and delete it? If I do, what will happen to the operating-system-selector program when I boot?
If you remove Ubuntu, you will need to restore the Windows7 master boot record so you can boot Windows7. There are numerous tutorials on the net for how to do that. Just do a google search for
"fix master boot record Windows 7".
I can not post any of those tutorials here since I am at work and my employer's web filtering software will not allow me to get to those websites.
Your other option would be to use the GParted live CD to shrink the Ubuntu partition. Then you could expand the Windows partition to take up the space that is created after you shrink Ubuntu.

And welcome to the LQ forums!

Last edited by tommcd; 09-11-2011 at 01:55 AM.
 
Old 09-11-2011, 02:01 AM   #4
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,578

Rep: Reputation: Disabled
Quote:
I end up just using Windows. It's too much of a pain to switch between them when I'm done with work and want to play some Starcraft or whatever.
On the other hand you can try some of the 36 kazillion games that run on linux. They're fun too. For example,
Quote:
Gravity Games is pleased to announce the third public release of Galactic Vice: Alpha 2 Pre-Release B. Galactic Vice is a free, real-time strategy game for both Windows and Linux that features two races at war. Vital mistakes made by a corrupt human empire lead to a catastrophic war against an alien race; one in which humanity is pushed to the brink of extinction.

This release features new terrain, a map editor, new music, and better graphics! (that's really watered down, but you get the point)

Home: http://galacticvice.com/
ciao,
jdk
 
Old 09-11-2011, 02:04 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,580
Blog Entries: 2

Rep: Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037
You may want to have a look here, you didn't delete the Linux partition yet, but the steps to recover the Windows bootloader will work nonetheless. After that just delete the Linux partition and resize the Windows partition, you can use the Windows partition manager for that.
 
Old 09-11-2011, 02:08 AM   #6
Sonorus
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the replies, all. I'll look into everything in the morning.
 
Old 09-11-2011, 08:36 AM   #7
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 286Reputation: 286Reputation: 286
If you do not have a proper Windows7 recovery CD, since most OEM manufacturers do not seem to include them with their computers anymore despite the fact that you paid for a Windows license, you can download free Windows7 recovery CDs from here: http://neosmart.net/blog/2008/window...disc-download/

EDIT: It seems that neosmart now charges for those CDs. You can still get free CDs here: http://cybernetnews.com/windows-7-recovery-disc/
And here is a tutorial for creating your own Windows7 recovery CD: http://createrecoverydisk.com/create...recovery-disk/

Last edited by tommcd; 09-11-2011 at 09:02 AM.
 
Old 09-12-2011, 03:15 PM   #8
Sonorus
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
I have successfully removed the linux partition and rexpanded my windows partition. I will probably reinstall some distribution of linux, just one a little more lightweight and stick it in a smaller partition.

Thanks for the help!
 
Old 09-12-2011, 03:20 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,580
Blog Entries: 2

Rep: Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037
If you just want to try Linux you cand do that easily with Virtualbox, that way you don't have to repartition the disk or install a Linux bootloader on your disk.
 
  


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 remove linux partition from a dual boot system? parv Linux - Newbie 7 05-01-2012 09:59 AM
Want To Replace Ubuntu On Dual-Booted Machine w/o Losing other OS Sumguy Linux - Newbie 2 08-23-2010 03:34 PM
LXer: How safely uninstall Linux when Dual boot installed with Windows XP? LXer Syndicated Linux News 1 02-02-2009 04:20 AM
Can Ubuntu be installed and be booted from a logical partition? dizzi Ubuntu 3 09-17-2008 07:45 PM
resizing windows partition safely to install ubuntu 7 on a laptop jurgendengo Linux - General 1 05-05-2007 06:43 PM


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

Main Menu
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