<?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=Cale250</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=Cale250"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Cale250"/>
	<updated>2026-05-01T11:32:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Adding_a_second_hard_drive_to_your_HDA&amp;diff=34471</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=34471"/>
		<updated>2011-02-22T01:27:28Z</updated>

		<summary type="html">&lt;p&gt;Cale250: added to specifically mention mac and gpt for guid drives&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;More hard drives can be added in your Amahi HDA for additional storage space.&lt;br /&gt;
&lt;br /&gt;
We'll detail how to add such hard drives, and how to put them to good use.&lt;br /&gt;
&lt;br /&gt;
=Important Notes=&lt;br /&gt;
&lt;br /&gt;
* This is an how-to on how to add additional drives to your HDA.&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;
* This page and script does not support GUID-partitioned drives (such as drives previously in a Mac or have GPT partition tables). You can find what your partition is like with &amp;lt;code&amp;gt;fdisk -l&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Make sure your drive is detected by Fedora=&lt;br /&gt;
&lt;br /&gt;
Open a Terminal, and type the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; background-color: #E6F2FF; margin: 0 1em;&amp;quot;&amp;gt;&lt;br /&gt;
  ls -1 /dev/disk/by-id/ | egrep -v &amp;quot;part|scsi&amp;quot;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look for the line that matches the hard drive you added.&lt;br /&gt;
&lt;br /&gt;
IDE and SATA hard drives will start with '''ata-''' and USB hard drives will start with '''usb-'''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Look for your hard drive model and serial number.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 [gb@hda ~]$ ls -1 /dev/disk/by-id/ | egrep -v &amp;quot;part|scsi&amp;quot;&lt;br /&gt;
 ata-Hitachi_HDS722020ALA330_JK1131YAGDU37V&lt;br /&gt;
 ata-ST31000528AS_6VP08W65&lt;br /&gt;
 ata-ST3750640A_3QD0LJN8&lt;br /&gt;
 ata-ST3750640A_5QD27A57&lt;br /&gt;
 ata-WDC_WD10EADS-00L5B1_WD-WCAU4C700358&lt;br /&gt;
 usb-ST310003_33AS_9E1CA6FFFFFF-0:0&lt;br /&gt;
 usb-ST375064_0A_2009031309E2-0:0&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Install prerequisites=&lt;br /&gt;
&lt;br /&gt;
[[Open Terminal as root|In a Terminal, as root]], type the following (two) commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
 yum -y install pmount fuse fuse-libs ntfs-3g gparted util-linux-ng&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Partition and format the hard drive=&lt;br /&gt;
