Changes

From Amahi Wiki
Jump to: navigation, search
Create a bootable usb drive using [http://www.freedos.org/freedos/files/ FreeDOS] and [http://unetbootin.sourceforge.net/ unetbootin], then copy wdidle.exe onto the usb drive. Boot up your Amahi box to FreeDOS and enter the following commands:
{{Code| c:\ wdidle3 /R wdidle3 /S300}}
This cd's you to the usb drive's root, then we run wdidle3 /R to display the current drive status, then we run wdidle3 /S300 to set the park time to 5 minutes. Alternatively you could run wdidle3 /D to completely disable the parking.
If you have a new hard drive you can add it now. Here are some instructions to use for 4TB HDD using partedto make sure the alignment is right. Example here is with a new HDD that appears as /dev/sdb (read here: http://rainbow.chard.org/2013/01/30/how-to-align-partitions-for-best-performance-using-parted/)
{{Code|Code = parted /dev/sdb}}
at the parted prompt
{{Code|Code = mklabel gpt mkpart primary ext4 4096s 100% align-check opt 1 quit}}
Formating the drive:
{{Code|Code = mkfs.ext4 -L greyhole01 /dev/sdb1}}
Mounting the drive:
{{Code|Code = hda-diskmount}}
Using the output from the above command, first backup /etc/fstab, and then add to /etc/fstab.
An example (and only an example!) of what needs to be added to /etc/fstab all on one line:
'''UUID=e68bc54a-b795-4ce0-802f-213f4ab71e60 /var/hda/files/drives/drive1 ext4 defaults 1 2'''
12,424

edits