Elliot Woods Posted August 27, 2017 Posted August 27, 2017 hey all! i want to create my own armbian image to burn to many devices it seems it would be smart to re-enable the firstrun to run the next time the os boots up (i.e. inside another Orange Pi) is the correct way to do this: systemctl enable firstrun ? Id like to: expand the partition set a random mac address create any keys p.s. sorry for multiple error posts.
zador.blood.stained Posted August 27, 2017 Posted August 27, 2017 1 hour ago, Elliot Woods said: expand the partition This is done by the resize2fs service 1 hour ago, Elliot Woods said: set a random mac address On H3 boards MAC address is based on the SID (CPU serial number) and is not controlled by the firstrun service 1 hour ago, Elliot Woods said: i want to create my own armbian image to burn to many devices it seems it would be smart to re-enable the firstrun to run the next time the os boots up (i.e. inside another Orange Pi) There are ways to customize the image during the build process so you don't have to boot it before redistributing. Also on H3 boards with the legacy kernel resizing is a 2-step process that requires reboot, so in addition to enabling it you'll have to also delete /var/lib/armbian/resize_second_stage
Recommended Posts