Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
 
IMPORTANT NOTES:
* This is an '''advanced''' howto on how to add a drive to your HDA
* This page needs may need a refresh to make sure it matches the new script called hda-diskmount, based on the old script. Please edit this page if as you walk through you find issues* Amahi cannot be held responsible for any data breakage or descrution arising from the use or misuse of this script. We provide it as a service in good will. You accept this automatically if you use the script
=Quickstart=
* To run the diskmounter script, in the directory where the file is located, do the following:
<code>./Diskmounter.shhda-diskmounter</code>
This is what the script added for my drive:
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.
If you get the following error "bash: ./Diskmounter.sh: Permission denied" try executing the following without the commas:  $ chmod 755 Diskmounter.sh After executing that command you should be able to execute the Diskmounter.sh script. If you get something similar like "Disk /dev/dm-0 doesn't contain a valid partition table" or "mount: unknown file system type 'lvm2pv'" its because you have LVM's that 'fdisk' can not recognize, (or something like that) its nothing to worry about if you get that when executed the Diskmounter.sh hda-diskmounter script.
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits