用fdisk创建分区的方法
linux的服务器一般都是没有图形界面的, 所以如果我们添加了新硬盘需要分区就只能使用fdisk在文本界面操作了.
这篇文章就是演示一个完整的分区过程,下面开始:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$fdisk /dev/hdb //准备为 hdb 建立分区
The number of cylinders for this disk is set to 20805.
There is nothing wrong with that, but this is larger than 1024,
and cou