Bananian

No /boot/uEnv.txt to edit to boot from SATA drive

5 1131
camper  
Hi,

I have a Banana Pi and an SATA-SSD. I've already installed Rasbian to boot from the SATA-SSD without problem using the common instructions (e.g. from http://tech.argyropoulos.info/moving-bananian-to-sata-hdd/). Now I'm trying the same with the latest bananian-1604.img, but I'm stuck because on the boot partition of the SD card there is no /boot/uEnv.txt. Instead, there are only fex/, uImage, script.bin, boot.cmd and boot.scr.

Thanks in advance,
Tom
camper  
Edited by camper at May 07, 2016 11:09

I've found it. Had to replace the
  1. root=/dev/mmcblk0p2
Copy the Code

with
  1. root=/dev/sda1
Copy the Code

in the boot.cmd and execute

  1. $ apt-get install u-boot-tools
  2. $ cd /media
  3. $ rm boot.scr
  4. $ mkimage -C none -A arm -T script -d boot.cmd boot.scr
Copy the Code



I'm unable 'boot.cmd' file
I only have these files in /boot
boot.scr                 System.map-3.4.111-bananian
config-3.4.111-bananian  vmlinuz-3.4.111-bananian

Any ideas where boot.cmd is or do I have to make it?

I see from reading it is meant to reside in /tmp/boot but my /tmp directory is empty!

Seems I have some other issues

mos87  
I had the same problem but found the solution with this hint:
http://forum.lemaker.org/thread-11997-1-1.html

  1. umount /mnt/
  2. mount /dev/mmcblk0p1 /mnt/
  3. nano /mnt/uEnv.txt
Copy the Code


after that I found boot.cmd and could successful boot from (in my case) USB

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

Points Rules