Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
IMPORTANT NOTES:
NOTE: this * This is an '''advanced''' howto on how to add a drive to your HDA* This page needs 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
=Quickstart=
followed by a line with a /dev/sd<x> device.
<ul><li>download the [http://wiki.amahi.org/images/c/c6/Diskmounter.sh diskmounter] script (use <code> wget ''url'' </code> if using ssh)</li><li>run the following command on the script: <code>root@localhost # chmod 755 Diskmounter.sh</code></li><li>run the diskmounter script: <code>root@localhost # ./Diskmounter.shhda-diskmount</code><br>
Answer "yes" to the prompt to make the drive world writable.</li>
<li>install pmount if you get an error: <code>root@localhost # yum -y install pmount</code></li>
<li>try to run the script again: <code>root@localhost # ./Diskmounter.shhda-diskmount</code></li>
<li>reboot</li>
<li>check your /etc/fstab how the disk is mounted: <code>root@localhost # cat /etc/fstab</code> (it will usually be the last line that's added). Edit it to where you want to mount it.</li>
Your new drive can be configured to mount permanently using the [http://wiki.amahi.org/images/c/c6/Diskmounter.sh hda-diskmounter] script (thanks to Dennis Kaarsemaker and Luigi Capriotti). You can use this for adding a new fixed (internal) disk or an external USB/FireWire disk.
* Make sure you have pmount installed: yum -y install pmount
* 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.
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits