LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-08-2007, 01:23 AM   #1
Nived87
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
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

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

Code:
fixmbr
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
Lordandmaker
Member
 
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
Code:
#hiddenmenu
(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:
Code:
## 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)
hiddenmenu
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
jymmi
Member
 
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
 
  


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


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