Memo (March 2020) that I was addicted to when installing Arch Linux on MacBook Air 11'Early 2015

This is a scribbled note. When I tried to refresh the Arch Linux environment after a long time, it took a lot of time.

New kernel does not recognize built-in storage (nvme0n1)

I knew that this symptom wouldn't start at some point, so I installed and used the lts kernel from the middle. I haven't investigated the technical background, but according to this thread, nvme is supported from Linux Kernel 5.1.5. It is said that it is no longer available. However, as far as I could confirm, I didn't recognize at least my aircraft even in the earlier 4.19. As far as I got the installation images of various generations and tried it, it was recognized by 2019.05.02 (Kernel is 4.16.12-1). However, there is another problem with this USB. See the next heading for details.

archlinux-keyring cannot be updated

This is affected by the change in the compression format of the package used by pacman. https://www.archlinux.jp/news/required-update-to-recent-libarchive/ In summary,

--New pacman 5.2 supports .zst compression ――We will change to this compression method in the future --Update libarchive to 3.3.3-1 or later

It is a story.

The reason why this becomes a problem is that in the above-mentioned installation image of 2019.05.02

--The version of libarchive is fine --pacman is a version earlier than this 5.2 (5.2 release is 2019.10.22) and cannot handle .zst packages --archlinux-keyring package is already .zst compressed

Since archlinux-keyring contains package signature information etc., if a signature that is not here is included at the time of installation, an error will occur and you will be asked to update, but you cannot update. Other packages already contain .zst compression and cannot complete pacstrap even if they recognize the storage.

About the solution

When you sort out the problem

--Installation USB and Kernel installed on the main unit must be 4.16 or less (as far as confirmed) --pacman must be 5.2 or higher and libarchive must be 3.3.3-1 or higher

There is no installation USB that can solve the above problems at the same time, so use archiso or [Remaster iso](https: //) wiki.archlinux.jp/index.php/%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB_ISO_%E3%81 % AE% E3% 83% AA% E3% 83% 9E% E3% 82% B9% E3% 82% BF% E3% 83% AA% E3% 83% B3% E3% 82% B0) Custom Install USB I think that it will be solved by creating. Therefore, a separate environment (VM is also acceptable) running Arch Linux is required.

The recommended kernel to use is linux-lts414. It works fine on this MacBook, and the support is very long (~ January 2024), so it's safe for the time being. However, since this kernel belongs to AUR, please build it in another ArchLinux environment, set a private repository, and use it when building archiso. Or add a repository that provides pre-built packages. (Undiscovered) Since it is an AUR package, you will also need to build it for kernel security updates.

Also, as an option, if you include the broadcom-wl-dkms package, you will be able to use the wireless LAN during installation. For the installation procedure, basically follow the contents of Arch Wiki MacBook Article. As for the boot loader, I use systemd-boot.

in conclusion

It's a model 5 years ago, and there may not be many people who use it in this way, but I hope it helps.

Recommended Posts

Memo (March 2020) that I was addicted to when installing Arch Linux on MacBook Air 11'Early 2015
A note I was addicted to when making a beep on Linux
Log when I was worried that I could not connect to Wi-Fi on Linux
The record I was addicted to when putting MeCab on Heroku
I was addicted to Flask on dotCloud
I was a little addicted to installing Python3.3 + mod_wsgi3.4 on Sakura VPS (CentOS), so a retrospective memo
A story I was addicted to trying to install LightFM on Amazon Linux
A story that I was addicted to when I made SFTP communication with python
A story that I was addicted to at np.where
What I was addicted to when using Python tornado
Convenient Linux keyboard operation that I want to teach myself when I was in school
What I was addicted to when migrating Processing users to Python
(Note) Points to be addicted to when installing Scilab on ArchLinux
When I tried to scrape using requests in python, I was addicted to SSLError, so a workaround memo
What I was addicted to when introducing ALE to Vim for Python
Note that I was addicted to sklearn's missing value interpolation (Imputer)
A note I was addicted to when creating a table with SQLAlchemy
I was addicted to multiprocessing + psycopg2
Two things I was addicted to building Django + Apache + Nginx on Windows
I was addicted to running tensorflow on GPU with NVIDIA driver 440 + CUDA 10.2
A story I was addicted to when inserting from Python to a PostgreSQL table
Linux screen distribution on Ubuntu Memo that wants to be a Linux screen distribution YouTuber
I was addicted to pip install mysqlclient
I want to use Linux on mac
What I was addicted to Python autorun
What I was addicted to when creating a web application in a windows environment
A memo that I stumbled upon when doing a quote RT on Twitter Bot
Three things I was addicted to when using Python and MySQL with Docker
Summary of linux command techniques that I knew when I was a fledgling engineer
Summary of points I was addicted to running Selenium on AWS Lambda (python)
A note I was addicted to when running Python with Visual Studio Code
I want to be notified when the command operation is completed on linux!
I installed Linux on my Mac
I get a firewall warning when I start gqlgen's server.go on my Mac
What I was addicted to when using Python tornado
[Introduction to json] No, I was addicted to it. .. .. ♬
Deliver OBS footage to Zoom on Arch Linux
I want to log file I / O on Linux
Note that I was addicted to npm script not passing in the verification environment
What I was addicted to when combining class inheritance and Joint Table Inheritance in SQLAlchemy
Code memo that I was having trouble with not being on the discord.py site
The story when I was using IntelliJ on Linux and could not input Japanese