4

I am a new user for ubuntu and my hard disk had been formatted I need to create a new partition to copy my backup on

1 Answers1

2

To do it you can use the default GUI application found in your system. from your dash search for disks.

enter image description here

Another great application is to use Gparted. you can install it using

sudo apt-get install gparted 

enter image description here


If you want to do it GLI

sudo fdisk /dev/sdX

press m then enter. this will print the help message.

Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Now to create a new partition press n

Partition type:
   p   primary (1 primary, 0 extended, 3 free)
   e   extended

press p for primary or e for extended...

complete the procedure then when you finish press w to save and exit.

Maythux
  • 84,289