Adélie Linux

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Adélie Linux

Post by xeno74 »

The X5000 Linux kernel 6.10-rc4 with Adélie Linux 1.0-beta5 (20240426) in a virtual e5500 QEMU PowerPC machine:

Image
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Adélie Linux

Post by xeno74 »

I uploaded an Adélie Linux PowerPC 32-bit disk image for our AmigaOnes today.

Download: adelie-ppc-1.0-beta5-20240426.img.tar.bz2 1.6G

md5sum: 82485e79d687acb6fd449d3b9197fc2c

User: live
Password: amigaone

Disk image size: 13G

Image
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Adélie Linux

Post by xeno74 »

Adélie Linux uses the APK package manager (Alpine Package Keeper). The APK package manager is very fast, and performs well even on computers with limited resources. APK allows you to add and remove packages, ensure the integrity of installed packages, and perform system updates.

APK refers the entire set of packages you have chosen to install on your computer as a "world". When you install a package, you are adding it to the "world". When you uninstall a package, you are removing it from the "world". The world file exists at /etc/apk/world and is a text file with each package you have chosen to install on a single line.

Code: Select all

apk add <package name>
-> Install a package

Code: Select all

apk del <package name>
-> Delete a package

Code: Select all

apk search libsqlite3.so
-> Search for partial library names

Code: Select all

apk search consul
-> Search for binary names


Config file for repositories: /etc/apk/repositories

Upgrading the system: apk upgrade

Technically, apk upgrade are two steps: apk update, followed by apk upgrade proper. The first step will download an updated package index from the repositories, while the second step will update all packages in World, as well as their dependencies.

If you see errors after the installation of packages then you can fix them with "apk fix".

Start a service by OpenRC:

Code: Select all

# service sshd start
Status:

Code: Select all

# service sshd status
To enable a service, you may use the command rc-update add SERVICE default, where SERVICE is the name of the service.

For example:

Code: Select all

# rc-update add sshd default
To disable a service, and prevent it from automatically starting on system boot, you may use the command rc-update del SERVICE default.

The rc-status utility is a fast way to view the current state of your system’s services.

Adélie Linux uses the s6-linux-init system (/sbin/init). It mounts file systems and starts udev. After that it executes OpenRC for starting the services.

I renamed the libglamoregl.so because of issues in the past.

Code: Select all

# mv /usr/lib/xorg/modules/libglamoregl.so /usr/lib/xorg/modules/libglamoregl.so.bak
Last edited by xeno74 on Mon Jun 24, 2024 9:09 pm, edited 1 time in total.
User avatar
kilaueabart
Posts: 1186
Joined: Mon Mar 05, 2012 2:36 am

Re: Adélie Linux

Post by kilaueabart »

I figured it would be silly to download adelie-ppc-1.0-beta5-20240426.img.tar.bz2 into fienix. I assume it needs to end up in a partition on my /dev/sda/, but I did download and extract it for fun anyway. I have no idea where the .img file is; Engrampa (?) said it was extracting it to /, but "ls /adelie-ppc-1.0-beta5-20240426.img.tar.bz2" of course brings up the expected "no such."
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Adélie Linux

Post by xeno74 »

An img file is a disk image file. It is an ext4 root file system.

You can image the ext4 root file system img to a partition on your hard disk with "dd".

For example:

Code: Select all

dd if=adelie-ppc-1.0-beta5-20240426.img of=/dev/sdb6 && e2fsck -f /dev/sdb6 && resize2fs /dev/sdb6 && tune2fs -L adelie /dev/sdb6
The disk image has a size of 12.9G. I would recommend you at least a 15G empty partition.
User avatar
kilaueabart
Posts: 1186
Joined: Mon Mar 05, 2012 2:36 am

Re: Adélie Linux

Post by kilaueabart »

I used to use dd so much! I had still totally forgotten it in my old age!

Unfortunately, dd if=adelie-ppc-1.0-beta5-20240426.img of=/dev/sda11 && e2fsck -f /dev/sda11 && resize2fs /dev/sda11 && tune2fs -L adelie /dev/sda11 gets me only "No such file or directory," and I guess that's because I didn't tell it where to look. When I added Downloads/ up front, I finally got
1499879+0 records in
1499879+0 records out
767938048 bytes (768 MB, 732 MiB) copied, 28.7661 s, 26.7 MB/s
bash: e2fsck: command not found


That last line worries me, but tomorrow I will have time to see if I can run Adelie.
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Adélie Linux

Post by xeno74 »

kilaueabart wrote: Tue Jun 25, 2024 2:25 am bash: e2fsck: command not found

That last line worries me, but tomorrow I will have time to see if I can run Adelie.
Have you copied the disk image with the normal user? Please try it as root again.
User avatar
kilaueabart
Posts: 1186
Joined: Mon Mar 05, 2012 2:36 am

Re: Adélie Linux

Post by kilaueabart »

The Terminal record makes it clear that I did the dd as root:

root@fienix:/home/fienix# dd if=Downloads/adelie-ppc-1.0-beta5-20240426.img of=/dev/sda11 && e2fsck -f /dev/sdba11 && resize2fs /dev/sda11 && tune2fs -L adelie /dev/sda11
1499879+0 records in
1499879+0 records out
767938048 bytes (768 MB, 732 MiB) copied, 51.5111 s, 14.9 MB/s
bash: e2fsck: command not found


Where should e2fsck be? Its absence may be just one more of the many problems I am having with my repaired x5000.

Another strange thing: When I type "run adelie" in the Command window it complains that it can't find a program with that name, then proceeds without quitting to run fienix! Where does it get that idea?

I checked in Synaptic which says I have e2fsprogs installed, but e2fsck is not listed.
Last edited by kilaueabart on Wed Jun 26, 2024 7:14 pm, edited 1 time in total.
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Adélie Linux

Post by xeno74 »

kilaueabart wrote: Wed Jun 26, 2024 12:33 am Where should e2fsck be?
It is in /sbin/e2fsck. Please try /sbin/e2fsck -f.

resize2fs and tune2fs are also in /sbin.

Code: Select all

dd if=adelie-ppc-1.0-beta5-20240426.img of=/dev/sda11 && /sbin/e2fsck -f /dev/sda11 && /sbin/resize2fs /dev/sda11 && /sbin/tune2fs -L adelie /dev/sda11
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Adélie Linux

Post by xeno74 »

I uploaded a new Adélie Linux PowerPC 32-bit disk image for our AmigaOnes today.

Download: adelie-ppc-1.0-beta5-20240623.img.tar.bz2 2.0G

md5sum: 07ed703a167fe59b7d0dc660fc99821f

User: live
Password: amigaone

Disk image size: 13G

New:
  • Added a lot of KDE apps
  • Removed libglamoregl.so
  • Removed earlygetty service

Image
Post Reply