Difference between revisions of "Adding a second hard drive to your HDA"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
A secondary hard drive (fat32, ntfs, etc) can be added for additional storage and configured to mount permanently using the [/images/c/c6/Diskmounter.sh diskmounter] script (thanks to Dennis Kaarsemaker).   
+
A secondary hard drive (fat32, ntfs, etc) can be added for additional storage and configured to mount permanently using the [http://wiki.amahi.org/images/c/c6/Diskmounter.sh diskmounter] script (thanks to Dennis Kaarsemaker).   
  
 
* Execute the script as ''root'' and answer YES to the prompt to make the drive writable to all users.   
 
* Execute the script as ''root'' and answer YES to the prompt to make the drive writable to all users.   

Revision as of 20:36, 20 December 2008

A secondary hard drive (fat32, ntfs, etc) can be added for additional storage and configured to mount permanently using the diskmounter script (thanks to Dennis Kaarsemaker).

  • Execute the script as root and answer YES to the prompt to make the drive writable to all users.
  • Once complete, reboot and the secondary drive should automatically mount.
  • As user root, edit /etc/fstab to change location of shared //hda folders to the secondary drive.

This is what the script added for my drive:

Added by diskmounter utility
/dev/sdb1 /var/hda/files vfat rw,user,fmask=0111,dmask=0000 0 0 

I changed second path to /var/hda/files to enable all shared files to be stored on the secondary hard drive. This is the default path for //hda file storage system.