

sle118
-
Posts
25 -
Joined
-
Last visited
Reputation Activity
-
sle118 got a reaction from tkaiser in How to migrate to new hardware
Posting more progress here in case someone ends up needing the same as myself. I have decided to replace boot and kernel from my SD card using the content of a proper Orange Pi Zero image and it goes like this
Download the image of choice Mount the image on a linux machine Mount the SD card on a Linux machine Rename /boot on the original SD card to /boot.bak (just to be safe) Copy the /boot content from the recent image to /boot of the sd card Copy the content of /usr/src from the recent image to /usr/src of the sd card Open file /boot/armbianEnv.txt and grab the uuid identifier from "rootdev" (e.g. fd472eba-571d-4583-8873-97f09353655c) Find the partition name of the sd card that is being changed (e.g. /dev/sdzz) Change the uuid sudo tune2fs /dev/sdzz -U fd472eba-571d-4583-8873-97f09353655c Merge modules to load (/etc/modules or some similar files). Chances are the new image doesn't have the extra modules that had been installed under the previous kernel sync sudo e2fsck -fD /dev/sdd1 sync (just in case) Eject the card and try to boot it up I will report on progress (if any)
-
sle118 got a reaction from tkaiser in How to migrate to new hardware
@tkaiser I think I made progress here!
The little guy seems to be wanting to boot now (woot!). I'm going to try and explore. So far, 2 services failed to start:
- Login Service
- DHCP Server (this is to be expected, as it was bound to a subnet/network card that isnt there yet)
**Edit : the little guy is definitely booting up now, so I'm considering this as resolved!
-
sle118 reacted to mrshark in Orange Pi Zero went to the market
already said on facebook... you are doing spam everywhere, and with a product which is a rip-off/clone of the witty esp8266 board, which exists from months, now...
-
sle118 got a reaction from Igor in Moving to a larger SD Card
Igor, you made another happy person today. I expanded my partition to 128Gb, no fuss, no issue, thanks to these easy instructions.
-
sle118 reacted to Igor in Moving to a larger SD Card
You can do it this way:
First do a copy to larger image, than execute those commands manually to expand to whole space:
fdisk /dev/mmcblk0 d ENTER # delete 1 ENTER # partition 1 which is the only one n ENTER # create new p ENTER # primary ENTER # default number is 1 ENTER # default start ENTER # default end w ENTER # write to disk reboot # when system gets back resize2fs /dev/mmcblk0p1