Tuesday, May 14, 2013

debian Add a second hard disk

fdisk -l

cfdisk /dev/sdb

mkfs.ext3 /dev/sdb1

mkdir /disk2
mount -t ext3 /dev/sdb1 /disk2

/etc/fstab
/dev/sdb1 /disk2 ext3 defaults,errors=remount-ro 0 1 

No comments:

Post a Comment