How do you un-partition?

P!rate

Move Like a MoFo
Joined
Mar 16, 2009
Messages
6,073
I have 1.5 tb, and i partionened for ubuntu, but Im instead going to but ubuntu on my laptop, so yea, i have a 1.3tb and a 200gb, pissing me off, i have no data on it yet, so how would i unpartition?
 
You can select "manually partition" in the Ubuntu installer, and then delete the partition there.
 
Oh, I see. You can use a livecd like GParted to delete the Ubuntu partition and expand the NTFS partition to take up the whole drive. This tool may be available on the Ubuntu disk; boot from it, start a terminal, and type "gparted". If it doesn't start properly, try "sudo gparted", and if that fails download the GParted disk and use that. It should be obvious how to delete the Ubuntu partition and resize the other one.
 
Use any decent partition manager util. Parted Magic is supposed to be a pretty good LiveCD for it. I think Windows Disk Management still sticks its head in the sand for other OS's filesystems, but fdisk should be able to wipe everything if you just want to start over.
 
on linux or a live cd you can do:

cfdisk -z /dev/sdX

(/dev/sdX being the drive letter) Once that is done you can chose write and it will write a blank partition table to the drive.
 
or on Linux do:

dd if=/dev/zero of=/dev/sdX bs=512 count=1

Zeros the first 512 bytes, where the partition table is.
 
Back
Top