Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 02-08-2007, 01:23 AM   #1
LQ Newbie
Registered: Apr 2006
Posts: 6

Rep: Reputation: 0
How to uninstall Kubuntu from a duel-boot system.

I have a duel-boot system with Kubuntu and Windows XP. I had XP installed first and then I let the Kubuntu installer set up the boot loader or whatever it's called. I'm a real newb, if you can't tell already. When I boot my computer I get a screen that gives me 10 seconds to pick an OS or it starts Kubuntu by default. I want to remove Kubuntu and have my computer boot windows as if Kubuntu was never installed. Can someone please tell me how to do this?
Old 02-08-2007, 07:01 AM   #2
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
To remove grub, insert your XP CD .. Go to the recovery console and type:

To uninstall kubuntu, boot into windows, go to the Disk Management tools in Windows (right-click My Computer & select Manage).
And select the linux partition (look for a disk about the size you created for your linux partition because it might show up as unknown) and click DELETE. You can then repartition it for windows usage.
Old 02-09-2007, 01:25 PM   #3
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 38
If you want to keep the Kubuntu install, and have the option to boot into it, but have the option as hidden as possible, you want to use 'hiddenmenu' in grub:

Open your /boot/grub/menu.lst file. (you'll need root privilidges so sudo [favourite text editor] /boot/grub/menu.lst will work)

Scroll to the line
(it's on line 23 of mine, which is probably where it is on yours) and remove the # from the beginning.

Then edit the number after the word 'timeout' a few lines up above to however long you want in seconds.

You'll probably end up with something like this:
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 4

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
What this does is make it so that on boot you get an option to hit <esc> to open the grub menu for however long you've set the timeout value to. Setting timeout to 1s is about as close to completely transparent as you'll get. Setting it to zero is the equvalent of infinity.
For my example, you get 4 seconds to hit escape before booting the default OS.

Last edited by Lordandmaker; 02-09-2007 at 01:34 PM.
Old 02-09-2007, 01:26 PM   #4
Registered: Mar 2005
Location: Calgary, AB
Distribution: Mint 12 GDM
Posts: 96

Rep: Reputation: 15
Just in case

Win XP will most of the time refix your MBR, however you still need a backup, in case it does not.
When I was trying the dual boot thing, I would always make sure I had recovery options available to me. One of these was the use of a Disk Partitioning Program, stay away from Acronis Software, the only one that was benficial to me was Partition Magic 8.
Or of coarse make a startup recovery disk for WinXP.

I now stay away from dual boot systems, I have a dedicated Ubuntu system, which I am learning and using periodically. The purpose is to get away from Windows XP, all together.

Good luck, and plan your uninstall carefully


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
help creating partitions for a duel boot system HouseC Slackware 6 09-29-2006 11:12 AM
duel boot system rich032266 Mandriva 4 10-08-2004 11:01 PM
Need help with duel boot Mandrake10 and Win2000 system!!! AlphaBeta Linux - Software 1 09-04-2004 11:29 AM
Re-installing XP on a duel boot system. the_rydster Linux - General 5 02-27-2004 11:41 PM
how to hide GRUB bootloader while booting a duel boot system ( linux/windows ) ? dommini Linux - General 0 12-03-2003 03:48 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration