Mounting a 2nd harddrive ------------------------ 2007-02-20 If drive already has partition and filesystem on it: 1. Put drive in machine and power up 2. su - 3. fdisk -l #to view what disk you need 4. mkfs.ext3 /dev/hdb1 -L /data # or use e2label /dev/hdb1 /data for labeling separately 5. vi /etc/fstab 6. insert new line LABEL=/data /data ext3 defaults 1 1 7. save /etc/fstab 8. mkdir /data 9. test using mount -a and double check at next reboot Mounting a Windows Share ------------------------ 1. Make a directory to mount to, such as /mnt/mydir 2. Edit /etc/fstab, your entry should look like: //host/share /mnt/mydir smbfs credentials=/path/to/.smbcred,gid=group,uid=user 0 0 3. Create .smbcred, it should look like: username = DOMAIN\USERNAME password = PASSWORD 4. mount -a (to test fstab) The credentials file contains the login information for the windows share. The gid and uid contain the permissions for the mount location (/mnt/mydir).