LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-09-2007, 09:52 AM   #1
cha0sAD
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
Problems removing ubuntu


I installed linux (kubuntu version 6.06) a while back, I have only used it a couple of times. Does anyone know how I can remove kubuntu and the grub as well.

I tried removing it in Windows, but I got an error on boot saying something about the grub could not be found, so I had to reinstall linux again which took an even larger chunk off my hard drive.

Now I am to afraid to remove the partition whilst running linux incase the same thing happens again plz forgive me I am a total noob when it comes to linux and I don't have a clue about unix command syntax

I would really love to get the disk space back much help would be appreciated thnx.
 
Old 03-09-2007, 10:03 AM   #2
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
I haven't done this myself, but there appears to be a workable solution towards the bottom of this post:

http://www.ntcompatible.com/How_to_r...er_t28242.html

Hope this helps.
 
Old 03-09-2007, 10:08 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
You really should be keeping Kubuntu and removing Windows---oh well...

If you simply delete the Linux partition then you lose GRUB's configuration file--that is probably what caused the error you saw.

You can use just about any partition editor to remove the Linux partition(s). If your Linux installer is a "live CD", you can boot from that and remove the partitions from there.** And I think you said that you can remove the partitions from Windows.

You will then need to boot from your Windows intall disk---rescue mode, and run "fix mbr" to put back the Winodws bootloader.



**If there is no GUI tool, open a terminal and type fdisk -l. This will show you all your partitions. Let's assume you have one IDE drive--you will see several entries with hdaX, where X is the partition #. Now do fdisk /dev/hda. Enter "p" to list the partitions, and then "d" for delete. enter the partition number to be deleted. When done, enter "w" to save the changes and exit.
 
Old 03-09-2007, 11:22 PM   #4
cha0sAD
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
You really should be keeping Kubuntu and removing Windows---oh well...
lol I thought I'd get that reply, and when my new PC arrives in may there should be enough room on my HDD for a *nix OS might try gnome next time wasn't to sure about the KDE interface found it to be a bit buggy in places. also I could not get an internet connection when I booted from the HDD yet it worked perfectly booting from the live cd.

Quote:
If you simply delete the Linux partition then you lose GRUB's configuration file--that is probably what caused the error you saw.

You can use just about any partition editor to remove the Linux partition(s). If your Linux installer is a "live CD", you can boot from that and remove the partitions from there.** And I think you said that you can remove the partitions from Windows.

You will then need to boot from your Windows intall disk---rescue mode, and run "fix mbr" to put back the Winodws bootloader.



**If there is no GUI tool, open a terminal and type fdisk -l. This will show you all your partitions. Let's assume you have one IDE drive--you will see several entries with hdaX, where X is the partition #. Now do fdisk /dev/hda. Enter "p" to list the partitions, and then "d" for delete. enter the partition number to be deleted. When done, enter "w" to save the changes and exit.
OK thnx once again just made a boot cd and will try
 
Old 03-10-2007, 01:30 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,748

Rep: Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971
You don't need to make a boot CD - just use your XP (install) CD.
BTW the command is fixmbr (no imbedded space).
 
Old 03-10-2007, 05:51 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by syg00
You don't need to make a boot CD - just use your XP (install) CD.
BTW the command is fixmbr (no imbedded space).
OOOPS!!!! That's what happens when you get involved with Linux---you forget all the Windows stuff...

embedded, not imbedded---So there!!!
 
  


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
Problems getting back to XP after removing Ubuntu Geekasaur Linux - Newbie 3 01-17-2007 06:54 AM
Removing Ubuntu Correctly Gutya Linux - General 5 09-02-2006 02:56 PM
MBR recovery problems after removing ubuntu, i have been very stupid! peter rus Linux - Software 11 02-17-2006 07:55 AM
Removing Ubuntu oneclu Ubuntu 3 01-14-2006 01:24 PM

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

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