Bananian

boot from usb stick or sata in bananian-1501

6 7661
Hi,

does anybody the configuration details for bananian-1501?
The configuration I used for bananian-1411 does not work any longer.

Regards
Hi,

what exactly is your problem? Please provide us some error messages or detailed explanation. Otherwise we can't help you

Hi,

following the guide "boot from usb/sata" on: http://banoffeepiserver.com/setu ... sata-hard-disk.html
It is primarily for bananian on bananapi and near the end it says:
"Adjust boot parameters to use the new disk
The last step is to edit a file on the SD card's boot partition which contains boot parameters. The file is /boot/uEnv.txt (on the Raspberry Pi the equivalent file is /boot/cmdline.txt).  It contains a variable called 'root', and it needs to be adjusted to point to the new partition, /dev/sda1:
nano /boot/uEnv.txt
The file should look like this once you've made the changes:
bootargs=console=ttyS0,115200 console=tty0 disp.screen0_output_mode=EDID:1280x720p50 hdmi.audio=EDID:0 console=tty1 root=/dev/sda1 rootfstype=ext4 elevator=deadline rootwait
aload_script=fatload mmc 0 0x43000000 bananapi/script.bin;
aload_kernel=fatload mmc 0 0x48000000 bananapi/uImage; bootm 0x48000000;
uenvcmd=run aload_script aload_kernel
Finally, restart your server.  When it starts up again, it should use the hard disk as the root file system."
End of instructions

That worked perfectly with bananian 14.08

But I could not find "uEnv.txt" in bananian 15.01

Regards

tkaiser  
Edited by tkaiser at Wed Jan 21, 2015 10:19
airzinho replied at Wed Jan 21, 2015 10:03
following the guide "boot from usb/sata" on ... It is primarily for bananian


Nope, it's for Raspbian. On Bananian you have to mount the partition before like outlined here: http://my5cent.spdns.de/en/banan ... tplatte-booten.html
  1. umount /mnt/
  2. mount /dev/mmcblk0p1 /mnt/
  3. nano /mnt/uEnv.txt
Copy the Code

I've written an dialog-based script for moving your rootfs to USB or SATA.

It should be integrated in one of the next releases of Bananian.
At this time it is not widely tested so you should use it with care.
But on my BPi i have moved the rootfs to different Sticks and HDDs and it works well.

You can find the script at GitHub:
https://github.com/hirnwunde/bananian-rootfsmover

tkaiser  
Edited by tkaiser at Mon Jan 26, 2015 07:51
hirnwunde replied at Mon Jan 26, 2015 06:59
I've written an dialog-based script for moving your rootfs to USB or SATA.


I would recommend changing the partition layout to GPT ("mklabel gpt") and strongly recommend using the 'Partition unique GUID' in uEnv.txt: "root=UUID=<Partition unique GUID>" instead of a partition number since they can change randomly (due to USB disks connected or using a port multiplier). For details please have a look at http://forum.lemaker.org/forum.p ... 7&fromuid=33332

Thank you for this note, tkaiser!

Next version i will add this, too.

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

Points Rules