由于我的主板是带Hi Point IDE RAID的磐英主板,所以在新增硬盘时要相对修正。
- fdisk /dev/hdg
- n (add new partitation)
- p (primary)
- 1 (partitation letter 1)
- w (write the change and exist fdisk)
- format with ext3 (ext2 with journal)
mkfs -t ext3 /dev/hdg1
- mount
- mkdir /home/data
- echo "/dev/hdg1 /home/data ext3 default 1 2" >> /etc/fstab
- mount -a