<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Trucklover</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Trucklover"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Trucklover"/>
	<updated>2026-04-10T21:26:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Fedora-setup-recommendation&amp;diff=10063</id>
		<title>Fedora-setup-recommendation</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Fedora-setup-recommendation&amp;diff=10063"/>
		<updated>2010-03-20T23:42:43Z</updated>

		<summary type="html">&lt;p&gt;Trucklover: spelling error&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* '''NO LVM''': No need to use LVM (if you know what that is). That may help once we have support for it, however, for the time being, it complicates things sometimes (unless you know what you are doing).&lt;br /&gt;
* '''One partition''': Use a single partition for the root directory and one for swap (or if you know how to make swap to a file after install, just one partition will do).&lt;br /&gt;
* '''Static IP''': Use a statically configured IP address: 192.168.1.10 with 255.255.255.0 subnet mask, typically.  Remember to also jot down other network settings such as gateway and DNS server IP addresses before you start.&lt;br /&gt;
* '''SSH access''': For debug, we enable ssh only through our routers, and [[ssh-ports|open port 2222, forwarding it to port 22 in the HDA]]&lt;br /&gt;
* '''Runlevel 3''': You may want to not start graphics (X windows and window managers, etc.) all the time to make the machine faster. In that case, make sure /etc/inittab has a line like this&lt;br /&gt;
&lt;br /&gt;
            id:3:initdefault:&lt;br /&gt;
* i.e. with a 3 in it, '''not''' with a 5 in it. This sets the default runlevel to 3, which does not have X by default.&lt;br /&gt;
* '''Media drives''': if you want media in separate drives, set them up to mount in /var/hda/files (or subdirectories of that directory, music/ movies/, etc.)&lt;br /&gt;
&lt;br /&gt;
== Running Headless ==&lt;br /&gt;
&lt;br /&gt;
To run headless (no keyboard monitor or mouse):&lt;br /&gt;
&lt;br /&gt;
* You may want to not start graphics (see Runlevel 3 above)&lt;br /&gt;
* It's up to your BIOS to not complain if there is no keyboard. You have to set it that way&lt;br /&gt;
* Plan for power failures. Some BIOSes also will restore power a) always, or b) to the last state (if it was on it will power it on, if not it will not power it on). Do what you want depending on your circumstances&lt;br /&gt;
&lt;br /&gt;
The way to test this is like this:&lt;br /&gt;
&lt;br /&gt;
* Set your settings per the above&lt;br /&gt;
* Boot without a keyboard and *with* monitor&lt;br /&gt;
* Power up like that. Make sure it powers up fine&lt;br /&gt;
* When all it's good, remove the monitor&lt;br /&gt;
* If you are brave, simulate a power failure by yanking the power cord. Then replace it.&lt;br /&gt;
&lt;br /&gt;
To access the server, use ssh and [[VNC]], and maybe remote desktop.&lt;/div&gt;</summary>
		<author><name>Trucklover</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Adding_a_second_hard_drive_to_your_HDA&amp;diff=8179</id>
		<title>Adding a second hard drive to your HDA</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Adding_a_second_hard_drive_to_your_HDA&amp;diff=8179"/>
		<updated>2010-02-10T10:55:19Z</updated>

		<summary type="html">&lt;p&gt;Trucklover: corrected misspelled word and corrected grammar&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IMPORTANT NOTES:&lt;br /&gt;
