reamond Posted July 27, 2016 Posted July 27, 2016 Unfortunately I was very hasty and in connection to my goal to copy between sdcards I used Paragon disk manager to shrink my original partition. Like I mentioned... bad move. And now the partition is not bootable. Paragon wrote that I need to "reinit boot loader" , but I can not find any information how to do it. I can not believe it can be complicated... and again I have no idea what to do? Any help.... /R
zador.blood.stained Posted July 27, 2016 Posted July 27, 2016 First, you need to make sure there is at least 1MB of unused space before first partition. Second, you need to write u-boot to your SD card: Download u-boot package for your board, assuming it is Orange Pi One, use this: http://apt.armbian.com/pool/main/l/linux-u-boot-orangepione-default/linux-u-boot-orangepione_5.16_armhf.deb Extract u-boot-sunxi-with-spl.bin from this package: dpkg -x linux-u-boot-orangepione_5.16_armhf.deb /tmp Write u-boot image: if your card appeared as /dev/sda (you need to verify this and use appropriate device name), execute dd if=/tmp/usr/lib/linux-u-boot-orangepione_5.16_armhf/u-boot-sunxi-with-spl.bin of=/dev/sda bs=1024 seek=8
reamond Posted July 28, 2016 Author Posted July 28, 2016 Super... that worked without a hiccup. Thanks /R
Recommended Posts