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

5 5620

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 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,
Edited by camper at May 07, 2016 11:09

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

  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
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

I had the same problem but found the solution with this hint:

  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