Minimal os for M1

Post Reply
fatjulio
Posts: 5
Joined: Wed May 01, 2024 9:24 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Minimal os for M1

Post by fatjulio »

I'm after the most minimal os for the M1. I'm using it as a media server, using samba and nfs to access a sata ssd, which is also the system. I've got the stock Ubuntu versions working fine, but there's still a lot of services going on in the background.

With x86 hardware I had good results from OS's like Alpine and Tiny Core.

User avatar
mctom
Posts: 4211
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S, N2
Location: Gdańsk, Poland
Has thanked: 621 times
Been thanked: 850 times
Contact:

Re: Minimal os for M1

Post by mctom »

Ubuntu Server is a good choice for that. Here's what my M1 server do, as seen here: viewtopic.php?p=359250#p359250
- borg-backup: Daily backups of my workstation
- PiHole: ad-filtering DNS and DHCP
- deluge daemon: Torrent client, remotely controlled from my workstation
- mctom's theatre for playing movies on a projector (description below)
- pipe-viewer: for playing youtube music remotely from any workstation,
- boinc: low-priority, voluntary CPU time sharing platform for various purposes
- openvpn server
- cups: print server for VPN clients
- eos: a IR remote to PWM output daemon for LED lighting
- NoIP Dynamic Update Client (DDNS)
- Simple HTTP file server
- NFS server
Current RAM usage: 319MB
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

mara
Posts: 59
Joined: Sun Sep 13, 2020 4:55 am
languages_spoken: english
Has thanked: 0
Been thanked: 12 times
Contact:

Re: Minimal os for M1

Post by mara »

fatjulio wrote:
Sun May 26, 2024 8:05 am
I'm after the most minimal os for the M1. I'm using it as a media server, using samba and nfs to access a sata ssd, which is also the system. I've got the stock Ubuntu versions working fine, but there's still a lot of services going on in the background.

With x86 hardware I had good results from OS's like Alpine and Tiny Core.
use also Alpine, Slackware, Crux-arm, irradium
donation slarm64

igorpec
Posts: 1137
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 76 times
Been thanked: 172 times
Contact:

Re: Minimal os for M1

Post by igorpec »

fatjulio wrote:
Sun May 26, 2024 8:05 am
I'm after the most minimal os for the M1. I'm using it as a media server, using samba and nfs to access a sata ssd, which is also the system. I've got the stock Ubuntu versions working fine, but there's still a lot of services going on in the background.

With x86 hardware I had good results from OS's like Alpine and Tiny Core.
First download link. It comes with ... nothing :)
https://www.armbian.com/odroid-m1/

fatjulio
Posts: 5
Joined: Wed May 01, 2024 9:24 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal os for M1

Post by fatjulio »

Thanks for the replies. The Armbian option says it replaces Petitboot with u-boot. I currently have the Ubuntu OS on the M1, and am swapping SSD's with different installations to compare OS's. Would Ubuntu still boot with u-boot? I've seen other OS options mention the use of u-boot. Are there any downsides to having this instead of Petitboot?

User avatar
mctom
Posts: 4211
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S, N2
Location: Gdańsk, Poland
Has thanked: 621 times
Been thanked: 850 times
Contact:

Re: Minimal os for M1

Post by mctom »

Igor forgot to mention that he's the author and maintainer of Armbian. Since he tricked me into his product once I feel it's only fair to warn you.

AFAIK M1 is quite stable on mainline kernel, so if you're hardcore you could even roll your own bare bone linux. ;)

Another interesting option from Arch world is Manjaro minimal for Odroid M1. https://manjaro.org/download/
I run Manjaro Minimal on No-X netbook of mine, the RAM footprint is <100MB after boot.

The problem with TinyCore / dCore is absence of software upgrade mechanisms, but that may be fine unless you plan to keep any of your services secure.
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

igorpec
Posts: 1137
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 76 times
Been thanked: 172 times
Contact:

Re: Minimal os for M1

Post by igorpec »

mctom wrote:
Tue May 28, 2024 4:07 pm
Since he tricked me into his product once I feel it's only fair to warn you.
Tricked? What Armbian project did bad to you? What I personally did bad to you? What do you need to warm him about?

