Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
=Quickstart=
<ul><li>connect your disk</li>
<li>download the [http://wiki.amahi.org/images/c/c6/Diskmounter.sh diskmounter] script</li>
<li>run the following command on the script: <code>root@localhost # chmod 755 Diskmounter.sh</code></li>
<li>run the script: <code>root@localhost # ./Diskmounter.sh</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.sh</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>
</ul>
 
=Complete walkthrough=
A secondary hard drive (fat32, ntfs, etc) can be added for additional storage in your Amahi HDA. First thing's first, make sure your drive is connected properly and detected by the bios.
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 script.
 
''So the steps in a logical order:''
<ul><li>connect your disk</li>
<li>download the [http://wiki.amahi.org/images/c/c6/Diskmounter.sh diskmounter] script</li>
<li>run the following command on the script: root@localhost # chmod 755 Diskmounter.sh</li>
<li>run the script: root@localhost # ./Diskmounter.sh</li>
<li>install pmount if you get an error: root@localhost # yum -y install pmount</li>
<li>try to run the script again: root@localhost # ./Diskmounter.sh</li>
<li>check your /etc/fstab how the disk is mounted: root@localhost # cat /etc/fstab (it will usually be the last line that's added).</li></ul>
33

edits