[solved]Banana Pi rootfs on sata

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[solved]Banana Pi rootfs on sata

Postby sosyco » Tue Jul 02, 2019 3:33 pm

hi,
as as newbie i installed successful archlinux on my banana pi (M1) via sd-card.
I followed this instructions:
https://wiki.archlinux.org/index.php/Banana_Pi

Now I want to modify the boot.scr (or boot.cmd) to start with my rootfs on the connected SATA-device.
I cloned the hole sd-card with
$this->bbcode_second_pass_code('', '
dd if=/dev/mmcblk0p1 of=/dev/sda1
resize2fs /dev/sda1
')

and modified the boot.cmd on my sd-card:
$this->bbcode_second_pass_code('', '...
setenv bootargs console=${console} root=/dev/sda1 rw rootwait
...')
and write it back to /boot/boot.scr

but my system hangs always on the 2 tux with a blinking cursor.

Some solutions, hints, tips?

wr
IP
sosyco
 
Posts: 4
Joined: Mon Jul 01, 2019 4:11 pm

Re: Banana Pi rootfs on sata

Postby sosyco » Wed Jul 03, 2019 8:24 am

hi all,
after modifying the installation-process and some file, i have now an easy way to install arch-linux on my banana pi using a hard-disc or ssd for rootfs.

if interested you can find the description here: https://github.com/sosyco/bananapi

happy hacking
IP
sosyco
 
Posts: 4
Joined: Mon Jul 01, 2019 4:11 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 7 guests