how to access sata drive after installing archlinux

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

how to access sata drive after installing archlinux

Postby iBabu » Fri Oct 12, 2012 7:39 pm

i just finished installing archlinux on my 2tb goflex home, following tutorial on this site, and i can ssh to it and it works, but the question is how do i access hd?
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

Re: how to access sata drive after installing archlinux

Postby moonman » Fri Oct 12, 2012 7:56 pm

Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: how to access sata drive after installing archlinux

Postby iBabu » Fri Oct 12, 2012 8:07 pm

thank you
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

Re: how to access sata drive after installing archlinux

Postby iBabu » Sat Oct 13, 2012 7:29 pm

i installed samba but couldn't really get it to connect, it connects but doesn't let me go pass login screen so gave up on that, but then i installed vsftpd and it let me connect using ftp://ip-adress , but the problem im having is when i check the size of that mounted drive it only says it's 1gb big so it's not mounting the correct partition or whatever. when i ran fdisk -l it shows me two parition /dev/sda1 which is im thinking boot partition and other is /dev/sda2 - ext3 format. can anyone help me out configuring right setup so i can mount the other partition?
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

Re: how to access sata drive after installing archlinux

Postby moonman » Sat Oct 13, 2012 11:11 pm

$this->bbcode_second_pass_code('', 'mkdir /media/Part2
echo "/dev/sda2 /media/Part2 ext3 noatime 0 0" >> /etc/fstab')

Just copy-paste that to ssh session and reboot the plug.

For samba, if you followed the guide correctly, then you should have this in your smb.conf:
$this->bbcode_second_pass_code('', '[ArchLinuxARM]
path = /media/mnt_sdx1/
read only = no
public = yes
writable = yes
force user = root')

ArchLinuxArm --> change to whatever name you like
path --> change to the path of your shared folder. For example path=/media/Part2
other 4 lines are important as well and the force user one is actually the one that will prevent username and pass to be asked when you want to access the share.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: how to access sata drive after installing archlinux

Postby iBabu » Sun Oct 14, 2012 6:10 pm

Screen Shot 2012-10-14 at 1.05.05 PM.png
Screen Shot 2012-10-14 at 1.05.05 PM.png (222.09 KiB) Viewed 6206 times
i did above but still pops up login window and doesnt let me go past it
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

Re: how to access sata drive after installing archlinux

Postby karog » Sun Oct 14, 2012 7:29 pm

Are you sure samba is running and not just configured? Do
$this->bbcode_second_pass_code('', '
ps ax|grep smbd')
You should see something like
$this->bbcode_second_pass_code('', '
923 ? Ss 0:00 /usr/sbin/smbd -D
936 ? S 0:00 /usr/sbin/smbd -D
')
If not running, you can start with
$this->bbcode_second_pass_code('', '
rc.d start samba')
and to start on boot include samba in /etc/rc.conf DAEMONS list.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: how to access sata drive after installing archlinux

Postby moonman » Sun Oct 14, 2012 11:01 pm

Well for MACOS it will always popup, because macosx since lion has different implementation of samba. You can try guest (this works for me) or login with your ssh credentials.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: how to access sata drive after installing archlinux

Postby karog » Sun Oct 14, 2012 11:24 pm

Before I did not notice that your image was scrollable and that it popped up the credentials window. Did you change the Name: to root in that and give the root password?
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: how to access sata drive after installing archlinux

Postby iBabu » Mon Oct 15, 2012 4:30 pm

yea i tried root - root, and also guest, and also user account i created on archlinux credentials neither works
and yes i did rc.d start samba was running.
iBabu
 
Posts: 32
Joined: Thu Oct 11, 2012 2:43 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 6 guests