- Cek harddisk yang akan di partisi$ fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000571d8Device Boot Start End Blocks Id System
/dev/sda1 2048 293177343 146587648 83 Linux
/dev/sda2 293177344 976768064 341795360+ 83 Linux
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000200d
Device Boot Start End Blocks Id System
/dev/sdb1 2048 3999743 1998848 82 Linux swap / Solaris
/dev/sdb2 * 3999744 234440703 115220480 83 Linux - Cek tabel partisi dalam harddisk
$ fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000571d8
Device Boot Start End Blocks Id System
/dev/sda1 2048 293177343 146587648 83 Linux
/dev/sda2 293177344 976768064 341795360+ 83 Linux
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000200d
Device Boot Start End Blocks Id System
/dev/sdb1 2048 3999743 1998848 82 Linux swap / Solaris
/dev/sdb2 * 3999744 234440703 115220480 83 Linux - Memulai manajemen partisi
$ sudo fdisk /dev/sda
Command (m for help):
Tekan m untuk membaca perintah-perintah yang ada di fdisk
m lalu enter
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)
Sumber : Forum Ubuntu Indonesia
0 Response to "Cara Manajemen Partisi Fdisk Ubuntu Server"
Posting Komentar