Cara memformat usb flashdisk dilinux
Kebetulan saya pakai fedora7, tetapi command-nya sama u/ rh9 / fc / distro linux yg lain
1. Masukkan usb flashdisk (jk termount di unmount dulu)
dari console ketikkan su (u/ masuk ke level root)
2. Cari tahu didevice apa usb tsb dikenal
[root@h4ppy-fc7 happy]# /sbin/fdisk -l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 21 168651 6 FAT16
/dev/sda2 22 1487 11775645 83 Linux
/dev/sda3 1488 4730 26049397+ 83 Linux
/dev/sda4 4731 4865 1084387+ 5 Extended
/dev/sda5 4731 4861 1052226 82 Linux swap / Solaris
Disk /dev/sdc: 239 MB, 239075328 bytes
16 heads, 32 sectors/track, 912 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 911 233069+ b W95 FAT32
berarti usbnya dikenal di /dev/sdc1
3. Format usb tsb
[root@h4ppy-fc7 happy]# /sbin/mkfs.vfat -F 16 /dev/sdc1
mkfs.vfat 2.11 (12 Mar 2005)
artinya ; jenis partisi vfat & fat sizenya fat16
4. sudah berhasil memformat usb tsb
u/ mencari tahunya ; mount dulu usb tsb, ketikkan df u/ melihat size free-nya usb
[root@h4ppy-fc7 happy]# mount -t vfat /dev/sdc1 /mnt/data
[root@h4ppy-fc7 happy]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 11406564 4768768 6049016 45% /
/dev/sda3 25233364 19439808 4491088 82% /home
tmpfs 241236 0 241236 0% /dev/shm
/dev/sdc1 232824 0 232824 0% /mnt/data
Selamat mencoba....
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar