PDA

View Full Version : [ubuntu] delete or merge partitions in ubuntu



roflatlife
May 27th, 2008, 09:15 PM
hey guys
im running ubuntu 8.04 now and i installed windows xp on virtualbox and it works like a charm.
im dualbooting between ubuntu and windows vista and i want to get rid of windows vista. is there anyway to format my vista partition in ubuntu and then merge it with my ubuntu partition?
thanks =D

eriqjaffe
May 27th, 2008, 09:23 PM
http://gparted.sourceforge.net/livecd.php

You can also do it from the Ubuntu LiveCD, but I don't see the point in booting an entire Desktop OS for one task. ;)

sayakb
May 27th, 2008, 09:28 PM
No need for the gparted liveCD. Just install gparted in Ubuntu

sudo apt-get install gparted
And delete the Vista partition. Do not create a new one, and select "Extend" with the Ubuntu partition.
Also, edit the /boot/grub/menu.lst file to remove the "Vista/Longhorn loader" entry.

civillian
May 27th, 2008, 09:30 PM
My advice would just be to use the ubuntu liveCD, since you already have one since youre using ubuntu and doesnt require any extra downloading!
Although it would take longer to boot, i think the pros outweigh the one con ;)

fluffman86
May 27th, 2008, 09:45 PM
the gparted download is less than 50mb, and it's pretty much guarenteed to work. I've had trouble resizing partitions with the ubuntu cd, especially on older systems. gparted seems faster, too.

forestpixie
May 27th, 2008, 09:50 PM
select "Extend" with the Ubuntu partition.That is only possible if you can unmount the partition you wish to extend - if the op wants to extend the existing ubuntu partition they will have to be unmounted - hence the need for the livecd in one form or another - (or even to use partedmagic instead)

I have had problems with some gparted versions.

Edit -
the gparted download is less than 50mb...

+1

sayakb
May 27th, 2008, 09:55 PM
That is only possible if you can unmount the partition you wish to extend - if the op wants to extend the existing ubuntu partition they will have to be unmounted - hence the need for the livecd in one form or another - (or even to use partedmagic instead)

Okay.. right.. got it! ;)

Duck2006
May 27th, 2008, 09:58 PM
Or you can use parted magic to do it with.

http://partedmagic.com/wiki/PartedMagic.php

Some reading on partitioning.

http://partedmagic.com/wiki/PartedMagic.php?n=PartedMagic.UsingGParted

forestpixie
May 27th, 2008, 10:02 PM
Or you can use parted magic to do it with.

http://partedmagic.com/wiki/PartedMagic.php

Some reading on partitioning.

http://partedmagic.com/wiki/PartedMagic.php?n=PartedMagic.UsingGParted

I've been using that - I like being able to use firefox when in there