10.10: GParted Partition Editor

Asked by peter

Hi

If I call GParted Partition Editor, I have 3 partitions:

/dev/sfa1 ext4
/dev/sda2 extended
    /dev/sda5 linux-swap

The only thing I can do is, I can click Device and then Create Partition Table. But this will erase all data on the entire disc /dev/sda.

Can I create a new partition without loosing all my data? Thanks in advance.
Peter

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gparted Edit question
Assignee:
No assignee Edit question
Solved by:
peter
Solved:
Last query:
Last reply:
Revision history for this message
marcus aurelius (adbiz) said :
#1

do the partitions occupy all the space on your hard drive?
if they do, you'll need to resize (shrink) them to make space for new partitions
you can only have a max of 3 primary partitions and 1 extended partition. however, you can make as many partitions as you want inside the extended partition

Revision history for this message
peter (peter-neuweiler) said :
#2

Yep, the partitions occupy all the space on my harddisk.

How can I shrink a partition? I don't have this entry in one of the menus.

Thanks a lot.
Peter

Revision history for this message
Andree (dreewill-deactivatedaccount) said :
#3

you cant change the partition if it is mounted. so easiest way would be to boot from a live cd -> start gparted -> mark the partition you want to change -> choose partition from menu -> choose resize/move

then you should be able to resize and create new partitions.

Revision history for this message
peter (peter-neuweiler) said :
#4

Thanks.

Ok, I boot from a Live CD. And then I have to choose a possibility, where I can decant commands.

I tried start gparted in a terminal and got the error: Unknown job: gparted. How can I start gparted in a terminal or in a command line?

Thanks.
Peter

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Make sure your backups are up to date before manipulating the partitions

Revision history for this message
Andree (dreewill-deactivatedaccount) said :
#6

i guess you need to install it first.

you can do so by open up a terminal and type:

sudo apt-get install gparted

after that you can open it via terminal with the following command:

gksudo gparted

i don't know whether you really need sudo in a live environment. if this doesn't work try the same without sudo and gksudo.

@actionparsnip important hint :-)

Revision history for this message
peter (peter-neuweiler) said :
#7

Thanks for the hint. It runs with gksudo. So I guess, my problem has solved.
Peter