Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.