Quite some work of bringing this device (Odroid M1) to modern mainline Linux and ridding off legacy boot code, was ours (our work gets to other distributions eventually). We also tried to sell this work to Hardkernel, but they don't seems to be interested in mainline (and outside Petitboot ways), even we carry most of the costs. I think they simply don't like to loose control and I understand this. Neither many other vendors don't want to hear about mainline.

It is more complex getting there, chaotic, hard to support and a direct financial loss for vendor or project that does that. Once its mainline, it become easier. For you and for amateur Linux distributions. Anyone can utilise and sell code (ask for donations for their art work), that is made and released public. Some even tries to profits on that 3rd party work.

Armbian is one of the few open source projects that primarily invests into open source at pretty large scale. Look into logs, try to resolve a problem for everyone in future release. You don't fix problems for me, but for yourself, for others. Can also be done without boosting own ego, anonymous. 4 x https://docs.armbian.com/Release_Change ... -2025-25-5 = ???

Change-log is an indisputable representation of (development) activity. Some supports this, some rather supports project that only mix things up, and what is biggest problem - most don't care at all. Its free software which developers has to pay for or it does not exists. Perhaps having an ass-hole attitude is simply necessary survival tool / skill in this line of work? Being nice doubles or triples expenses and stress users should be never making to non profits and individuals that maintains open source software.
mctom wrote:
Tue May 28, 2024 4:07 pm
Another interesting option from Arch world is Manjaro minimal for Odroid M1. https://manjaro.org/download/
Manjaro is a (commercial wanna be) distributor, DJ. They did some tweaks to Pinebook Linux back in the days and that is most of it. You and Manjaro both seek and expect profits. They financial, you emotional. Base of this wish / demand is that critical software infrastructure is financed by just someone and it has to just work. I don't expect you will change your believes or do things differenly, but you could perhaps adjust expectations you have towards open source software in general? There is also quite a difference between hackers, developers, software DJs, things ain't black and white.

Of course I am biased ... but with big change logs, that proves activities, there is no motive to purposefully sell some BS. Sadly, in commercial world, where only profits matters, anything is allowed. For example - most of honest Linux distributions label trunk builds as "testing", "rolling", "daily", "nightly", ...
rolling.png
rolling.png (66.17 KiB) Viewed 220 times
while Manjaro fools users and make fun out of software development (not the first time) by tagging testing trunk builds, that are only frozen in time, as "stable". I understand why, question is if do you see anything bad in this? Please don't take any of this personally as its valid for many, including me from a position of end user, and / or be angry about me. My perspective is different and I am happy to share it. Or do I need to state: "Opinions expressed are solely my own and do not express the views or opinions of the project I represent.", so only facts matters.

fatjulio
Posts: 5
Joined: Wed May 01, 2024 9:24 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Minimal os for M1

Post by fatjulio »

How would I get Alpine to work on the M1?

User avatar
mctom
Posts: 4211
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S, N2
Location: Gdańsk, Poland
Has thanked: 621 times
Been thanked: 850 times
Contact:

Re: Minimal os for M1

Post by mctom »

I've never heard of Alpine image for M1, perhaps @mara will know where to look for it.
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

igorpec
Posts: 1137
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 76 times
Been thanked: 172 times
Contact:

Re: Minimal os for M1

Post by igorpec »

fatjulio wrote:
Mon Jun 03, 2024 9:49 am
How would I get Alpine to work on the M1?
If you want to run Alpine on a bare metal, you need to reach out to Alpine Linux developers.
https://wiki.alpinelinux.org/wiki/Alpine_on_ARM
https://wiki.alpinelinux.org/wiki/Alpin ... ted_boards
Doesn't look promising ... while Armbian on the other hand has a team that is specialised in maintaining critical infrastructure (boot loader and kernel) that most of others don't even touch. On a bare metal, this is most critical while for running containarised, and Alpine is ofc fine.

mara
Posts: 59
Joined: Sun Sep 13, 2020 4:55 am
languages_spoken: english
Has thanked: 0
Been thanked: 12 times
Contact:

Re: Minimal os for M1

Post by mara »

mctom wrote:
Mon Jun 03, 2024 3:54 pm
I've never heard of Alpine image for M1, perhaps @mara will know where to look for it.
try irradium
donation slarm64

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest