Trouble

Trying to install a SATA drive..

13 4272
Ryssen  
Edited by Ryssen at Mon May 4, 2015 10:02

I am trying to install a sata drive on my BananaPro.I have installed Debian Wheezy from this site>http://www.igorpecovnik.com/2014/09/07/banana-pi-debian-sd-image/   but I cant find or run the script ./sata-install
How do I go on with this,as I cant find the script in any folder,where should it be..
Do you want to install Debian to your sata disk or just add a sata disk to your banana pi?

For the first one, connect to your banana pi as root (e.g ssh root@ip_address) using the password 1234. As Igor says "You will be prompted to change this password at first login. This is the only pre-installed user". Then follow the instructions from his site.
  1. cd /root
  2. ./nand-sata-install
Copy the Code
For the second one, just connect your sata drive to your banana pi and linux will recognize the disk.

Ryssen  
Edited by Ryssen at Mon May 4, 2015 14:44

I have already installed Debian(not on my sata..),but whem I run the command I get.

  1. Load: 3.34, 1.76, 0.72 - Board: 49.0��C - Memory: 696Mb

  2. temsa@bananapi:~$ su
  3. Password:

  4. Load: 3.79, 2.05, 0.86 - Board: 49.0��C - Memory: 694Mb

  5. root@bananapi:/home/temsa# cd /root
  6. root@bananapi:~# ./nand-sata-install
  7. bash: ./nand-sata-install: No such file or directory
  8. root@bananapi:~#
Copy the Code

That's weird. Could you please check the content of the /root folder with
  1. sudo ls -al /root
Copy the Code

Ryssen  

  1. Load: 2.05, 1.26, 1.18 - Board: 49.0��C - Memory: 683Mb

  2. temsa@bananapi:~$ su
  3. Password:

  4. Load: 2.05, 1.34, 1.21 - Board: 47.4��C - Memory: 683Mb

  5. root@bananapi:/home/temsa# cd /root
  6. root@bananapi:~#     sudo ls -al /root
  7. total 348
  8. drwx------ 27 root root   4096 May  4 22:00 .
  9. drwxr-xr-x 22 root root   4096 May  4 19:30 ..
  10. drwx------  2 root root   4096 May  4 00:18 .aptitude
  11. -rw-------  1 root root   1075 May  4 21:59 .bash_history
  12. -rw-r--r--  1 root root    570 Jan 31  2010 .bashrc
  13. drwx------ 13 root root   4096 May  4 22:00 .cache
  14. drwx------ 14 root root   4096 Apr 27 22:13 .config
  15. drwx------  3 root root   4096 Apr 25 15:34 .dbus
  16. drwxr-xr-x  2 root root   4096 Apr 25 15:34 Desktop
  17. drwxr-xr-x  2 root root   4096 Apr 25 15:34 Documents
  18. drwxr-xr-x  2 root root   4096 Apr 25 15:34 Downloads
  19. drwx------  4 root root   4096 May  4 21:56 .gconf
  20. drwx------  5 root root   4096 May  4 22:00 .gnome2
  21. drwx------  2 root root   4096 Apr 25 15:49 .gnome2_private
  22. drwx------  2 root root   4096 Apr 25 15:42 .gnupg
  23. drwxr-xr-x  2 root root   4096 Apr 27 22:08 .gstreamer-0.10
  24. -rw-r--r--  1 root root    107 May  4 21:56 .gtk-bookmarks
  25. drwx------  2 root root   4096 Apr 25 15:34 .gvfs
  26. -rw-------  1 root root   4250 May  4 21:56 .ICEauthority
  27. -rw-r--r--  1 root root     68 Apr 27 22:05 .install-exclude
  28. drwxr-xr-x  3 root root   4096 Apr 25 15:34 .local
  29. drwx------  3 root root   4096 Apr 25 15:35 .mission-control
  30. drwx------  4 root root   4096 Apr 25 15:49 .mozilla
  31. drwxr-xr-x  2 root root   4096 Apr 25 15:34 Music
  32. -rwxr-xr-x  1 root root   9706 Apr  1 19:59 nand-sata-install.sh
  33. drwxr-xr-x  2 root root   4096 Apr 25 15:34 Pictures
  34. -rw-r--r--  1 root root    140 Nov 19  2007 .profile
  35. drwxr-xr-x  2 root root   4096 Apr 25 15:34 Public
  36. drwx------  2 root root   4096 May  5 17:18 .pulse
  37. -rw-------  1 root root    256 Apr 25 15:34 .pulse-cookie
  38. -rw-r--r--  1 root root  18470 Apr  1 20:01 readme.txt
  39. drwx------  2 root root   4096 Apr 25 15:42 .ssh
  40. drwxr-xr-x  2 root root   4096 Apr 25 15:34 Templates
  41. drwx------  4 root root   4096 Apr 27 22:10 .thumbnails
  42. drwxr-xr-x  2 root root   4096 Apr 25 15:34 Videos
  43. drwx------  2 root root   4096 Apr 26 17:47 .vnc
  44. -rw-------  1 root root    600 May  4 22:00 .Xauthority
  45. -rw-------  1 root root 170438 May  4 22:00 .xsession-errors
  46. root@bananapi:~#
Copy the Code

Ryssen  

  1. root@bananapi:~# ./nand-sata-install.sh
  2. No targets avaliable!
  3. root@bananapi:~#
Copy the Code

Edited by pikitsan at Tue May 5, 2015 14:24
Ryssen replied at Tue May 5, 2015 13:09


Ok it's working, but the script can't find an external destination to install the root filesystem.
Connect your sata drive and then run the script, it should work!

Ryssen  
The sata drive been connected all the time,even tried with a new sata cable,No targets avaliable!

Can you see the hard drive from your banana board? Check it with:
  1. lsblk
Copy the Code
or
  1. fdisk -l
Copy the Code
If script won't work, you can do it manually by checking the commands from the script. There are also a faw tutorials about how to do that.

Ryssen  
Edited by Ryssen at Wed May 6, 2015 08:48

It seems as I only see the SD card>
  1. root@bananapi:/home/temsa# cd /root
  2. root@bananapi:~# lsblk
  3. NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
  4. mmcblk0     179:0    0   7.5G  0 disk
  5. ������mmcblk0p1 179:1    0   7.5G  0 part /
  6. root@bananapi:~# fdisk -l

  7. Disk /dev/mmcblk0: 8054 MB, 8054112256 bytes
  8. 40 heads, 56 sectors/track, 7022 cylinders, total 15730688 sectors
  9. Units = sectors of 1 * 512 = 512 bytes
  10. Sector size (logical/physical): 512 bytes / 512 bytes
  11. I/O size (minimum/optimal): 512 bytes / 512 bytes
  12. Disk identifier: 0x0007cca9

  13.         Device Boot      Start         End      Blocks   Id  System
  14. /dev/mmcblk0p1            2048    15730687     7864320   83  Linux
  15. root@bananapi:~#
Copy the Code
The disk is spinning...
If script won't work, you can do it manually by checking the commands from the script

When I try to get in to root folder It says that I dont have permission to do that.

You have to log in before you can reply Login | Sign Up

Points Rules