Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
Your new drive can be configured to mount permanently using the [http://wiki.amahi.org/images/c/c6/Diskmounter.sh 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.
$ chmod 755 Diskmounter.sh
After executing that command you should be able to execute the Diskmounter.sh script.
 
If you get "./Diskmounter.sh: line 48: pmount: command not found" try running the following without the commas:
 
$ yum -y install pmount
Then try again executing 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 script.
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits