1

I have installed ubuntu 12.04 lts I have 500 gb single partitioned hard disk on which this ubuntu is installed

now i want to create two partition but when I try using gparted it is only showing unmount option(all other options are grey) so how can i do it without losing any data

user247166
  • 11
  • 3
  • If you used LVM, then it will be "easy" (if you understand LVM). If you did not use LVM, it's dangerous because most "partioners" do not know anything about the data on your disk and they will just cut it in half as required to create your partitions. At least that's how it was before. Maybe gparted does a good job on that... – Alexis Wilke Feb 11 '14 at 19:00
  • is local volume manager is more effective than gparted in his job??? – user247166 Feb 11 '14 at 19:12
  • LVM knows how to handle existing data so it won't lose data (although it is somewhat complicated to use, but I think there is a GUI for it.) Either way, if you have data you do not want to lose, as mentioned by Rmano, you should back it up. – Alexis Wilke Feb 11 '14 at 19:18
  • LMV is not there on ubuntu software Center – user247166 Feb 11 '14 at 19:53
  • You normally decide to use LVM when you install your system. Retrofitting it is quite complex. See https://wiki.ubuntu.com/Lvm and https://help.ubuntu.com/10.04/serverguide/advanced-installation.html (scroll down to find LVM). It is quite advanced material; it is not just a program you install. – Rmano Feb 11 '14 at 20:25

2 Answers2

3

You can't repartition a partition which is in use. So

1) backup your data (1);

2) repartition your disk with gparted starting the system with a LiveUSB or LiveDVD (there is a gparted LiveCD somewhere around).

(1) In theory the resizing of a modern ext4 partition should be safe and without data loss. But when doing such kind of highly potentially disruptive operations, a backup is fundamental.(2)

(2) well... I have daily backup even when I do almost nothing. YMMV...

Rmano
  • 31,947
1

You can resize your single HDD partition only through Gparted live disk or Ubuntu live disk.

Avinash Raj
  • 78,556