&lt;br /&gt;
* This is an '''advanced''' howto on how to add a drive to your HDA&lt;br /&gt;
* This page 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 you find any issues that need to be corrected&lt;br /&gt;
* Amahi cannot be held responsible for any data breakage or destruction 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&lt;br /&gt;
&lt;br /&gt;
=Quickstart=&lt;br /&gt;
A secondary hard drive (fat32, ntfs, etc) can be added for additional storage in your Amahi HDA.&lt;br /&gt;
&lt;br /&gt;
First thing's first, make sure your drive is '''detected''' by the BIOS, connected properly and '''formatted''' properly. Once the BIOS sees it, you need to have it partitioned.&lt;br /&gt;
&lt;br /&gt;
You can check this with the following command (run before and after connecting the (USB) disk):&lt;br /&gt;
&lt;br /&gt;
         dmesg&lt;br /&gt;
&lt;br /&gt;
You'll see something along the lines of&lt;br /&gt;
&lt;br /&gt;
         USB Mass Storage device found at ...&lt;br /&gt;
&lt;br /&gt;
followed by a line with a /dev/sd&amp;lt;x&amp;gt; device. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;run the diskmounter script: &amp;lt;code&amp;gt;root@localhost # hda-diskmount&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Answer &amp;quot;yes&amp;quot; to the prompt to make the drive world writable.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;install pmount if you get an error: &amp;lt;code&amp;gt;root@localhost # yum -y install pmount&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;try to run the script again: &amp;lt;code&amp;gt;root@localhost # hda-diskmount&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;reboot&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;check your /etc/fstab how the disk is mounted: &amp;lt;code&amp;gt;root@localhost # cat /etc/fstab&amp;lt;/code&amp;gt; (it will usually be the last line that's added). Edit it to where you want to mount it.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Complete walkthrough=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your new drive can be configured to mount permanently using the 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.&lt;br /&gt;
&lt;br /&gt;
* Make sure you have pmount installed: yum -y install pmount&lt;br /&gt;
* Execute the script as ''root'' and answer YES to the prompt to make the drive writable to all users.&lt;br /&gt;
* Once complete, reboot and the secondary drive should automatically mount.  &lt;br /&gt;
* As user ''root'', edit '''''/etc/fstab''''' to change location of shared ''//hda'' folders to the secondary drive. &lt;br /&gt;
* To run the diskmounter script, in the directory where the file is located, do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;hda-diskmounter&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This is what the script added for my drive:&lt;br /&gt;
 ''Added by diskmounter utility''&lt;br /&gt;
 ''/dev/sdb1 /var/hda/files vfat rw,user,fmask=0111,dmask=0000 0 0'' &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
If you get something similar like &amp;quot;Disk /dev/dm-0 doesn't contain a valid partition table&amp;quot; or &amp;quot;mount: unknown file system type 'lvm2pv'&amp;quot; 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 hda-diskmounter script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=If the script doesn't work for you=&lt;br /&gt;
&lt;br /&gt;
These instructions are adapted from [http://www.mjmwired.net/resources/mjm-fedora-f9.html#ntfs here]&lt;br /&gt;
&lt;br /&gt;
If you're planning to mount a NTFS disk, you'll need to make sure you have ntfs-3g, fuse and fuse libs all installed. If not, login as root and run:&lt;br /&gt;
&lt;br /&gt;
 $ yum install fuse fuse-libs ntfs-3g&lt;br /&gt;
&lt;br /&gt;
Then use fdisk to find the disk by running fdisk -l (this is a lower case L not a 1). You may have to give the path (/sbin/fdisk) to make it work.&lt;br /&gt;
&lt;br /&gt;
 $ /sbin/fdisk -l&lt;br /&gt;
&lt;br /&gt;
This should return the needed information about all your disks. Look out for your newly attached disk. In my case in among the results I can find:&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdb: 120.0GB 120034123776 bytes&lt;br /&gt;
255 heads, 63 sectors/track.... etc etc.&lt;br /&gt;
&lt;br /&gt;
I know my disk is 120GB so that's the right one. This tells us the name of the new disk which is &amp;quot;sdb&amp;quot; in my case. Running &lt;br /&gt;
  &lt;br /&gt;
 $ sudo /sbin/fdisk -lu /dev/sdb | grep NTFS&lt;br /&gt;
&lt;br /&gt;
..will give you a break down of partitions. In my case, there's just one partition, sdb1, so this is the partition I will mount. &lt;br /&gt;
&lt;br /&gt;
Now we can go on to create the mount points if needs be. But because my disk contains all my music, I want it to be mounted as if it were my local &amp;quot;Music&amp;quot; folder, so for me the mount point already exists. But if just want to access your disk easily you could just as easily mount it anywhere. Commonly mount points are put in either /mnt/ or /media/. It doesn't matter where - just be consistent when you are doing this. &lt;br /&gt;
To do this run these commands as root:&lt;br /&gt;
 $ cd /mnt/&lt;br /&gt;
 $ mkdir my_ntfs_disk&lt;br /&gt;
&lt;br /&gt;
Substituting my_ntfs_disk for whatever you want to call it. &lt;br /&gt;
&lt;br /&gt;
Now we can mount the disk in the desired location. Again as root run this command:&lt;br /&gt;
 $ mount /dev/sdb1 /mnt/my_ntfs_drive -t ntfs-3g -r -o umask=0222&lt;br /&gt;
&lt;br /&gt;
This command will make the mounted drive read only. That's great if that's what you want, but for me, since I want to save my music there, I need it to be read and writeable. For this you'll use:&lt;br /&gt;
&lt;br /&gt;
 $ mount /dev/sdb1 /mnt/my_ntfs_drive -t ntfs-3g -rw -o umask=0000&lt;br /&gt;
&lt;br /&gt;
or in my case&lt;br /&gt;
&lt;br /&gt;
 $ mount /dev/sdb1 /home/USERNAME/Music -t ntfs-3g -rw -o umask=0000&lt;br /&gt;
&lt;br /&gt;
because I want it mounted in my &amp;quot;Music&amp;quot; file.&lt;br /&gt;
&lt;br /&gt;
Remember in both of these commands you'll need to substitute sdb1 with whatever the partition name/number is on your machine. And in the second command USERNAME is your linux username.&lt;br /&gt;
&lt;br /&gt;
If you now go to your desktop, you should see the drive is mounted there. Click on it to see the contents are there. If you've mounted it as say So far so good? Ok, let's continue.&lt;br /&gt;
&lt;br /&gt;
What you've achieved so far is a temporary mounting of the drive/partition. That shows it can be done but you'll need to make it permanent otherwise when you reboot it'll disappear again. For this you need to edit fstab with your favourite text editor. As root run:&lt;br /&gt;
&lt;br /&gt;
 $ gedit /etc/fstab&lt;br /&gt;
&lt;br /&gt;
A text editor window will pop up. Enter this on the last line:&lt;br /&gt;
&lt;br /&gt;
/dev/sdb1   /mnt/my_ntfs_drive     ntfs-3g    ro,defaults,umask=0222 0 0&lt;br /&gt;
&lt;br /&gt;
* change '''ro to rw''' and '''umask=0222 to umask=0000''' if you want it to be writable.&lt;br /&gt;
&lt;br /&gt;
You'll need to do this for every partition, so if you have several partitions on sdb, the last lines of you fstab may look something like this&lt;br /&gt;
&lt;br /&gt;
/dev/sdb1   /mnt/my_ntfs_drive_C     ntfs-3g    ro,defaults,umask=0222 0 0&lt;br /&gt;
/dev/sdb2   /mnt/my_ntfs_drive_D     ntfs-3g    ro,defaults,umask=0222 0 0&lt;br /&gt;
/dev/sdb3   /mnt/my_ntfs_drive_E     ntfs-3g    ro,defaults,umask=0222 0 0&lt;br /&gt;
&lt;br /&gt;
When you reboot, you should find your data where you want it. &lt;br /&gt;
&lt;br /&gt;
= Guide to Adding a Hard Drive to Fedora =&lt;br /&gt;
&lt;br /&gt;
This is a good guide, for advanced users, to adding a hard drive to Fedora:&lt;br /&gt;
&lt;br /&gt;
 http://fedoranews.org/tchung/storage/&lt;br /&gt;
&lt;br /&gt;
And a good fedora 9 guide here, including a section on adding a hard drive here:&lt;br /&gt;
&lt;br /&gt;
http://www.mjmwired.net/resources/mjm-fedora-f9.html&lt;br /&gt;
&lt;br /&gt;
=Partitioning a Brand New Disk=&lt;br /&gt;
&lt;br /&gt;
If you have a blank, unpartitioned, drive, you have to 1) partition it and 2) format it.&lt;br /&gt;
&lt;br /&gt;
If you want to move this disk to windows machines, you may want to format it as NTFS. To do this, it's best if you do that in Windows.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make a partition, it's best to use (as root)&lt;br /&gt;
&lt;br /&gt;
            gparted&lt;br /&gt;
&lt;br /&gt;
in your fedora desktop, as it's graphical and will help make decisions.&lt;/div&gt;</summary>
		<author><name>Trucklover</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Amahi_on_a_VM&amp;diff=8173</id>
		<title>Amahi on a VM</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Amahi_on_a_VM&amp;diff=8173"/>
		<updated>2010-02-10T10:49:44Z</updated>

		<summary type="html">&lt;p&gt;Trucklover: deleted double typed words&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing Amahi on a Virtual Machine (VM) is not too different than installing on real hardware. Many people have done it with Virtualbox, VMWare Server, VMWare Fusion and VMWare Workstation.&lt;br /&gt;
&lt;br /&gt;
The only real difference is in finding out what the network settings are, because we recommend you run the VM in NAT mode if you are testing things out, i.e. unless you plan to use the VM to serve other systems.&lt;br /&gt;
&lt;br /&gt;
= Install Fedora, Find the Network Settings =&lt;br /&gt;
&lt;br /&gt;
It's recommended that you&lt;br /&gt;
&lt;br /&gt;
* Install fedora first, in NAT mode preferably, so that you have the same network settings.&lt;br /&gt;
* Find out the settings inside your VM, then program them in a profile for this HDA in http://www.amahi.org. To do this use&lt;br /&gt;
** ifconfig to see your network address&lt;br /&gt;
** route -n to see your gateways' address&lt;/div&gt;</summary>
		<author><name>Trucklover</name></author>
		
	</entry>
</feed>