
root@Cacti ~]# fdisk /dev/sda
The number of cylinders for this disk is set to 14593.
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
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14262420972857+ 83 Linux
/dev/sda326252885 2096482+ 82 Linux swap / Solaris
/dev/sda42886 14593940445105 Extended
/dev/sda52886 1459394044478+ 83 Linux
输入a可以设置哪个分区为活动分区。
管理Linux系统中的硬盘设备最常用的方法就当属是fdisk命令了,格式为:“fdisk [磁盘名称]”,具体可以看看这篇文章:http://www.linuxprobe.com/chapter-06.html#65另外,更多关于Linux系统 *** 作命令教程,楼主可以百度《Linux就该这么学》看看,相信会有收货的。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)