PDA

View Full Version : [ubuntu] How to remove previously-installed Ubuntu partitions



yankeeDDL
February 9th, 2009, 10:12 PM
Hello again ...

after trying to fix my Ubuntu installation I decided to re-do it from scratch.
Inserter the CD and followed the normal installation flow.
When the installation completed I noticed that I have now 3 partitions on my drive:
- Windows XP (the "old" partition)
- Ubuntu 1st installation (corrupted: I want to delete it together with the corresponding swap)
- Ubuntu 2nd installation (clean: want to keep it).

Needless to say, I want to delete the "Ubuntu 1st installation" (both remove the partition and cleanup the Grub).
Would be nice to know also for when I get rid of Windows XP (I have installed VirtualBox on Ubuntu for those Win SW for which I can't find an equivalent in Linux).

I'm sure many have made the same mistake when re-installing ...

Thanks in advance!

Pumalite
February 9th, 2009, 11:05 PM
Use Gparted Live CD:
http://sourceforge.net/project/showfiles.php?group_id=115843&package_id=271779
Burn the iso to disk and boot from it.
Follow the Documentation:
http://gparted.sourceforge.net/documentation.php

yankeeDDL
February 10th, 2009, 09:11 AM
I will try. Thank you for the help.

yankeeDDL
February 10th, 2009, 04:56 PM
Use Gparted Live CD:
http://sourceforge.net/project/showfiles.php?group_id=115843&package_id=271779
Burn the iso to disk and boot from it.
Follow the Documentation:
http://gparted.sourceforge.net/documentation.php

Pumalite, one more question: how do I cleanup the Grub?
sudo gedit /boot/grub/menu.lst ????
Or is there a more ... orthodox way?

Pumalite
February 10th, 2009, 05:18 PM
You can fix your Windows MBR with your Installation Disk
You can also use Super Grub
You can have a new Grub by using available space and installing Ubuntu (Jaunty maybe)

yankeeDDL
February 10th, 2009, 05:42 PM
I don;t really need to "fix it": if I manually delete the partitions by using Gparted, Grub will still list those partitions at startup.
So -I suppose- I will need to delete the corresponding entries from Grub manually as well.