SATA connection

Cubietruck related support

SATA connection

Postby adosero » 02 Aug 2015, 10:50

Hi everyone,
I've been using a windows server 2012 based CAPS for a while and I wanted to give a try to cubietruck and runeaudio after I heard really good things about this combo.
I followed the guides and everything works like a charm except I can not connect my music storage ssd via sata port. I searched different forums about sata connection and I finally found out that I need to set the things manually.
Could you kindly help me to make it recognise and use my music ssd on rune audio? Please note that I had never seen a linux screen before I purchased this little marvel.. :)
Thanks a lot in advance..

Best.
adosero
 
Posts: 5
Joined: 02 Aug 2015, 10:39

Re: SATA connection

Postby hondagx35 » 02 Aug 2015, 12:28

Hi adosero,

it is not that hard to do, please try this:
- connect your sata ssd to the cubietruck
- get access to the console *1
- get the UUID from your ssd *2
- edit the file /etc/fstab *3
- reboot your device


*1
This can be done by connecting a monitor and keyboard or by using ssh from a second computer.

    If you are not familiar with SSH read this for Windows or this for Linux/MacOS
    The default login for RuneAudio is "root" with the password "rune" (without quotes).

*2
The UUID can be retrieved with the command "blkid"
Code: Select all
[root@runeaudio ~]# blkid
/dev/nand1: SEC_TYPE="msdos" UUID="F9C2-B1BE" TYPE="vfat"
/dev/nand2: UUID="c54e7398-a2d2-4ccb-9482-bb2425ec96b8" TYPE="ext4"
/dev/sda1: UUID="df11c704-1523-4838-892a-32afca68c667" TYPE="ext4" PARTUUID="50bfc7f2-01"

Normally your ssd should be named like mine (/dev/sda1).

*3
Edit the file /etc/fstab
Code: Select all
[root@runeaudio ~]# nano /etc/fstab

Code: Select all
#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
logs            /var/log                tmpfs           nodev,nosuid,noatime,mode=1777,size=5M   0   0
rune-logs       /var/log/runeaudio      tmpfs           nodev,nosuid,noatime,mode=1777,size=5M   0   0
UUID=df11c704-1523-4838-892a-32afca68c667       /mnt/MPD/LocalStorage   ext4            rw,noatime   0   0

Adapt the UUID and type (ext4) to your needs.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: SATA connection

Postby adosero » 02 Aug 2015, 13:27

wow, thank you Frank.

I'm using a mac so I connected thru terminal. It didn't ask the username, asked only the password and rune did not work. do you have any idea why?

thanks again..

Serhan@192.168.0.16's password:
Permission denied, please try again.
Serhan@192.168.0.16's password:
Permission denied, please try again.
Serhan@192.168.0.16's password:
adosero
 
Posts: 5
Joined: 02 Aug 2015, 10:39

Re: SATA connection

Postby adosero » 02 Aug 2015, 14:33

oups my bad.. I had to login as root@...
adosero
 
Posts: 5
Joined: 02 Aug 2015, 10:39

Re: SATA connection

Postby adosero » 02 Aug 2015, 14:42

WHan I type blkid here is what I get:

[root@runeaudio ~]# blkid
/dev/sda1: LABEL="Audio" UUID="94B01BABB01B933A" TYPE="ntfs" PARTUUID="39eea139-01"
/dev/mmcblk0p1: UUID="87d2dfcb-3ec2-4c71-a5d5-0994ab87de7e" TYPE="ext4" PARTUUID="000bd832-01"
/dev/mmcblk0: PTUUID="000bd832" PTTYPE="dos"

how should I edit the the file /etc/fstab afterwards?

thanks a lot again for your help..
adosero
 
Posts: 5
Joined: 02 Aug 2015, 10:39

Re: SATA connection

Postby hondagx35 » 02 Aug 2015, 15:12

Hi adosero,

your ssd is formated with ntfs.

Add this line to the end of /etc/fstab
Code: Select all
UUID=94B01BABB01B933A       /mnt/MPD/LocalStorage     ntfs   rw,noatime   0   0


I did not try this on ArchLinux, because ntfs is not the best filesystem for use with linux.
If you encounter problems with the above mentioned, then try this:
https://wiki.archlinux.org/index.php/NTFS-3G

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: SATA connection

Postby adosero » 02 Aug 2015, 15:54

thank you very much Frank, everything works like a charm and sound is definitely better!
adosero
 
Posts: 5
Joined: 02 Aug 2015, 10:39

support RuneAudio Donate with PayPal


Return to Cubietruck

Who is online

Users browsing this forum: No registered users and 0 guests
cron