by Hypnosis4U2NV » Sat Oct 15, 2011 11:21 pm
I had this running fine for about two months but came home to find the SAMBA server and Pogoplug unresponsive. I rebooted the Pogoplug and it would not boot into Archlinux. Disconnected all the drives except for the boot USB drive and still no go. Took that out and I was able to SSH into the Pogoplug. I figured I would try a complete and fresh reinstall of the system to correct the issue but even that has me starting from square one every single time. Here are the steps that I used to install Archlinux and Samba:
Step 1:
I follow the instructions at
http://archlinuxarm.org/platforms/armv5/pogoplug-v2-pinkgray?quicktabs_platform_tabs=1#quicktabs-platform_tabs and install uboot and Archlinux.
Step 2:
After rebooting into Archlinux I perform a "pacman -Syu" and update all the files except the two kernel26 files.
I modify "/etc/rc.conf" to reflect a new hostname "PogoplugNAS" then REBOOT "/sbin/reboot".
Step 3:
Once booted up, I attach 2 external hard drives to the Pogoplug and mount them one at a time. Hard drive 1 path "/etc/sdb1" labeled "Maxtor" mounted to the directory '/media/Maxtor' and "/etc/sdc1" labeled "Elements" mounted to the directory '/media/Elements'. Once verfied as mounted, I then edited '/etc/fstab' as follows:
$this->bbcode_second_pass_quote('', '
')LABEL=Maxtor /media/Maxtor ext3 defaults 1 2
LABEL=Elements /media/Elements ext3 defaults 1 2
Step 4:
I install Samba as per
http://archlinuxarm.org/support/guides/applications/samba. Edit my 'smb.conf' to read as follows:
$this->bbcode_second_pass_quote('', '
')[global]
workgroup = WORKGROUP
server string = PogoplugNAS
netbios name = PogoplugNAS
security = share
load printers = no
printing = bsd
printcap name = /dev/null
disable spools = yes
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE [Multimedia]
path = /media/Maxtor
read only = no
public = yes
writable = yes
force user = root
[Movies]
path = /media/Elements
read only = no
public = yes
writable = yes
force user = root
Then I edit "/etc/rc.conf" and add Samba to the list of DAEMONS.
I start Samba "/etc/rc.d/samba start" and verify that everything is working with the Samba shares through my local network. All is good! I apply "pacman -S udev-automount" and everything installs without a hitch.
Reboot Pogoplug "/sbin/reboot" and it fails to boot from the USB. Tried different steps using the above settings and it appears that once the external hard drives are mounted to the Pogoplug, it will fail to boot Archlinux.