Tentang Fdisk

contoh beberapa perintah FDISK

[root@dj-avu root]# fdisk -l

[root@dj-avu root]# fdisk /dev/hda

The number of cylinders for this disk is set to 1247.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs

Command (m for help): p

Disk /dev/hda: 10.2 GB, 10262568960 bytes
255 heads, 63 sectors/track, 1247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        13    104391   83  Linux
/dev/hda2            14       778   6144862+  83  Linux
/dev/hda3           779      1182   3245130   83  Linux
/dev/hda4          1183      1247    522112+   f  Win95 Ext’d (LBA)
/dev/hda5          1183      1247    522081   82  Linux swap

Command (m for help):
[root@dj-avu root]# fdisk /dev/hda1
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won’t be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): m
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)

Command (m for help):
di linux hardisk itu di namain hardisk pertama misal

hda(atau hardisk pertama 20 giga)

hdb(atau hardisk kedua 80 giga)

jadi milik penulis hanya ada satu hardisk jadi ya hanya ada hda sehingga saya pake command

fdisk -l       <<<< atau nge list partisi

nah jika akan delete partisi setelah ketik : m khan kita tahu command2 apa saja, setelah itu kita ketik d

contoh partisi dengan nomor 3

Command (m for help): d
Partition number (1-4): 3

untuk memastikan sudah sukses delete nya kita print lagih pake perintah

Command (m for help): p

setelah itu write partisi dan quit atau dengan perintah

Command (m for help): w

setelah itu restart system dan berdoa saja semoga semua berjalan dengan lancar

thanks to paman google dan antek2nya yang telah membantu saya menjadi cupu2 suka belajar. yuuuk

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s