Create Patition on Flashdisk in Ubuntu

Before create a partition, we must login as root. type



$ sudo su
$ fdisk-l

for the introduction of drives/partitions on the computer, usually if it is terpartisi then akan out sda1, sdb1, sdf1. Here I will add a flash disk partitions so that I 1000M/1G into 2 partitions with the size of the partition or division of the same 500m-500m.

(For example my flash disk here known as: /dev/sdb1) you have to adjust.

$ umount / dev/sdb1
$ fdisk/dev/sdb

Then follow the action below:
  • Select p to find out the existing partitions on the flash disk (showpartisi).
  • Select d to delete the existing partitions (delete partition).
  • Select p again to make sure the partition is removed, if the partition is still there or has not been erased repeat the above step.
  • Select n to the reset (new partition).
  • Select p primary partition for meilih
  • Select 1 to create the first partition (first partition).
  • Just hit enter (the default 1st cylinder).
  • Type +500 M to determine the size/partition size (partition size).
  • Select a partition to enable (active partition).
  • Select 1 to select the first partition.
  • Select a file to change the system partition (file system partition).
  • Select 6 to select FAT16 as the file system partition.
  • N to select the more (new partition).
  • Select p primary partition for options
  • Select 2 to create a second partition (second partition).
  • Just hit enter (the default cylinder).
  • Press enter again because the size/size of the rest of the first partition (default last cylinder).
  • Select w so that the partition can be read.
  • Type umount /dev/sdb1 partition unmounted first.
  • Type umount /dev/sdb2 unmounted both partitions.
  • Remove and insert flash disk to your computer.
Done..!!! and Happy Testing....!!

No comments:

Post a Comment

Please Comment...!!