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

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
 
'''ADD MORE STORAGE (SECONDARY HARD DRIVE)'''
 
'''ADD MORE STORAGE (SECONDARY HARD DRIVE)'''
  
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.   
+
A secondary hard drive (fat32, ntfs, etc) can be added for additional storage and configured to mount permanently using the [media.ubuntu-nl.org/scripts/diskmounter 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.   
 
As user ''root'', edit '''''/etc/fstab''''' to change location of shared ''//hda'' folders to the secondary drive.   

Revision as of 01:45, 16 July 2008

ADD MORE STORAGE (SECONDARY HARD DRIVE)

A secondary hard drive (fat32, ntfs, etc) can be added for additional storage and configured to mount permanently using the [media.ubuntu-nl.org/scripts/diskmounter 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