|
作者 Sonia
|
Fdisk指令是以互動是文字介面來操作會顯示分割表。
[root @root / ]# fdisk /dev/hda 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):
|
| 指令 | 說明 |
|---|
a | 設定由那個分割區開機 | d | 刪除一個分割區。fdisk會提示你鍵入欲刪除的分割區編號。 | l | 列出以知的分割區類型,例如linux, windows, nfs, FreeBSD兼/td> | m | 提供一份簡要的命令輔助選單 | n | 新增分割區。fdisk會提示你輸入分割區類型(主要,延伸,或邏輯)。對Primary而言,fdisk會要求你輸入分割區編號(1-4),對logical而言,fdisk 會自動為你選下一個邏輯分割區編號。接著提示你輸入分割區的開頭磁柱(它會提供預設的給你,所以看不懂就直接按enter)。最後,輸入此分割區的大小,如+300M表示給此分割區300MB的空間。 | p | 顯示目前欲分割的硬碟的分割表。你做的任何更動會顯示出來,但未必已經將變更寫入磁碟.,除非輸入w | q | 分割時有任何動錯錯誤,可隨時輸入q跳出!! | w | 將變更的資料寫入磁碟。請特別注意,一定要確定分割是正確的且是你想要的再寫入,否則後果不堪設想! | |
|
最後更新 ( 2006/03/06, Monday )
|