原来硬盘是80G,现在新增加80G
步骤:
1.查看当前硬盘分区情况:
linux-7q8i:~/Desktop # fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e892c
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sda2 263 2221 15735667+ 83 Linux
/dev/sda3 * 2222 9729 60308010 83 Linux
2.将新硬盘接上,启动系统
linux-7q8i:~/Desktop # fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e892c
Device Boot Start End Blocks Id Syst