&lt;br /&gt;
This step is optional, and should only be executed if you want to delete the content of your new hard drive, or if the hard drive has not yet been formatted.&lt;br /&gt;
&lt;br /&gt;
You should (unless you have a good reason not to) use GParted to partition and format your hard drive.&amp;lt;br/&amp;gt;&lt;br /&gt;
Not having X installed would qualify as a good reason! In such cases, either use SSH X11 Forwarding (Google that if you'd like to use this), or [[Adding_a_second_hard_drive_to_your_HDA#Using_cfdisk|use cfdisk]] from a [[Open Terminal as root|Terminal, as root]].&lt;br /&gt;
&lt;br /&gt;
You'll probably want to create a single partition, and format it as ''ext3''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Note that Windows can't read ext3 partitions, so if you want dual-boot Windows on your Amahi PC, or if you intend to connect this hard drive to a Windows computer later, you should format as NTFS instead, and you should do that on Windows before you connect the drive in your HDA.&amp;lt;br/&amp;gt;&lt;br /&gt;
Remember that using NTFS partitions on Linux will be slower that using ext3 partitions, so you should only use NTFS if you really need it.&amp;lt;br/&amp;gt;&lt;br /&gt;
How much slower: compare the blue bars (NTFS-3G) with the red bars (ext3) on [http://www.tuxera.com/products/tuxera-ntfs-commercial/performance/ this graph].&lt;br /&gt;
&lt;br /&gt;
To know what device (/dev/sdX) you need to partition and format, use the following command, in a [[Open Terminal as root|Terminal, as root]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 ls -l /dev/disk/by-id/&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the row corresponding to your hard drive, and look at the end of the line to identify the correct device to use.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&amp;lt;small&amp;gt;&lt;br /&gt;
 [gb@hda ~]$ ls -l /dev/disk/by-id/&lt;br /&gt;
 total 0&lt;br /&gt;
 lrwxrwxrwx 1 root root  9 2010-02-18 03:24  ata-Hitachi_HDS722020ALA330_JK1131YAGDU37V -&amp;gt; ../../sda&lt;br /&gt;
 lrwxrwxrwx 1 root root 10 2010-02-18 03:24 ata-Hitachi_HDS722020ALA330_JK1131YAGDU37V-part1 -&amp;gt; ../../sda1&lt;br /&gt;
 lrwxrwxrwx 1 root root  9 2010-02-18 03:24 ata-ST31000528AS_6VP08W65 -&amp;gt; ../../sdb&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the above example, /dev/sdb would be what I would select in GParted (or use on the cfdisk command). sda in my primary hard drive, and sdb my second hard drive.&lt;br /&gt;
&lt;br /&gt;
==Using GParted==&lt;br /&gt;
From the HDA desktop (or using VNC), [[Open Terminal as root]] and type '''gparted''' to launch the GParted application.&lt;br /&gt;
&lt;br /&gt;
Select the device (/dev/sdX) that you found above.&lt;br /&gt;
&lt;br /&gt;
In the above example, /dev/sdb would be what I would select in GParted.&lt;br /&gt;
&lt;br /&gt;
There are many easy to follow guides online on how to use GParted. You should Google for one, to find one that seems clear to you.&lt;br /&gt;
&lt;br /&gt;
[http://www.mepisguides.com/Mepis-6/Install/gparted/gparted-set-partition.html Here's one] that looks simple. Just use ext3 instead of fat32 in you follow that tutorial.&lt;br /&gt;
&lt;br /&gt;
Note that gparted supports GUID-partitioned drives, however, these directions and script do not support it at the moment.&lt;br /&gt;
&lt;br /&gt;
==Using cfdisk==&lt;br /&gt;
From a [[Open Terminal as root|terminal, as root]], type '''cfdisk /dev/sdX''' to launch the cfdisk application.&lt;br /&gt;
&lt;br /&gt;
If you have a GUID-partitioned drive, cfdisk will complain. GUID partitions are not supported.&lt;br /&gt;
&lt;br /&gt;
Make sure to replace /dev/sdX with the actual device (eg. /dev/sdb) that you found above.&lt;br /&gt;
&lt;br /&gt;
If your hard drive contains existing partitions, select them one by one at the top (using up/down arrow keys), then select the '''[ Delete ]''' action (using the left/right arrow keys), then hit ENTER.&lt;br /&gt;
&lt;br /&gt;
You should now only have Free Space listed at the top.&amp;lt;br/&amp;gt;&lt;br /&gt;
Select the '''[ New ]''' action, and accept the default (Primary, and size).&lt;br /&gt;
&lt;br /&gt;
You should now have a single partition listed at the top, of type Linux.&amp;lt;br/&amp;gt;&lt;br /&gt;
Select the '''[ Write ]''' action, then '''[ Quit ]'''.&lt;br /&gt;
&lt;br /&gt;
Now that you partitioned your drive, you need to format your newly created partition.&amp;lt;br/&amp;gt;&lt;br /&gt;
To format as EXT3, use this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 mkfs.ext3 -j /dev/sdX1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace ext3 with ext4 in the above command to format your partition as EXT4 instead of EXT3.&lt;br /&gt;
&lt;br /&gt;
'''/dev/sdX1''' in the above command refers to the partition your created in cfdisk.&amp;lt;br/&amp;gt;&lt;br /&gt;
Go back in cfdisk, and check the ''Name'' column if you're unsure.&amp;lt;br/&amp;gt;&lt;br /&gt;
If you see ''sdb1'' in the name column, you should use '''/dev/sdb1''' in the above command.&lt;br /&gt;
&lt;br /&gt;
=Mount the hard drive=&lt;br /&gt;
&lt;br /&gt;
A script is provided with Amahi that will look for unmounted partitions in your system, and mount any it finds.&lt;br /&gt;
&lt;br /&gt;
[[Open Terminal as root|In a Terminal, as root]], type the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 hda-diskmount&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
 [root@hda ~]$ hda-diskmount&lt;br /&gt;
 ****************************************************************&lt;br /&gt;
 Ignoring /dev/sda1 - already in /etc/fstab or mounted&lt;br /&gt;
 ****************************************************************&lt;br /&gt;
 Mounted /dev/&amp;lt;strong style=&amp;quot;color:green&amp;quot;&amp;gt;sdb1&amp;lt;/strong&amp;gt; as '&amp;lt;strong style=&amp;quot;color:red&amp;quot;&amp;gt;/var/hda/files/drives/sdb1&amp;lt;/strong&amp;gt;' (read-write)&lt;br /&gt;
 You may want your system to mount it every time you boot.&lt;br /&gt;
 To do so, add this line VERY CAREFULLY to /etc/fstab and reboot:&lt;br /&gt;
 &amp;lt;strong style=&amp;quot;color:blue&amp;quot;&amp;gt;UUID=9d972abc-1639-44df-a60e-668618d40236 /var/hda/files/drives/sdb1 ext4 defaults 1 2&amp;lt;/strong&amp;gt;&lt;br /&gt;
 ****************************************************************&lt;br /&gt;
 All Linux, Windows and Mac partitions on non-removable disks have been mounted&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do '''not''' edit /etc/fstab just yet. What you'll need to add there will depend on how you want to use the extra storage. More about that below.&amp;lt;br/&amp;gt;&lt;br /&gt;
Just note down the information in bold (green, red and blue). We'll use them below.&lt;br /&gt;
&lt;br /&gt;
Note about ext4 in the blue line above: that doesn't necessarily mean your partition is formatted as ext4. It means the ext4 driver will be used to mount your partition. Since that driver is backward compatible, it can be safely used to mount ext2, ext3 and ext4 partitions.&lt;br /&gt;
&lt;br /&gt;
If you get something 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 similar). It's nothing to worry about if you get that when executing the hda-diskmount script.&lt;br /&gt;
&lt;br /&gt;
==Test your hard drive==&lt;br /&gt;
Optionally, you can test your new drive for bad blocks.&amp;lt;br/&amp;gt;&lt;br /&gt;
Note that this step can take a ''long'' time to complete! You'll probably want to start it in the evening, to have it completed in the morning.&lt;br /&gt;
&lt;br /&gt;
To do so, [[Open Terminal as root|in a Terminal, as root]], type the following command. Replace &amp;lt;strong style=&amp;quot;color:green&amp;quot;&amp;gt;sdb1&amp;lt;/strong&amp;gt; with the (green) value you received from hda-diskmount.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
e2fsck -cn /dev/&amp;lt;strong style=&amp;quot;color:green&amp;quot;&amp;gt;sdb1&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You'll receive a warning that says &amp;quot;WARNING!!!  Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage. Do you really want to continue (y/n)?&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
Answer ''yes''. The -cn option we're using can safely be used on mounted filesystems.&lt;br /&gt;
&lt;br /&gt;
=Use the hard drive=&lt;br /&gt;
&lt;br /&gt;
You have a choice here on how to use your new hard drive storage space. We'll offer some examples.&lt;br /&gt;
&lt;br /&gt;
==Use the hard drive for all shares==&lt;br /&gt;
&lt;br /&gt;
If you want all your shares to be on your new hard drive, here's how to do that.&lt;br /&gt;
&lt;br /&gt;
First, you'll want to move all you previous shares data, if any, into your new drive.&amp;lt;br/&amp;gt;&lt;br /&gt;
You only need to do this next command if you have data that you care about in the /var/hda/files/* folders.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Open Terminal as root|In a Terminal, as root]], type the following command. Replace the path in red with the path you received when you ran hda-diskmount.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 mv /var/hda/files/* &amp;lt;strong style=&amp;quot;color:red&amp;quot;&amp;gt;/var/hda/files/drives/sdb1/&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
You'll get a warning about &amp;quot;cannot move `/var/hda/files/drives' to a subdirectory of itself&amp;quot;; that is fine, ignore that.&lt;br /&gt;
&lt;br /&gt;
Next, you'll need to unmount your new hard drive, and remount it as /var/hda/files&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 umount /var/hda/files/drives/sdb1/&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 nano /etc/fstab&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In nano, you'll need to add a new line at the bottom. Take the line that hda-diskmount gave you (the blue one), and change the second value (the path).&amp;lt;br/&amp;gt;&lt;br /&gt;
Replace the second value with '''/var/hda/files'''.&lt;br /&gt;
&lt;br /&gt;
hda-diskmount gave me:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;UUID=9d972abc-1639-44df-a60e-668618d40236 &amp;lt;strong&amp;gt;/var/hda/files/drives/sdb1&amp;lt;/strong&amp;gt; ext4 defaults 1 2&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So I should add this instead:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 UUID=9d972abc-1639-44df-a60e-668618d40236 &amp;lt;strong&amp;gt;/var/hda/files&amp;lt;/strong&amp;gt; ext4 defaults 1 2&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure you do '''not''' change anything else from the blue line you received from hda-diskmount.&amp;lt;br/&amp;gt;&lt;br /&gt;
It might not be the same thing as the above example; you need to use the values you've received.&lt;br /&gt;
&lt;br /&gt;
Save and exit nano (CTRL-X, Y, ENTER), and try your new mount:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 mount -a&lt;br /&gt;
 ls /var/hda/files/&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That last command should show you the content of you new hard drive.&lt;br /&gt;
&lt;br /&gt;
That's it. All your shares in /var/hda/files are now on your new hard drive.&lt;br /&gt;
&lt;br /&gt;
==Use the hard drive for only some shares==&lt;br /&gt;
&lt;br /&gt;
If you want only some of your shares to be on your new hard drive, here's how to do that.&lt;br /&gt;
&lt;br /&gt;
First, you'll want to move your previous shares data, if any, into your new drive.&amp;lt;br/&amp;gt;&lt;br /&gt;
You only need to do this next command if you have data that you care about in the /var/hda/files/* folders (that you want on the new drive).&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Open Terminal as root|In a Terminal, as root]], type the following command. Replace the path in red with the path you received when you ran hda-diskmount. Replace '''something''' with the name of the share you want to have on your new drive (the share should already exist).&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 mv /var/hda/files/&amp;lt;strong&amp;gt;something&amp;lt;/strong&amp;gt; &amp;lt;strong style=&amp;quot;color:red&amp;quot;&amp;gt;/var/hda/files/drives/sdb1/&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Repeat with every share you want on your new drive.&lt;br /&gt;
&lt;br /&gt;
Next, you'll need to make the mount permanent&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 umount /var/hda/files/drives/sdb1&amp;lt;br/&amp;gt;&lt;br /&gt;
 nano /etc/fstab&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In nano, you'll need to add a new line at the bottom. Take the line that hda-diskmount gave you, and insert that.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, following previous examples, I should add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left;&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;UUID=9d972abc-1639-44df-a60e-668618d40236 /var/hda/files/drives/sdb1 ext4 defaults 1 2&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit nano (CTRL-X, Y, ENTER), and try your new mount:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 mount -a&lt;br /&gt;
 ls /var/hda/files/drives/sdb1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That last command should show you the content of you new hard drive.&lt;br /&gt;
&lt;br /&gt;
That's it. Your share(s) are now on your new hard drive.&lt;br /&gt;
&lt;br /&gt;
==Use the hard drive in your Greyhole storage pool==&lt;br /&gt;
&lt;br /&gt;
If you want to add your new hard drive to your Greyhole storage pool, here's how to do that.&lt;br /&gt;
&lt;br /&gt;
First, you'll need to make the mount permanent. [[Open Terminal as root|In a Terminal, as root]], type the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 umount /var/hda/files/drives/sdb1&lt;br /&gt;
 nano /etc/fstab&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In nano, you'll need to add a new line at the bottom. Take the line that hda-diskmount gave you, and insert that.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, following previous examples, I should add this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left;&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span style=&amp;quot;color: blue;&amp;quot;&amp;gt;UUID=9d972abc-1639-44df-a60e-668618d40236 /var/hda/files/drives/sdb1 ext4 defaults 1 2&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save and exit nano (CTRL-X, Y, ENTER), and try your new mount:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; background-color: #E6F2FF; margin: 3px 3px 1em 3px;&amp;quot;&amp;gt;&lt;br /&gt;
 mount -a&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you'll need to configure Greyhole to select your new partition. To configure Greyhole, Advanced Settings must be enabled under [http://hda/setup?sub=settings&amp;amp;tab=setting Setup &amp;amp;gt; Settings].&lt;br /&gt;
&lt;br /&gt;
In the [http://hda/setup?sub=disk_pooling&amp;amp;tab=share Shares &amp;amp;gt; Storage Pool page] of your Amahi dashboard, you'll see a list of mounted partitions, with checkboxes next to each, allowing you to include those partitions in your storage pool.&lt;br /&gt;
&lt;br /&gt;
You should now have a new row in there, referring to /var/hda/files/drives/sdb1.&lt;br /&gt;
&lt;br /&gt;
Select it (click the checkbox).&lt;br /&gt;
&lt;br /&gt;
That's it. Your new hard drive just increased your Greyhole storage pool capacity.&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=16063</id>
		<title>UbuntuTesting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=16063"/>
		<updated>2010-07-30T01:35:56Z</updated>

		<summary type="html">&lt;p&gt;Cale250: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Testing For Amahi on Ubuntu=&lt;br /&gt;
'''NOTE'''&lt;br /&gt;
* There are no apps for this release&lt;br /&gt;
* This is a CLOSED beta as of right now. You can refer people for testing, but you need permission from cale250 or cpg.&lt;br /&gt;
* You'll need the CD OR DVD for Ubuntu 10.04 LTS Desktop&lt;br /&gt;
* DO NOT install on a production machine. It's not even close to being ready yet.&lt;br /&gt;
* This is a testing release. It may be broken from time to time. Only update if you receive an e-mail.&lt;br /&gt;
* Please report bugs on the forum first. I'll post them to the tracker.&lt;br /&gt;
&lt;br /&gt;
'''Step by Step Instructions for Installation'''&lt;br /&gt;
# Install Ubuntu normally.&lt;br /&gt;
# Once installed, open up the terminal and run the following:&lt;br /&gt;
&amp;lt;code&amp;gt; $&amp;gt; sudo add-apt-repository ppa:amahi-drivers/amahi&amp;lt;/code&amp;gt;&lt;br /&gt;
# Open up Synaptic and refresh the package lists (Click Refresh)&lt;br /&gt;
# Search for and install hdactl and hda-platform&lt;br /&gt;
# Reboot once done.&lt;br /&gt;
# Upon logging in, start Firefox and type http://localhost:2000/ in the address bar&lt;br /&gt;
# Enter your Amahi install code in the appropriate box (should look very familiar!)&lt;br /&gt;
# Let it do its work, and click the Reboot button at the end.&lt;br /&gt;
# Log in and test it out!&lt;br /&gt;
&lt;br /&gt;
'''Updating your Amahi (for bug fixes and stuff)'''&lt;br /&gt;
# Please review the e-mail or other means carefully. Upgrading certain packages not mentioned could cause your install to break.&lt;br /&gt;
# Open Synaptic (NOT Update Manager) and mark the appropriate packages to upgrade.&lt;br /&gt;
# You know the drill.&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=14641</id>
		<title>UbuntuPorting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=14641"/>
		<updated>2010-06-16T07:27:16Z</updated>

		<summary type="html">&lt;p&gt;Cale250: Updated to standard deb packaging&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page is being edited actively and a lot of sections are missing currently'''&lt;br /&gt;
&lt;br /&gt;
=Current state=&lt;br /&gt;
We just started porting Amahi to Ubuntu. The support is highly experimental. There are a few important things to be fixed before you can run it with minimal tweaking. Please don't try it on a production server yet. We are using Ubuntu 10.04 LTS (Lucid) Desktop 32 bit for development. We strongly recommend you to use the same for experiments. You can download this version from [http://www.ubuntu.com/getubuntu/download here].&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
You may want to have two different installations of Ubuntu.&lt;br /&gt;
* A development platform, running Ubuntu 10.04 LTS Desktop 32 bit and/or 64 bit with the recommended development packages installed.&lt;br /&gt;
* An Amahi sandbox, running Ubuntu 10.04 LTS Desktop 32 bit '''preferably''' under [http://www.virtualbox.org/ VirtualBox].&lt;br /&gt;
Please don't install the Amahi packages on the development platform as this might break your networking.&lt;br /&gt;
&lt;br /&gt;
=Setting up the development platform=&lt;br /&gt;
# Install Ubuntu 10.04 LTS Desktop 32 bit.&lt;br /&gt;
# Install essential build toolchain.&lt;br /&gt;
## sudo apt-get update&lt;br /&gt;
## sudo apt-get install build-essential&lt;br /&gt;
## sudo apt-get install devscripts&lt;br /&gt;
## sudo apt-get install debhelper&lt;br /&gt;
## sudo apt-get install fakeroot&lt;br /&gt;
## sudo apt-get install lintian&lt;br /&gt;
# Install git. # sudo aptitude install git-core&lt;br /&gt;
# Read [https://wiki.ubuntu.com/PackagingGuide/Complete Ubuntu packaging guide] to get an idea of other additional packages that you may want to install to create Ubuntu packages. I will list the packages to make your part easier at a later point.&lt;br /&gt;
&lt;br /&gt;
=Setting up the Amahi sandbox=&lt;br /&gt;
# Install [http://www.virtualbox.org/ Sun VirtualBox]. # sudo aptitude install virtualbox-ose&lt;br /&gt;
# Open VirtualBox and create a new guest platform for Ubuntu and install Ubuntu 10.04 LTS Desktop 32 bit.&lt;br /&gt;
# Install VirtualBox guest additions in your Amahi sandbox. # sudo apt-get install virtualbox-ose-guest-utils  (do this inside your virtual machine!)&lt;br /&gt;
# Setup VirtualBox folder sharing between your development platform and Amahi sandbox.&lt;br /&gt;
&lt;br /&gt;
=Amahi source code=&lt;br /&gt;
On your development platform, download Amahi source code from our git repository. Follow these steps to build Ubuntu packages.&lt;br /&gt;
&lt;br /&gt;
# After downloading the source, navigate to the platform directory (/trunk/platform).&lt;br /&gt;
# Navigate to the package you wish to build (hdactl or platform).&lt;br /&gt;
# (if appropriate) run &amp;quot;dch -i&amp;quot; to edit the changelog if you have made changes&lt;br /&gt;
# run &amp;quot;debuild&amp;quot; to create binary packages or &amp;quot;debuild -S&amp;quot; to create source packages.&lt;br /&gt;
&lt;br /&gt;
=Architecture differences=&lt;br /&gt;
*No /etc/sysconfig folder. Instead, configuration is scattered all over the place.&lt;br /&gt;
*Requires copying the functions library required by several shellscripts (but works fine)&lt;br /&gt;
&lt;br /&gt;
=Post install gotchas (asp's notes)=&lt;br /&gt;
&lt;br /&gt;
= Known Bugs =&lt;br /&gt;
Check out our project at [http://bugs.amahi.org/projects/show/ubuntu our bugtracker]&lt;br /&gt;
=Considerations=&lt;br /&gt;
*&amp;lt;s&amp;gt;Apache mod_passenger&amp;lt;/s&amp;gt; This has been implemented in the installer since it is now in the default repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''This page is being edited actively and a lot of sections are missing currently'''&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=14635</id>
		<title>UbuntuTesting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=14635"/>
		<updated>2010-06-16T06:42:45Z</updated>

		<summary type="html">&lt;p&gt;Cale250: Added upgrade instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Testing For Amahi on Ubuntu=&lt;br /&gt;
'''NOTE'''&lt;br /&gt;
* There are no apps for this release&lt;br /&gt;
* This is a CLOSED beta as of right now. You can refer people for testing, but you need permission from cale250 or cpg.&lt;br /&gt;
* You'll need the CD OR DVD for Ubuntu 10.04 LTS Desktop&lt;br /&gt;
* DO NOT install on a production machine. It's not even close to being ready yet.&lt;br /&gt;
* This is a testing release. It may be broken from time to time. Only update if you receive an e-mail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step by Step Instructions for Installation'''&lt;br /&gt;
# Install Ubuntu normally.&lt;br /&gt;
# Once installed, open up the terminal and run the following:&lt;br /&gt;
&amp;lt;code&amp;gt; $&amp;gt; sudo add-apt-repository ppa:amahi-drivers/amahi&amp;lt;/code&amp;gt;&lt;br /&gt;
# Open up Synaptic and refresh the package lists (Click Refresh)&lt;br /&gt;
# Search for and install hdactl and hda-platform&lt;br /&gt;
# Reboot once done.&lt;br /&gt;
# Upon logging in, start Firefox and type http://localhost:2000/ in the address bar&lt;br /&gt;
# Enter your Amahi install code in the appropriate box (should look very familiar!)&lt;br /&gt;
# Let it do its work, and click the Reboot button at the end.&lt;br /&gt;
# Log in and test it out!&lt;br /&gt;
&lt;br /&gt;
'''Updating your Amahi (for bug fixes and stuff)'''&lt;br /&gt;
# Please review the e-mail or other means carefully. Upgrading certain packages not mentioned could cause your install to break.&lt;br /&gt;
# Open Synaptic (NOT Update Manager) and mark the appropriate packages to upgrade.&lt;br /&gt;
# You know the drill.&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=14497</id>
		<title>UbuntuTesting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=14497"/>
		<updated>2010-06-14T16:26:55Z</updated>

		<summary type="html">&lt;p&gt;Cale250: grammatical error&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Testing For Amahi on Ubuntu=&lt;br /&gt;
'''NOTE'''&lt;br /&gt;
* There are no apps for this release&lt;br /&gt;
* This is a CLOSED beta as of right now. You can refer people for testing, but you need permission from cale250 or cpg.&lt;br /&gt;
* You'll need the CD OR DVD for Ubuntu 10.04 LTS Desktop&lt;br /&gt;
* DO NOT install on a production machine. It's not even close to being ready yet.&lt;br /&gt;
* This is a testing release. It may be broken from time to time. Only update if you receive an e-mail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step by Step Instructions for Installation'''&lt;br /&gt;
# Install Ubuntu normally.&lt;br /&gt;
# Once installed, open up the terminal and run the following:&lt;br /&gt;
&amp;lt;code&amp;gt; $&amp;gt; sudo add-apt-repository ppa:amahi-drivers/amahi&amp;lt;/code&amp;gt;&lt;br /&gt;
# Open up Synaptic and refresh the package lists (Click Refresh)&lt;br /&gt;
# Search for and install hdactl and hda-platform&lt;br /&gt;
# Reboot once done.&lt;br /&gt;
# Upon logging in, start Firefox and type http://localhost:2000/ in the address bar&lt;br /&gt;
# Enter your Amahi install code in the appropriate box (should look very familiar!)&lt;br /&gt;
# Let it do its work, and click the Reboot button at the end.&lt;br /&gt;
# Log in and test it out!&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=14491</id>
		<title>UbuntuTesting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=14491"/>
		<updated>2010-06-14T00:44:13Z</updated>

		<summary type="html">&lt;p&gt;Cale250: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Testing For Amahi on Ubuntu=&lt;br /&gt;
'''NOTE'''&lt;br /&gt;
* There are no apps for this release&lt;br /&gt;
* This is a CLOSED beta as of right now. You can refer people for testing, but you need permission from cale250 or cpg.&lt;br /&gt;
* You'll need the CD OR DVD for Ubuntu 10.04 LTS Desktop&lt;br /&gt;
* DO NOT install on a production machine. It's not even close to being ready yet.&lt;br /&gt;
* This is a testing release. It may be broken from time to time. Only update if you receive an e-mail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step by Step Instructions for Installation'''&lt;br /&gt;
# Install Ubuntu normally.&lt;br /&gt;
# Once installed, open up the terminal and run the following:&lt;br /&gt;
&amp;lt;code&amp;gt; $&amp;gt; sudo add-apt-repository ppa:amahi-drivers/amahi&amp;lt;/code&amp;gt;&lt;br /&gt;
# Open up Synaptic and refresh the package lists (Click Refresh)&lt;br /&gt;
# Search for and install hdactl and hda-platform&lt;br /&gt;
# Reboot once done.&lt;br /&gt;
# Upon logging in, start Firefox and type http://localhost:2000/ in the address bar&lt;br /&gt;
# Enter your Amahi install code in the appropriate box (should look very familiar!)&lt;br /&gt;
# Let it do it's work, and click the Reboot button at the end.&lt;br /&gt;
# Log in and test it out!&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=14485</id>
		<title>UbuntuTesting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuTesting&amp;diff=14485"/>
		<updated>2010-06-14T00:38:29Z</updated>

		<summary type="html">&lt;p&gt;Cale250: Created page with '=Testing For Amahi on Ubuntu= '''NOTE''' * There are no apps for this release * This is a CLOSED beta as of right now. You can refer people for testing, but you need permission f…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Testing For Amahi on Ubuntu=&lt;br /&gt;
'''NOTE'''&lt;br /&gt;
* There are no apps for this release&lt;br /&gt;
* This is a CLOSED beta as of right now. You can refer people for testing, but you need permission from cale250 or cpg.&lt;br /&gt;
* You'll need the CD OR DVD for Ubuntu 10.04 LTS Desktop&lt;br /&gt;
* DO NOT install on a production machine. It's not even close&lt;br /&gt;
* This is a testing release. It may be broken from time to time. Only update if you receive an e-mail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step by Step Instructions for Installation'''&lt;br /&gt;
# Install Ubuntu normally.&lt;br /&gt;
# Once installed, open up the terminal and run the following:&lt;br /&gt;
&amp;lt;code&amp;gt; $&amp;gt; sudo add-apt-repository ppa:amahi-drivers/amahi&amp;lt;/code&amp;gt;&lt;br /&gt;
# Open up Synaptic and refresh the package lists (Click Refresh)&lt;br /&gt;
# Search for and install hdactl and hda-platform&lt;br /&gt;
# Reboot once done.&lt;br /&gt;
# Upon logging in, start Firefox and type http://localhost:2000/ in the address bar&lt;br /&gt;
# Enter your Amahi install code in the appropriate box (should look very familiar!)&lt;br /&gt;
# Let it do it's work, and click the Reboot button at the end.&lt;br /&gt;
# Log in and test it out!&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=13801</id>
		<title>UbuntuPorting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=13801"/>
		<updated>2010-06-01T06:45:54Z</updated>

		<summary type="html">&lt;p&gt;Cale250: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page is being edited actively and a lot of sections are missing currently'''&lt;br /&gt;
&lt;br /&gt;
=Current state=&lt;br /&gt;
We just started porting Amahi to Ubuntu. The support is highly experimental. There are a few important things to be fixed before you can run it with minimal tweaking. Please don't try it on a production server yet. We are using Ubuntu 10.04 LTS (Lucid) Desktop 32 bit for development. We strongly recommend you to use the same for experiments. You can download this version from [http://www.ubuntu.com/getubuntu/download here].&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
You may want to have two different installations of Ubuntu.&lt;br /&gt;
* A development platform, running Ubuntu 10.04 LTS Desktop 32 bit and/or 64 bit with the recommended development packages installed.&lt;br /&gt;
* An Amahi sandbox, running Ubuntu 10.04 LTS Desktop 32 bit '''preferably''' under [http://www.virtualbox.org/ VirtualBox].&lt;br /&gt;
Please don't install the Amahi packages on the development platform as this might break your networking.&lt;br /&gt;
&lt;br /&gt;
=Setting up the development platform=&lt;br /&gt;
# Install Ubuntu 10.04 LTS Desktop 32 bit.&lt;br /&gt;
# Install essential build toolchain.&lt;br /&gt;
## sudo apt-get update&lt;br /&gt;
## sudo apt-get install build-essential&lt;br /&gt;
## sudo apt-get install devscripts&lt;br /&gt;
## sudo apt-get install debhelper&lt;br /&gt;
## sudo apt-get install fakeroot&lt;br /&gt;
## sudo apt-get install lintian&lt;br /&gt;
# Install git. # sudo aptitude install git-core&lt;br /&gt;
# Read [https://wiki.ubuntu.com/PackagingGuide/Complete Ubuntu packaging guide] to get an idea of other additional packages that you may want to install to create Ubuntu packages. I will list the packages to make your part easier at a later point.&lt;br /&gt;
&lt;br /&gt;
=Setting up the Amahi sandbox=&lt;br /&gt;
# Install [http://www.virtualbox.org/ Sun VirtualBox]. # sudo aptitude install virtualbox-ose&lt;br /&gt;
# Open VirtualBox and create a new guest platform for Ubuntu and install Ubuntu 10.04 LTS Desktop 32 bit.&lt;br /&gt;
# Install VirtualBox guest additions in your Amahi sandbox. # sudo apt-get install virtualbox-ose-guest-utils  (do this inside your virtual machine!)&lt;br /&gt;
# Setup VirtualBox folder sharing between your development platform and Amahi sandbox.&lt;br /&gt;
&lt;br /&gt;
=Amahi source code=&lt;br /&gt;
On your development platform, download Amahi source code from our git repository. Follow these steps to build Ubuntu packages.&lt;br /&gt;
&lt;br /&gt;
Update Changelog&lt;br /&gt;
&lt;br /&gt;
1. If you are repackaging for a newhttp://bugs.amahi.org/issues/show/487 version Run dch -v with the version number currently in the makefile. Where you run the command depends on if you are changing hdactl or hda-platform.&lt;br /&gt;
     &lt;br /&gt;
         # cd deb/ubuntu/karmic/hdactl&lt;br /&gt;
                OR&lt;br /&gt;
         # cd deb/ubuntu/karmic/hda-platform&lt;br /&gt;
&lt;br /&gt;
         # dch -v &amp;lt;version number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   Add the changes that you made to the system. If you are just updating for a new version state so.&lt;br /&gt;
&lt;br /&gt;
   If you are not changing the version number run dch -a. Where you run the command depends on if you are changing hdactl or hda-platform.&lt;br /&gt;
        # cd deb/ubuntu/karmic/hdactl&lt;br /&gt;
                OR&lt;br /&gt;
        # cd deb/ubuntu/karmic/hda-platform&lt;br /&gt;
&lt;br /&gt;
        # dch -a&lt;br /&gt;
&lt;br /&gt;
NOTE: If you are just building a .deb for your own testing you can just run make deb or continue to step 2. &lt;br /&gt;
&lt;br /&gt;
2. To build hdactl package, change to 'platform/hdactl' directory and&lt;br /&gt;
   run 'make deb'.&lt;br /&gt;
&lt;br /&gt;
       # cd platform/hdactl&lt;br /&gt;
       # rm -rf hdactl-hup&lt;br /&gt;
       # rm -rf platform/hdactl/release&lt;br /&gt;
       # make deb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   NOTE: The removing of hdactl-hup is only needed if it is present.&lt;br /&gt;
&lt;br /&gt;
   You will find the .deb file generated under platform/hdactl/release&lt;br /&gt;
   directory.&lt;br /&gt;
  &lt;br /&gt;
   NOTE: For ease of use use gdebi to install.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. To build hda-platform package, change to 'platform/platform' directory and&lt;br /&gt;
   run 'make deb'.&lt;br /&gt;
&lt;br /&gt;
       # cd platform/platform&lt;br /&gt;
       # make deb&lt;br /&gt;
&lt;br /&gt;
   You will find the .deb file generated under platform/platform/release&lt;br /&gt;
   directory.&lt;br /&gt;
&lt;br /&gt;
=Architecture differences=&lt;br /&gt;
*No /etc/sysconfig folder. Instead, configuration is scattered all over the place.&lt;br /&gt;
*Requires copying the functions library required by several shellscripts (but works fine)&lt;br /&gt;
&lt;br /&gt;
=Post install gotchas (asp's notes)=&lt;br /&gt;
&lt;br /&gt;
= Known Bugs =&lt;br /&gt;
Check out our project at [http://bugs.amahi.org/projects/show/ubuntu our bugtracker]&lt;br /&gt;
=Considerations=&lt;br /&gt;
*&amp;lt;s&amp;gt;Apache mod_passenger&amp;lt;/s&amp;gt; This has been implemented in the installer since it is now in the default repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''This page is being edited actively and a lot of sections are missing currently'''&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Ubuntu&amp;diff=13471</id>
		<title>Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Ubuntu&amp;diff=13471"/>
		<updated>2010-05-25T05:33:56Z</updated>

		<summary type="html">&lt;p&gt;Cale250: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Can I install Amahi on Ubuntu?==&lt;br /&gt;
&lt;br /&gt;
Not yet. We hope to get Ubuntu contributions soon.&lt;br /&gt;
&lt;br /&gt;
The long term goal for Amahi is to be an &amp;quot;easy to use&amp;quot; product rather than &amp;quot;for geeks only.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This is why the Amahi home server is managed through a Web 2.0 browser-based interface and is designed to run headless. Of course file sharing and related activities are supported cross platform - Linux, Windows and Mac. &lt;br /&gt;
&lt;br /&gt;
The underlying distribution that Amahi is currently built on is Fedora. &lt;br /&gt;
&lt;br /&gt;
There are frequent requests to make an Ubuntu version available - but to date there are not enough &amp;quot;truly experienced&amp;quot; Ubuntu developers ready to commit to make this happen. As developers get involved they realize that the underlying distribution does not impact the end user experience. &lt;br /&gt;
&lt;br /&gt;
Amahi is designed to run headless, so porting to Ubuntu has not been a very high priority task (there is a lot of learning, since the developers are more familiar with Fedora). The development time is mostly spent improving Amahi while we gather real Ubuntu contributions.&lt;br /&gt;
&lt;br /&gt;
If you are ready to lead the effort, let us know and the team will help get you started. Please subscribe to the amahi-devel mailing list!&lt;br /&gt;
&lt;br /&gt;
== What To Do ==&lt;br /&gt;
&lt;br /&gt;
NOTE: some [[UbuntuPorting | Ubuntu Porting Notes]] '''&amp;lt;-- CURRENT STATUS'''&lt;br /&gt;
&lt;br /&gt;
Here are the rough suggested steps to make Amahi on Ubuntu possible.&lt;br /&gt;
&lt;br /&gt;
# Focus on an installed system first, '''writing down''' (say in a wiki page here) the things needed to get things running. Later focus on the installer, which will have many more platform dependencies.&lt;br /&gt;
# Install Ubuntu server&lt;br /&gt;
# Install ruby, rails and the appropropriate gems (write down the exact commands needed to do this)&lt;br /&gt;
# Make the interface work first. Use RoR in development mode on a base amahi platform tree. This should be platform independent.&lt;br /&gt;
# Once the interface is working, install the Amahi control daemon. This will need some hooks to make work under Ubuntu for sure.&lt;br /&gt;
# This will complete the two basic things needed to get the ball rolling. The next one will be applications. This is potentially complex.&lt;br /&gt;
# After all of this is done, the various parts will need to be packaged as debs and put in a repo for ubuntu&lt;br /&gt;
# Finally, testing, testing, testing! :)&lt;br /&gt;
&lt;br /&gt;
Some open questions/topics:&lt;br /&gt;
&lt;br /&gt;
* Can we somehow live with RPMs in the short term (which is what we have today)? Using something that we have today would make it easier right away, i.e. if we can go with a repo that we already have, it would be a massive step to get started.  &lt;br /&gt;
* Should we start with ubuntu desktop or ubuntu server? - my first impression would be server, which makes more sense. Any gotchas with that?&lt;br /&gt;
* How are updates handled in ubuntu?&lt;br /&gt;
&lt;br /&gt;
Throw your ideas around about these at [http://forums.amahi.org/viewtopic.php?f=6&amp;amp;t=1416&amp;amp;p=7161 this forum post.]&lt;br /&gt;
&lt;br /&gt;
Given how there is a lot of learning to be achieved on both sides,&lt;br /&gt;
you should probably stop by the [http://webchat.freenode.net/?channels=amahi #amahi irc channel]&lt;br /&gt;
at irc.freenode.net. At least one or two of the usuals&lt;br /&gt;
there are also interested in Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You can also discuss this in the amahi-devel mailing list.&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=13459</id>
		<title>UbuntuPorting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=13459"/>
		<updated>2010-05-25T05:10:04Z</updated>

		<summary type="html">&lt;p&gt;Cale250: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page is being edited actively and a lot of sections are missing currently'''&lt;br /&gt;
&lt;br /&gt;
=Current state=&lt;br /&gt;
We just started porting Amahi to Ubuntu. The support is highly experimental. There are a few important things to be fixed before you can run it with minimal tweaking. Please don't try it on a production server yet. We are using Ubuntu 10.04 LTS (Lucid) Desktop 32 bit for development. We strongly recommend you to use the same for experiments. You can download this version from [http://www.ubuntu.com/getubuntu/download here].&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
You may want to have two different installations of Ubuntu.&lt;br /&gt;
* A development platform, running Ubuntu 10.04 LTS Desktop 32 bit and/or 64 bit with the recommended development packages installed.&lt;br /&gt;
* An Amahi sandbox, running Ubuntu 10.04 LTS Desktop 32 bit '''preferably''' under [http://www.virtualbox.org/ VirtualBox].&lt;br /&gt;
Please don't install the Amahi packages on the development platform as this might break your networking.&lt;br /&gt;
&lt;br /&gt;
=Setting up the development platform=&lt;br /&gt;
# Install Ubuntu 10.04 LTS Desktop 32 bit.&lt;br /&gt;
# Install essential build toolchain.&lt;br /&gt;
## sudo apt-get update&lt;br /&gt;
## sudo apt-get install build-essential&lt;br /&gt;
## sudo apt-get install devscripts&lt;br /&gt;
## sudo apt-get install debhelper&lt;br /&gt;
## sudo apt-get install fakeroot&lt;br /&gt;
## sudo apt-get install lintian&lt;br /&gt;
# Install git. # sudo aptitude install git-core&lt;br /&gt;
# Read [https://wiki.ubuntu.com/PackagingGuide/Complete Ubuntu packaging guide] to get an idea of other additional packages that you may want to install to create Ubuntu packages. I will list the packages to make your part easier at a later point.&lt;br /&gt;
&lt;br /&gt;
=Setting up the Amahi sandbox=&lt;br /&gt;
# Install [http://www.virtualbox.org/ Sun VirtualBox]. # sudo aptitude install virtualbox-ose&lt;br /&gt;
# Open VirtualBox and create a new guest platform for Ubuntu and install Ubuntu 10.04 LTS Desktop 32 bit.&lt;br /&gt;
# Install VirtualBox guest additions in your Amahi sandbox. # sudo apt-get install virtualbox-ose-guest-utils  (do this inside your virtual machine!)&lt;br /&gt;
# Setup VirtualBox folder sharing between your development platform and Amahi sandbox.&lt;br /&gt;
&lt;br /&gt;
=Amahi source code=&lt;br /&gt;
On your development platform, download Amahi source code from our git repository. Follow these steps to build Ubuntu packages.&lt;br /&gt;
&lt;br /&gt;
Update Changelog&lt;br /&gt;
&lt;br /&gt;
1. If you are repackaging for a newhttp://bugs.amahi.org/issues/show/487 version Run dch -v with the version number currently in the makefile. Where you run the command depends on if you are changing hdactl or hda-platform.&lt;br /&gt;
     &lt;br /&gt;
         # cd deb/ubuntu/karmic/hdactl&lt;br /&gt;
                OR&lt;br /&gt;
         # cd deb/ubuntu/karmic/hda-platform&lt;br /&gt;
&lt;br /&gt;
         # dch -v &amp;lt;version number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   Add the changes that you made to the system. If you are just updating for a new version state so.&lt;br /&gt;
&lt;br /&gt;
   If you are not changing the version number run dch -a. Where you run the command depends on if you are changing hdactl or hda-platform.&lt;br /&gt;
        # cd deb/ubuntu/karmic/hdactl&lt;br /&gt;
                OR&lt;br /&gt;
        # cd deb/ubuntu/karmic/hda-platform&lt;br /&gt;
&lt;br /&gt;
        # dch -a&lt;br /&gt;
&lt;br /&gt;
NOTE: If you are just building a .deb for your own testing you can just run make deb or continue to step 2. &lt;br /&gt;
&lt;br /&gt;
2. To build hdactl package, change to 'platform/hdactl' directory and&lt;br /&gt;
   run 'make deb'.&lt;br /&gt;
&lt;br /&gt;
       # cd platform/hdactl&lt;br /&gt;
       # rm -rf hdactl-hup&lt;br /&gt;
       # rm -rf platform/hdactl/release&lt;br /&gt;
       # make deb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   NOTE: The removing of hdactl-hup is only needed if it is present.&lt;br /&gt;
&lt;br /&gt;
   You will find the .deb file generated under platform/hdactl/release&lt;br /&gt;
   directory.&lt;br /&gt;
  &lt;br /&gt;
   NOTE: For ease of use use gdebi to install.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. To build hda-platform package, change to 'platform/platform' directory and&lt;br /&gt;
   run 'make deb'.&lt;br /&gt;
&lt;br /&gt;
       # cd platform/platform&lt;br /&gt;
       # make deb&lt;br /&gt;
&lt;br /&gt;
   You will find the .deb file generated under platform/platform/release&lt;br /&gt;
   directory.&lt;br /&gt;
&lt;br /&gt;
=Architecture differences=&lt;br /&gt;
*No /etc/sysconfig folder. Instead, configuration is scattered all over the place.&lt;br /&gt;
*Requires copying the functions library required by several shellscripts (but works fine)&lt;br /&gt;
&lt;br /&gt;
=Post install gotchas (asp's notes)=&lt;br /&gt;
&lt;br /&gt;
= Known Bugs =&lt;br /&gt;
*Debian control script for platform may be missing some dependencies. [http://bugs.amahi.org/issues/show/487 bug 487]&lt;br /&gt;
*&amp;lt;s&amp;gt;Passenger does not install see Considerations [http://bugs.amahi.org/issues/show/483 bug 483]&amp;lt;/s&amp;gt; This now works in Lucid fine&lt;br /&gt;
*&amp;lt;s&amp;gt;HDACTL init scripts do not work [http://bugs.amahi.org/issues/show/484 bug 484]&amp;lt;/s&amp;gt; Some do work under Fedora formatting (interesting!). amahi-installer script needs work to run.&lt;br /&gt;
=Considerations=&lt;br /&gt;
*&amp;lt;s&amp;gt;Apache mod_passenger&amp;lt;/s&amp;gt; This has been implemented in the installer since it is now in the default repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''This page is being edited actively and a lot of sections are missing currently'''&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=13453</id>
		<title>UbuntuPorting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=13453"/>
		<updated>2010-05-24T23:14:04Z</updated>

		<summary type="html">&lt;p&gt;Cale250: Typo!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page is being edited actively and a lot of sections are missing currently'''&lt;br /&gt;
&lt;br /&gt;
=Current state=&lt;br /&gt;
We just started porting Amahi to Ubuntu. The support is highly experimental. There are a few important things to be fixed before you can run it with minimal tweaking. Please don't try it on a production server yet. We are using Ubuntu 10.04 LTS (Lucid) Desktop 32 bit for development. We strongly recommend you to use the same for experiments. You can download this version from [http://www.ubuntu.com/getubuntu/download here].&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
You may want to have two different installations of Ubuntu.&lt;br /&gt;
* A development platform, running Ubuntu 10.04 LTS Desktop 32 bit and/or 64 bit with the recommended development packages installed.&lt;br /&gt;
* An Amahi sandbox, running Ubuntu 10.04 LTS Desktop 32 bit '''preferably''' under [http://www.virtualbox.org/ VirtualBox].&lt;br /&gt;
Please don't install the Amahi packages on the development platform as this might break your networking.&lt;br /&gt;
&lt;br /&gt;
=Setting up the development platform=&lt;br /&gt;
# Install Ubuntu 10.04 LTS Desktop 32 bit.&lt;br /&gt;
# Install essential build toolchain.&lt;br /&gt;
## sudo apt-get update&lt;br /&gt;
## sudo apt-get install build-essential&lt;br /&gt;
## sudo apt-get install devscripts&lt;br /&gt;
## sudo apt-get install debhelper&lt;br /&gt;
## sudo apt-get install fakeroot&lt;br /&gt;
## sudo apt-get install lintian&lt;br /&gt;
# Install git. # sudo aptitude install git-core&lt;br /&gt;
# Read [https://wiki.ubuntu.com/PackagingGuide/Complete Ubuntu packaging guide] to get an idea of other additional packages that you may want to install to create Ubuntu packages. I will list the packages to make your part easier at a later point.&lt;br /&gt;
&lt;br /&gt;
=Setting up the Amahi sandbox=&lt;br /&gt;
# Install [http://www.virtualbox.org/ Sun VirtualBox]. # sudo aptitude install virtualbox-ose&lt;br /&gt;
# Open VirtualBox and create a new guest platform for Ubuntu and install Ubuntu 10.04 LTS Desktop 32 bit.&lt;br /&gt;
# Install VirtualBox guest additions in your Amahi sandbox. # sudo apt-get install virtualbox-ose-guest-utils  (do this inside your virtual machine!)&lt;br /&gt;
# Setup VirtualBox folder sharing between your development platform and Amahi sandbox.&lt;br /&gt;
&lt;br /&gt;
=Amahi source code=&lt;br /&gt;
On your development platform, download Amahi source code from our git repository. Follow these steps to build Ubuntu packages.&lt;br /&gt;
&lt;br /&gt;
Update Changelog&lt;br /&gt;
&lt;br /&gt;
1. If you are repackaging for a newhttp://bugs.amahi.org/issues/show/487 version Run dch -v with the version number currently in the makefile. Where you run the command depends on if you are changing hdactl or hda-platform.&lt;br /&gt;
     &lt;br /&gt;
         # cd deb/ubuntu/karmic/hdactl&lt;br /&gt;
                OR&lt;br /&gt;
         # cd deb/ubuntu/karmic/hda-platform&lt;br /&gt;
&lt;br /&gt;
         # dch -v &amp;lt;version number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   Add the changes that you made to the system. If you are just updating for a new version state so.&lt;br /&gt;
&lt;br /&gt;
   If you are not changing the version number run dch -a. Where you run the command depends on if you are changing hdactl or hda-platform.&lt;br /&gt;
        # cd deb/ubuntu/karmic/hdactl&lt;br /&gt;
                OR&lt;br /&gt;
        # cd deb/ubuntu/karmic/hda-platform&lt;br /&gt;
&lt;br /&gt;
        # dch -a&lt;br /&gt;
&lt;br /&gt;
NOTE: If you are just building a .deb for your own testing you can just run make deb or continue to step 2. &lt;br /&gt;
&lt;br /&gt;
2. To build hdactl package, change to 'platform/hdactl' directory and&lt;br /&gt;
   run 'make deb'.&lt;br /&gt;
&lt;br /&gt;
       # cd platform/hdactl&lt;br /&gt;
       # rm -rf hdactl-hup&lt;br /&gt;
       # rm -rf platform/hdactl/release&lt;br /&gt;
       # make deb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   NOTE: The removing of hdactl-hup is only needed if it is present.&lt;br /&gt;
&lt;br /&gt;
   You will find the .deb file generated under platform/hdactl/release&lt;br /&gt;
   directory.&lt;br /&gt;
  &lt;br /&gt;
   NOTE: For ease of use use gdebi to install.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. To build hda-platform package, change to 'platform/platform' directory and&lt;br /&gt;
   run 'make deb'.&lt;br /&gt;
&lt;br /&gt;
       # cd platform/platform&lt;br /&gt;
       # make deb&lt;br /&gt;
&lt;br /&gt;
   You will find the .deb file generated under platform/platform/release&lt;br /&gt;
   directory.&lt;br /&gt;
&lt;br /&gt;
=Architecture differences=&lt;br /&gt;
*No /etc/sysconfig folder. Instead, configuration is scattered all over the place.&lt;br /&gt;
*Requires copying the functions library required by several shellscripts (but works fine)&lt;br /&gt;
&lt;br /&gt;
=Post install gotchas (asp's notes)=&lt;br /&gt;
&lt;br /&gt;
= Known Bugs =&lt;br /&gt;
*Debian control script for platform may be missing some dependencies. [http://bugs.amahi.org/issues/show/487 bug 487]&lt;br /&gt;
*Passenger does not install see Considerations [http://bugs.amahi.org/issues/show/483 bug 483]&lt;br /&gt;
*&amp;lt;s&amp;gt;HDACTL init scripts do not work [http://bugs.amahi.org/issues/show/484 bug 484]&amp;lt;/s&amp;gt; Some do work under Fedora formatting (interesting!). amahi-installer script needs work to run.&lt;br /&gt;
=Considerations=&lt;br /&gt;
*&amp;lt;s&amp;gt;Apache mod_passenger&amp;lt;/s&amp;gt; This has been implemented in the installer since it is now in the default repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''This page is being edited actively and a lot of sections are missing currently'''&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=13447</id>
		<title>UbuntuPorting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=UbuntuPorting&amp;diff=13447"/>
		<updated>2010-05-24T23:13:13Z</updated>

		<summary type="html">&lt;p&gt;Cale250: Updated to current status of project&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page is being edited actively and a lot of sections are missing currently'''&lt;br /&gt;
&lt;br /&gt;
=Current state=&lt;br /&gt;
We just started porting Amahi to Ubuntu. The support is highly experimental. There are a few important things to be fixed before you can run it with minimal tweaking. Please don't try it on a production server yet. We are using Ubuntu 10.04 LTS (Lucid) Desktop 32 bit for development. We strongly recommend you to use the same for experiments. You can download this version from [http://www.ubuntu.com/getubuntu/download here].&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
You may want to have two different installations of Ubuntu.&lt;br /&gt;
* A development platform, running Ubuntu 10.04 LTS Desktop 32 bit and/or 64 bit with the recommended development packages installed.&lt;br /&gt;
* An Amahi sandbox, running Ubuntu 10.04 LTS Desktop 32 bit '''preferably''' under [http://www.virtualbox.org/ VirtualBox].&lt;br /&gt;
Please don't install the Amahi packages on the development platform as this might break your networking.&lt;br /&gt;
&lt;br /&gt;
=Setting up the development platform=&lt;br /&gt;
# Install Ubuntu 9.04 Desktop 32 bit.&lt;br /&gt;
# Install essential build toolchain.&lt;br /&gt;
## sudo apt-get update&lt;br /&gt;
## sudo apt-get install build-essential&lt;br /&gt;
## sudo apt-get install devscripts&lt;br /&gt;
## sudo apt-get install debhelper&lt;br /&gt;
## sudo apt-get install fakeroot&lt;br /&gt;
## sudo apt-get install lintian&lt;br /&gt;
# Install git. # sudo aptitude install git-core&lt;br /&gt;
# Read [https://wiki.ubuntu.com/PackagingGuide/Complete Ubuntu packaging guide] to get an idea of other additional packages that you may want to install to create Ubuntu packages. I will list the packages to make your part easier at a later point.&lt;br /&gt;
&lt;br /&gt;
=Setting up the Amahi sandbox=&lt;br /&gt;
# Install [http://www.virtualbox.org/ Sun VirtualBox]. # sudo aptitude install virtualbox-ose&lt;br /&gt;
# Open VirtualBox and create a new guest platform for Ubuntu and install Ubuntu 10.04 LTS Desktop 32 bit.&lt;br /&gt;
# Install VirtualBox guest additions in your Amahi sandbox. # sudo apt-get install virtualbox-ose-guest-utils  (do this inside your virtual machine!)&lt;br /&gt;
# Setup VirtualBox folder sharing between your development platform and Amahi sandbox.&lt;br /&gt;
&lt;br /&gt;
=Amahi source code=&lt;br /&gt;
On your development platform, download Amahi source code from our git repository. Follow these steps to build Ubuntu packages.&lt;br /&gt;
&lt;br /&gt;
Update Changelog&lt;br /&gt;
&lt;br /&gt;
1. If you are repackaging for a newhttp://bugs.amahi.org/issues/show/487 version Run dch -v with the version number currently in the makefile. Where you run the command depends on if you are changing hdactl or hda-platform.&lt;br /&gt;
     &lt;br /&gt;
         # cd deb/ubuntu/karmic/hdactl&lt;br /&gt;
                OR&lt;br /&gt;
         # cd deb/ubuntu/karmic/hda-platform&lt;br /&gt;
&lt;br /&gt;
         # dch -v &amp;lt;version number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   Add the changes that you made to the system. If you are just updating for a new version state so.&lt;br /&gt;
&lt;br /&gt;
   If you are not changing the version number run dch -a. Where you run the command depends on if you are changing hdactl or hda-platform.&lt;br /&gt;
        # cd deb/ubuntu/karmic/hdactl&lt;br /&gt;
                OR&lt;br /&gt;
        # cd deb/ubuntu/karmic/hda-platform&lt;br /&gt;
&lt;br /&gt;
        # dch -a&lt;br /&gt;
&lt;br /&gt;
NOTE: If you are just building a .deb for your own testing you can just run make deb or continue to step 2. &lt;br /&gt;
&lt;br /&gt;
2. To build hdactl package, change to 'platform/hdactl' directory and&lt;br /&gt;
   run 'make deb'.&lt;br /&gt;
&lt;br /&gt;
       # cd platform/hdactl&lt;br /&gt;
       # rm -rf hdactl-hup&lt;br /&gt;
       # rm -rf platform/hdactl/release&lt;br /&gt;
       # make deb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   NOTE: The removing of hdactl-hup is only needed if it is present.&lt;br /&gt;
&lt;br /&gt;
   You will find the .deb file generated under platform/hdactl/release&lt;br /&gt;
   directory.&lt;br /&gt;
  &lt;br /&gt;
   NOTE: For ease of use use gdebi to install.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. To build hda-platform package, change to 'platform/platform' directory and&lt;br /&gt;
   run 'make deb'.&lt;br /&gt;
&lt;br /&gt;
       # cd platform/platform&lt;br /&gt;
       # make deb&lt;br /&gt;
&lt;br /&gt;
   You will find the .deb file generated under platform/platform/release&lt;br /&gt;
   directory.&lt;br /&gt;
&lt;br /&gt;
=Architecture differences=&lt;br /&gt;
*No /etc/sysconfig folder. Instead, configuration is scattered all over the place.&lt;br /&gt;
*Requires copying the functions library required by several shellscripts (but works fine)&lt;br /&gt;
&lt;br /&gt;
=Post install gotchas (asp's notes)=&lt;br /&gt;
&lt;br /&gt;
= Known Bugs =&lt;br /&gt;
*Debian control script for platform may be missing some dependencies. [http://bugs.amahi.org/issues/show/487 bug 487]&lt;br /&gt;
*Passenger does not install see Considerations [http://bugs.amahi.org/issues/show/483 bug 483]&lt;br /&gt;
*&amp;lt;s&amp;gt;HDACTL init scripts do not work [http://bugs.amahi.org/issues/show/484 bug 484]&amp;lt;/s&amp;gt; Some do work under Fedora formatting (interesting!). amahi-installer script needs work to run.&lt;br /&gt;
=Considerations=&lt;br /&gt;
*&amp;lt;s&amp;gt;Apache mod_passenger&amp;lt;/s&amp;gt; This has been implemented in the installer since it is now in the default repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''This page is being edited actively and a lot of sections are missing currently'''&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Ubuntu&amp;diff=13423</id>
		<title>Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Ubuntu&amp;diff=13423"/>
		<updated>2010-05-23T21:47:10Z</updated>

		<summary type="html">&lt;p&gt;Cale250: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Can I install Amahi on Ubuntu?==&lt;br /&gt;
&lt;br /&gt;
Not yet. We hope to get Ubuntu contributions soon.&lt;br /&gt;
&lt;br /&gt;
The long term goal for Amahi is to be an &amp;quot;easy to use&amp;quot; product rather than &amp;quot;for geeks only.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This is why the Amahi home server is managed through a Web 2.0 browser-based interface and is designed to run headless. Of course file sharing and related activities are supported cross platform - Linux, Windows and Mac. &lt;br /&gt;
&lt;br /&gt;
The underlying distribution that Amahi is currently built on is Fedora. &lt;br /&gt;
&lt;br /&gt;
There are frequent requests to make an Ubuntu version available - but to date there are not enough &amp;quot;truly experienced&amp;quot; Ubuntu developers ready to commit to make this happen. As developers get involved they realize that the underlying distribution does not impact the end user experience. &lt;br /&gt;
&lt;br /&gt;
Amahi is designed to run headless, so porting to Ubuntu has not been a very high priority task (there is a lot of learning, since the developers are more familiar with Fedora). The development time is mostly spent improving Amahi while we gather real Ubuntu contributions.&lt;br /&gt;
&lt;br /&gt;
If you are ready to lead the effort, let us know and the team will help get you started. Please subscribe to the amahi-devel mailing list!&lt;br /&gt;
&lt;br /&gt;
== What To Do ==&lt;br /&gt;
&lt;br /&gt;
NOTE: some [[UbuntuPorting | Ubuntu Porting Notes]]&lt;br /&gt;
&lt;br /&gt;
Here are the rough suggested steps to make Amahi on Ubuntu possible.&lt;br /&gt;
&lt;br /&gt;
# Focus on an installed system first, '''writing down''' (say in a wiki page here) the things needed to get things running. Later focus on the installer, which will have many more platform dependencies.&lt;br /&gt;
# Install Ubuntu server&lt;br /&gt;
# Install ruby, rails and the appropropriate gems (write down the exact commands needed to do this)&lt;br /&gt;
# Make the interface work first. Use RoR in development mode on a base amahi platform tree. This should be platform independent.&lt;br /&gt;
# Once the interface is working, install the Amahi control daemon. This will need some hooks to make work under Ubuntu for sure.&lt;br /&gt;
# This will complete the two basic things needed to get the ball rolling. The next one will be applications. This is potentially complex.&lt;br /&gt;
# After all of this is done, the various parts will need to be packaged as debs and put in a repo for ubuntu&lt;br /&gt;
# Finally, testing, testing, testing! :)&lt;br /&gt;
&lt;br /&gt;
Some open questions/topics:&lt;br /&gt;
&lt;br /&gt;
* Can we somehow live with RPMs in the short term (which is what we have today)? Using something that we have today would make it easier right away, i.e. if we can go with a repo that we already have, it would be a massive step to get started.  &lt;br /&gt;
* Should we start with ubuntu desktop or ubuntu server? - my first impression would be server, which makes more sense. Any gotchas with that?&lt;br /&gt;
* How are updates handled in ubuntu?&lt;br /&gt;
&lt;br /&gt;
Throw your ideas around about these at [http://forums.amahi.org/viewtopic.php?f=6&amp;amp;t=1416&amp;amp;p=7161 this forum post.]&lt;br /&gt;
&lt;br /&gt;
Given how there is a lot of learning to be achieved on both sides,&lt;br /&gt;
you should probably stop by the [http://webchat.freenode.net/?channels=amahi #amahi irc channel]&lt;br /&gt;
at irc.freenode.net. At least one or two of the usuals&lt;br /&gt;
there are also interested in Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You can also discuss this in the amahi-devel mailing list.&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Ubuntu&amp;diff=13339</id>
		<title>Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Ubuntu&amp;diff=13339"/>
		<updated>2010-05-18T19:48:36Z</updated>

		<summary type="html">&lt;p&gt;Cale250: Added link/line to Talk page. It's a bit more permanent than the mailing list or IRC.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Can I install Amahi on Ubuntu?==&lt;br /&gt;
&lt;br /&gt;
Not yet. We hope to get Ubuntu contributions soon.&lt;br /&gt;
&lt;br /&gt;
The long term goal for Amahi is to be an &amp;quot;easy to use&amp;quot; product rather than &amp;quot;for geeks only.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This is why the Amahi home server is managed through a Web 2.0 browser-based interface and is designed to run headless. Of course file sharing and related activities are supported cross platform - Linux, Windows and Mac. &lt;br /&gt;
&lt;br /&gt;
The underlying distribution that Amahi is currently built on is Fedora. &lt;br /&gt;
&lt;br /&gt;
There are frequent requests to make an Ubuntu version available - but to date there are not enough &amp;quot;truly experienced&amp;quot; Ubuntu developers ready to commit to make this happen. As developers get involved they realize that the underlying distribution does not impact the end user experience. &lt;br /&gt;
&lt;br /&gt;
Amahi is designed to run headless, so porting to Ubuntu has not been a very high priority task (there is a lot of learning, since the developers are more familiar with Fedora). The development time is mostly spent improving Amahi while we gather real Ubuntu contributions.&lt;br /&gt;
&lt;br /&gt;
If you are ready to lead the effort, let us know and the team will help get you started. Please subscribe to the amahi-devel mailing list!&lt;br /&gt;
&lt;br /&gt;
== What To Do ==&lt;br /&gt;
&lt;br /&gt;
NOTE: some [[UbuntuPorting | Ubuntu Porting Notes]]&lt;br /&gt;
&lt;br /&gt;
Here are the rough suggested steps to make Amahi on Ubuntu possible.&lt;br /&gt;
&lt;br /&gt;
# Focus on an installed system first, '''writing down''' (say in a wiki page here) the things needed to get things running. Later focus on the installer, which will have many more platform dependencies.&lt;br /&gt;
# Install Ubuntu server&lt;br /&gt;
# Install ruby, rails and the appropropriate gems (write down the exact commands needed to do this)&lt;br /&gt;
# Make the interface work first. Use RoR in development mode on a base amahi platform tree. This should be platform independent.&lt;br /&gt;
# Once the interface is working, install the Amahi control daemon. This will need some hooks to make work under Ubuntu for sure.&lt;br /&gt;
# This will complete the two basic things needed to get the ball rolling. The next one will be applications. This is potentially complex.&lt;br /&gt;
# After all of this is done, the various parts will need to be packaged as debs and put in a repo for ubuntu&lt;br /&gt;
# Finally, testing, testing, testing! :)&lt;br /&gt;
&lt;br /&gt;
Some open questions/topics:&lt;br /&gt;
&lt;br /&gt;
* Can we somehow live with RPMs in the short term (which is what we have today)? Using something that we have today would make it easier right away, i.e. if we can go with a repo that we already have, it would be a massive step to get started.  &lt;br /&gt;
* Should we start with ubuntu desktop or ubuntu server? - my first impression would be server, which makes more sense. Any gotchas with that?&lt;br /&gt;
* How are updates handled in ubuntu?&lt;br /&gt;
&lt;br /&gt;
Throw your ideas around about these at [[Talk:Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
Given how there is a lot of learning to be achieved on both sides,&lt;br /&gt;
you should probably stop by the [http://webchat.freenode.net/?channels=amahi #amahi irc channel]&lt;br /&gt;
at irc.freenode.net. At least one or two of the usuals&lt;br /&gt;
there are also interested in Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You can also discuss this in the amahi-devel mailing list.&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Talk:Ubuntu&amp;diff=13333</id>
		<title>Talk:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Talk:Ubuntu&amp;diff=13333"/>
		<updated>2010-05-18T19:45:34Z</updated>

		<summary type="html">&lt;p&gt;Cale250: Created the page with the &amp;quot;open questions in mind&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I'd like to start the open discussion here; here's my take on things:&lt;br /&gt;
&lt;br /&gt;
1. I don't think we should stick with RPMs. While it is a LOT easier to package RPMs, most Ubuntu users have become used to Apt and the Debian style of packaging things. This will also help the updating side [switching to Apt], as they will automatically appear within the Update Manager if the repository is up.&lt;br /&gt;
&lt;br /&gt;
2. The current Fedora version we have runs on a desktop machine. Ubuntu 10.04 is probably light enough, if not easier, on the memory than Fedora 12 on install in the Desktop edition. I also bet that if we develop for the desktop, we'll have fewer questions since there will be a GUI. I love working at the command line, but most do not ;)&lt;br /&gt;
&lt;br /&gt;
3. In Ubuntu, updates are handled through two programs: update-manager and unattended-upgrades. The latter is disabled by default and the user must enable automatic download and install of such updates. We'll probably need to write a script that will change that for the user. The user can always be directed to use update-manager as necessary, however.&lt;br /&gt;
&lt;br /&gt;
[[User:Cale250|Cale250]] 19:45, 18 May 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Cale250</name></author>
		
	</entry>
</feed>