Jump to content

OPi Zero 2W - installing arch distro over armbian


t-bob

Recommended Posts

First off, I would like to give the crew at Armbian a huge heartfelt thanks for all the awesome work you do under sometimes trying conditions.

 

I would like to present Archian, the bastard child of Armbian & Arch.

 

Why … well, the project I am working on needed current versions of phosh & plasma-mobile and the versions on jammy/bookworm were quite old. The OPi supplied image was quite flaky so I had to find a way to mash these together. And this is the result.

 

It does need to be run as root !

 

The script has 3 arguments:

init - downloads the armbian image file, arch rootfs and arch packages. You need to then write the image to an SD-CARD
install - this installs arch over the armbian image on the SD-Card
finish - run this option on a booted image as root
 

It has limited/no error checking so run this at your own risk.

 

A wise/cautious person would run the install commands manually as it could really mess up your host system if it goes badly.

 

It could be easily modified to work with different boards but OPi Zero 2W is what I have.

 

Don't forget to edit the script before running it so that ‘things’ point to where you want them.

 

The root password is root.

 

You will need an external screen & keyboard to use it as networking wont work until it is fully installed.

 

Have a play and let me know any issues.
 

archian.sh

Link to comment
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.

Guest
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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines