{"id":91,"date":"2010-12-14T00:35:27","date_gmt":"2010-12-14T08:35:27","guid":{"rendered":"http:\/\/www.idleengineers.com\/?p=91"},"modified":"2010-12-14T00:35:27","modified_gmt":"2010-12-14T08:35:27","slug":"how-i-put-gentoo-on-a-seagate-dockstar","status":"publish","type":"post","link":"https:\/\/idleengineers.com\/blog\/how-i-put-gentoo-on-a-seagate-dockstar\/","title":{"rendered":"How I put Gentoo on a Seagate Dockstar"},"content":{"rendered":"

This is just the short version of what I did to put gentoo on a\u00a0Seagate Dockstar<\/a>. \u00a0What does “short version” mean? \u00a0It means that it just points to the\u00a0relevant\u00a0bits of the\u00a0relevant\u00a0guides that I followed to make it work. \u00a0If I have time at some point I intend on posting a more full version so this “guide” does not have to rely on someone\u00a0else’s “guide” that may not be there later.<\/p>\n

DISCLAIMER: This site and any of it’s admins\/moderators\/staff and myself\u00a0cannot be held\u00a0responsible\u00a0if anyone follows this “guide” and damages or “bricks<\/a>” their dockstar (or damages anything else) while using, in full or in part, the information presented here. \u00a0Use this information at your own risk!<\/strong><\/span><\/p>\n

The hardware I used was a Seagate Dockstar model# STDSA10G-RK with an external FreeAgent Go hard disk model# ST903203FGA2E1-RK<\/p>\n

Here is what I did:<\/strong><\/p>\n

First I went here:
\n
http:\/\/www.plugapps.com\/index.php5?title=PlugApps:Pogoplug_Setboot<\/a>
\nand followed everything up to “Things To Do After First Boot<\/em>“.
\nMake sure you run the command to tell it you want to use ext3 for you boot partition.<\/p>\n

Then I went here:
\n
http:\/\/www.gentoo.org\/doc\/en\/handbook\/handbook-arm.xml?part=1&chap=4<\/a>
\nI made the whole drive one big ext3 partition because I suspected that the uBoot bootloader that I used wouldn’t accept more then one partition.
\nI didn’t actually play with it though.
\nI followed the instructions up to “7.b. Installing the Sources<\/em>”
\nInstead of a swap partition, I made a 1GB swap file like this:<\/p>\n

Code Listing<\/div>\n
\n
dd if=\/dev\/zero of=\/mnt\/gentoo\/.swapfile count=2M\nmkswap \/mnt\/gentoo\/.swapfile\nswapon \/mnt\/gentoo\/.swapfile<\/pre>\n<\/div>\n

Make sure you add the swap file to fstab so that it gets used otherwise you will get compile failures when the dockstar runs out of memory.<\/p>\n

Then I went here:
\n
http:\/\/dev.gentoo.org\/~armin76\/arm\/sheevaplug\/install.xml#doc_chap5<\/a>
\nI followed just the instructions for “5. Installing Gentoo<\/em>”
\nNote: I didn’t use vanilla-sources, I used gentoo-sources<\/p>\n

If you have any kernel modules I recommend you “make modules”.
\nThen I continued from here (7.f. Kernel Modules<\/em>):
\n
http:\/\/www.gentoo.org\/doc\/en\/handbook\/handbook-arm.xml?part=1&chap=7#doc_chap6<\/a>
\nand followed the rest of the handbook until the end.<\/p>\n

Some things worth mentioning…
\n
Fail2Ban<\/a>-0.8.4-r2, Shorewall-Perl<\/a>-4.2.11.1\u00a0and Nut<\/a>-2.4.3-r2\u00a0all installed and ran just fine even though they were masked by “missing keyword”
\nIf you want
PHP<\/a>, go with 5.3.3 or greater otherwise you may get Segmentation Faults.
\nIf, for some reason, you want recursive DNS use
unbound<\/a> (version 1.4.3 worked for me). \u00a0pdns-recursor<\/a> versions 3.1.7.2 and 3.2\u00a0use the function “swapcontext” which is not supported by glibc<\/a> (version 2.11.2-r3 and most likely not any other version either) on arm<\/a>.
\nThe front LED does not work other then blinking green while uBoot is loading. I haven’t looked in to this.<\/p>\n","protected":false},"excerpt":{"rendered":"

This is just the short version of what I did to put gentoo on a\u00a0Seagate Dockstar. \u00a0What does “short version” mean? \u00a0It means that it just points to the\u00a0relevant\u00a0bits of the\u00a0relevant\u00a0guides that I followed to make it work. \u00a0If I have time at some point I intend on posting a more full version so this […]<\/p>\n","protected":false},"author":4,"featured_media":673,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/idleengineers.com\/wp-json\/wp\/v2\/posts\/91"}],"collection":[{"href":"https:\/\/idleengineers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idleengineers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idleengineers.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/idleengineers.com\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":0,"href":"https:\/\/idleengineers.com\/wp-json\/wp\/v2\/posts\/91\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/idleengineers.com\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/idleengineers.com\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idleengineers.com\/wp-json\/wp\/v2\/categories?post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idleengineers.com\/wp-json\/wp\/v2\/tags?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}