Cannot Compile Custom Image for Urbit



Recommended Posts

Please forgive me if I posted this in the wrong category. My immediate task isn't related to P2P, but my end goal of setting up a personal server is. I am attempting to compile a custom image with You can read more about the project here I can compile a focal image without customization, but when I attempt to customize the image, I get `umount: /home/nebulay/repo/project/armbian/build/.tmp/rootfs-d412f0e4-e33c-4c0c-909b-9042f7924589: target is busy` This repeats until I hit ctrl+c. I get an image, but it fails to boot.  I have googled it, and this is the only somewhat useful thing I've found which doesn't help me much. Does anyone have any ideas on how compile the image or what could be causing the problem?

Link to post
Share on other sites

Donate and support the project!

I looked at the logs, but it's all gibberish to me. I removed each of the 7 functions in the script 1 at a time and found that InstallRPiMonitor is the offending function. I compiled the image and booted without it.


InstallRPiMonitor() {

apt-get --yes install rpimonitor

apt-get --yes install shellinabox

/etc/init.d/rpimonitor install_auto_package_status_update

# On other SoCs than H3 make minor adjustments to config to reflect Armbian reality:

sed -e "s/^*/$BOARD/" \

-e "s/^*/$BOARD/" \

</etc/rpimonitor/template/raspbian.conf >/etc/rpimonitor/template/armbian.conf

cd /etc/rpimonitor/

ln -sf /etc/rpimonitor/template/armbian.conf data.conf

# fix temperature everywhere

sed -i -e 's|^dynamic.12.source=.*|dynamic.12.source=/etc/armbianmonitor/datasources/soctemp|' \

-e 's|^dynamic.12.postprocess=.*|dynamic.12.postprocess=sprintf("%.1f", $1/1000)|' \


# monitor big cores on big.LITTLE

if [ $(grep -c '^processor' /proc/cpuinfo) -ge 4 ]; then

sed -i 's|/sys/devices/system/cpu/cpu0/cpufreq/|/sys/devices/system/cpu/cpu4/cpufreq/|g' \



# display processor architecture instead of undefined

sed -i -e "s_^static.4.source=.*_static.4.source=lscpu | awk -F' ' '/^Architecture/ {print \$2}'_" \

-e "s/^static.4.regexp=.*/static.4.regexp=/" /etc/rpimonitor/template/version.conf

cat >> /etc/rpimonitor/data.conf <<- ADDLINES








} # InstallRPiMonitor

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.