PDA

View Full Version : [ubuntu] How to delete ubuntu



th081
August 28th, 2011, 02:37 PM
Hello,

I have a laptop dual booting windows 7 and Ubuntu. The hard drive of the laptop has three partitions, Windows, Ubuntu (working) and Ubuntu (that does not work).

What i want to do is delete the two partitions with Ubuntu create one big one then reinstall Ubuntu. I don't have the original windows disk as it was preinstalled, i have created a recovery disk but it does not give the option to delete the ubuntu partitions /reinstall windows. Windows is working fine, could i format the two ubuntu partitions through windows then reinstall ubuntu. Would that cause an issue with the loader that appears at the start.

ideally i want to delete the loader so that it boots straight into windows then delete and reinstall ubuntu.

thanks for any help

dino99
August 28th, 2011, 02:42 PM
follow this howto for installing, burn partedmagic on cd or use a usb-stick, to boot on it, then format these partitions.

http://ubuntuforums.org/showpost.php?p=10161428&postcount=2

cbowman57
August 28th, 2011, 03:03 PM
Unless you really just want to reinstall Ubuntu all you'd have to do is boot the liveCD, use Gparted to delete the partition of the non-working install, then enlarge the working Ubuntu partition.

Run sudo update-grub when you boot back into Ubuntu and everything should be fine.

Sef
August 28th, 2011, 05:42 PM
Back up your operating system first with clonezilla (http://clonezilla.org). No 100% guarantees exist that all will go well.

cbowman57
August 28th, 2011, 05:54 PM
Back up your operating system first with clonezilla (http://clonezilla.org). No 100% guarantees exist that all will go well.

Very good advice, we rarely think about having a method to backup & restore, until we need it. By then it's too late. :)