Asahi rescue system

This commit is contained in:
Alexis Métaireau 2023-12-08 17:22:53 +01:00
parent 9d4a20262c
commit e6127eac97
3 changed files with 101 additions and 1 deletions

View file

@ -0,0 +1,38 @@
# 2022, l'année des concerts
Je n'ai jamais autant été à des concerts de ma vie que ces derniers 6 mois ! La réouverture post-covid à coincidé avec le déménagement de la MJC L'[Antipode](https://antipode-rennes.fr/), qui s'est retrouvée très bien équipée pour accueillir les artistes… et le public !
Ça m'avait vraiment manqué et j'ai *un peu* abusé des bonnes choses à la reprise. Mais je ne regrette rien. Vive les artistes et les salles de spectacle !
Sur l'ensemble des concerts de cette année, voici les petites pépites que j'ai pu rencontrer :
## Mad Foxes
Sur la petite scène de l'Antipode (mon repère de l'année donc) c'était juste parfait. Du bon gros Post-Punk, direct et groovy, mais… pas trop. Dansant en fait ! En album ça envoie et j'ai du mal à ne pas les écouter et ré-écouter. Addictif.
<iframe width="560" height="315" src="https://www.youtube.com/embed/iFJHBqnmLmM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
## Frankie and The Witch Fingers
Ma découverte lors du festival Lévitation à Angers. Une grosse énergie, bien festif et groovy. Je n'avais pas réalisé à quel point j'allais aimer en voyant le concert, mais cet album est maintenant un indispensable pour moi !
<iframe width="560" height="315" src="https://www.youtube.com/embed/kJVQnomrNVg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
## San Salvador
Dans un style complètement différent, on part sur de la polyphonie en Occitan. Le résultat est vraiment génial l'energie qui s'en dégage est assez magnétique. En live c'est très chouette parce que prenant : des morceaux qui durent parfois 15mn, et qui passent sans qu'on s'en doute…
<iframe width="560" height="315" src="https://www.youtube.com/embed/0BD0dcdVBGs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
## Orchestre Tout Puissant Marcel Duchamp (OTMPD)
J'étais fan depuis fort lontemps, et je suivais frénétiquement leurs sorties d'album, mais le seul concert que j'avais vu s'était déroulé sous la pluie et sur une bien grosse scène. Là l'expérience était plus adaptée, dans la salle « micro » du Stéréolux à Nantes. Bah, il⋅elles nous ont carrément mis en transe.
<iframe width="560" height="315" src="https://www.youtube.com/embed/7nerT2JSkFQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
## La Jungle
A la batterie un fou furieux, et à la basse et guitare… pas mieux. Pour tout dire je les ai vu deux fois quasiment d'affilée. La vidéo parle d'elle même (punk, techno, rock). Génial !
<iframe width="560" height="315" src="https://www.youtube.com/embed/oSWzUDwxX4s" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

View file

@ -0,0 +1,62 @@
---
title: Rescuing a broken asahi linux workstation
headline: How I used Alpine linux as a rescue system
tags: Linux, Asahi
---
On my main machine, I'm currently using [Asahi Linux](asahilinux.org/) (on a macbook m1). I've recently broken my system, which wasn't able to boot because of a broken `/etc/fstab`.
On my previous setups, I was able to easily plug an usb key and boot to it to solve my issues, but here I wasn't sure how to deal with it.
After playing a bit (without much luck) with [qemu and vagrant](https://github.com/leifliddy/fedora-macos-asahi-qemu/), someone pointed me to the right direction: using alpine linux.
Here's what I did to solve my broken install:
First, install this alpine linux on a key.
[Download the iso image here](https://dev.alpinelinux.org/~mps/m1/m1-usb-alpine-install.img.xz), and copy it to a key. I'm not sure why, but `dd` didn't work for me, and I ended up using another tool to create the usb from the iso.
```bash
# When booting, press a key to enter u-boot. Then:
env set boot_efi_bootmgr
run bootcmd_usb0
```
Which should get you a session. When connected, do the following:
```bash
# to find the parition you want to mount, marked EFI something
lsblk -f
mount label="EFI - FEDOR" /mnt
# Install the wifi firmware
cd /lib/firmware
tar xvf /mnt/vendor/firmware.tar
/root/update-vendor-firmware
rm /etc/modprobe.d/blacklist-brcmfmac.conf
modprobe brcmfmac
# Connect to the wifi
/etc/init.d/iwd start
iwctl
```
In my case, I wanted to mount a btrfs filesystem to fix something inside.
```bash
apk add btrfs-progs
echo btrfs >> /etc/modules
modprobe btrfs
mount LABEL="fedora" /opt/fedora
```
I then could access the filesystem, and made a fix to it.
---
Resources:
- https://arvanta.net/alpine/install-alpine-m1/
- https://arvanta.net/alpine/iwd-howto/
- https://wiki.alpinelinux.org/wiki/Btrfs

View file

@ -9,7 +9,7 @@ from pelican import signals
from pelican.readers import Markdown, MarkdownReader, pelican_open
from pelican.utils import get_date, slugify
locale.setlocale(locale.LC_TIME, "fr_FR")
locale.setlocale(locale.LC_TIME, "fr_FR.UTF8")
class WorklogPreprocessor(Preprocessor):