Cara Format USB Flashdisk Ubuntu via Terminal

Berikut cara memformat USB Flasdisk via Terminal:

1. Tentukan letak device USB Flashdisk Anda.

Setelah menancapkan USB Flashdisk anda lakukan perintah berikut,

root@spydeeyk-r00m:~# fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbdaf6c0a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       12749   102297600    7  HPFS/NTFS
/dev/sda3           12750       17611    39054015   83  Linux
/dev/sda4           17612       30401   102735675    5  Extended
/dev/sda5           17612       18097     3903763+  82  Linux swap / Solaris
/dev/sda6           18098       30401    98831848+  83  Linux

Disk /dev/sdb: 4004 MB, 4004511744 bytes
116 heads, 51 sectors/track, 1322 cylinders
Units = cylinders of 5916 * 512 = 3028992 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1323     3910640    b  W95 FAT32
root@spydeeyk-r00m:~#

USB Flasdisk saya berada di /dev/sdb1, letak device usb flashdisk anda bisa saja berbeda dengan saya.

2. Unmount USB Flashdisk Sebelum diformat.

root@spydeeyk-r00m:~# umount /dev/sdb1


3. Format USB Flashdisk.

mkfs.vfat -n 'Label' -I device

Contoh:

root@spydeeyk-r00m:~# mkfs.vfat -n 'spydeeyk' -I /dev/sdb1


Selamat Mencoba.

Tested on lucid (10.04 LTS)

0 comments:

Post a Comment