Max O'Cull

Incessant ramblings of a Linux fanatic

Left to right: Param, Max, Vipin

I took a trip to visit one of my best friends, Vipin, over in Dubai. Despite several prior attempts, this was my first time traveling internationally. Below I summarize everything I saw and learned while there.

You can see the full gallery here.

Economy

The United Arab Emirates Dirham (AED) is pegged to the United States Dollar (USD) at a ratio of 1 dollar = 3.67 dirhams.

Everyone has a job here. Here, there are people constantly cleaning the floors of the malls. A bathroom attendant ensures the stalls are clean at all times. Swimming pools have two lifeguards staffed even during hours where no one would swim. Many locations, like banks or malls, have extremely polite greeters or guides. The skyline is filled with cranes; massive construction projects are finished in mere months, not years. In the States, most companies would deem this as inefficient, but the fundamental economics here are vastly different.

Aside from a few exceptions, there is no minimum wage here. Data varies, but the median monthly salary is about AED 19,000 (USD 5,177). That’s AED 109 (USD 30) per hour, or AED 228,000 (USD 62,125) per year.

This is the new land of opportunity. Many people, especially Indians or Filipinos, come here to start a new life. Their mindset is very similar to the immigrants arriving at Ellis Island in the early 1900’s, all seeking something resembling the American dream. Demographically speaking, this means there are a lot of single or married men (bringing their families) here for work. Dubai doesn’t seem to attract as many single women, and if it does they tend to be very independent or entrepreneurial.

Mall culture is pervasive here, and it makes sense. In the US, it’s a dying feature, but in the Emirates many people walk, take the Metro (light rail), or use taxis and ride-share. The malls are extravagantly beautiful, enormous, and air-conditioned. It’s an ideal place to congregate with friends away from the hot sun and have a meal or snack, complete some errands, or find some entertainment. American chains are surprisingly common.

From left to right: Vipin, Max, Simon in Mall of Emirates

Petrol (gas) costs about the same here, maybe less. For the lowest/regular 95 octane, the rate was AED 2.60 / liter (USD 2.68 / gallon). Note that in the US, the lowest/regular octane is generally 87; premium is typically 93. All petrol stations are manned, you don’t get out of the car to pump your own petrol. They will even wipe your windshields while you wait.

India

These economic features don’t just shape the city – they shape who comes here. And no group has contributed more to Dubai’s growth than its Indian expatriate community. Many Indians come searching for promising job opportunities. In India, widespread bureaucracy and corruption frequently add costs and delays for businesses. These issues tend to suppress salaries and deter foreign investment. Coupled with an education system that leaves much to be desired, this environment drives many educated or ambitious Indians to look abroad for work or further study.

India is the world’s largest democracy, and harbors 6 national parties and ~58 state parties, a shocking contrast to the United States’ majority 2. In order to reach a majority, these parties form coalitions with each other. Narendra Modi of the Bharatiya Janata Party (BJP, conservative) has served as prime minister since 2014 and, in a close race involving coalitions, was recently re-elected. He has been a controversial figure because he has indicated a desire to alter the constitution in favor of Hindu and/or nationalist goals. India has long been a country representing religious diversity and has hosted every major (and minor) religion for decades. But under Modi’s rule, critics point to growing concerns over religious tolerance and civil liberties, especially for minority communities including Muslims and Christians.

All this being said, to many Indians, Modi does represent the only significant hope of economic re-stabilization – even to those who would otherwise be his enemy. He is making efforts to reduce corruption, and thereby improve economic conditions within his borders. He has inspired much hope in his people.

The Emirates are naturally an attractive option to Indians: its close proximity, strong job market, pro-expat policies, etc. Given the already large population of Indians and proliferation of their cultural norms, the barrier to entry is minimal, and it is a comfortable environment for newly incoming Indians to immigrate.

Church

The church has a limited presence here. The Sheikhs have graciously gifted land where churches may build. Public practice of Christianity is not allowed unless granted permission (usually for very large congregations). Because the buildings are few, many congregations either meet in private spaces such as hotels, or they will share a parent church building and hold services at odd times. I visited Covenant Hope Church; they met at 15:00 on Sundays. Conversion away (apostasy) from Islam is not legally recognized, and proselytizing to Muslims is forbidden. Blasphemy, in the eyes of Muslims, is prohibited.

Although the church is small, it is mighty. Church membership (as in official status, not attendance) seems to be far more common here than in the States, and it makes sense. Many expatriates are far from home and family; in many cases they will come completely alone. The church serves as their family, and they rely on each other to survive. In many cases they find roommates, close friends, or even spouses within the congregation. Dubai is an easy city to fall into sin, and they hold each other graciously accountable and check in with each other. Membership means you’ve been accepted into that church family, and grant them the authority to hold you accountable. And when they say you will be held accountable, they mean it – if you disappear, they will actually reach out. It’s not like in the States where you can fade out and no one will ask questions. They hold members meetings at least monthly, perhaps even more often than that.

Friends

And through the church, I quickly found myself surrounded by friends. I was very surprised by how quickly I felt at home. Vipin introduced me to his friends Navya, Simon, Param, and Rishav – and I felt like we all had known each other for years. We traded dark humor, dove into meaningful conversation, prayed for each other, and broke bread together. I’m going to miss these brothers and sister, and hope to return soon. I will be checking in on them periodically from afar.

I didn’t receive explicit permission to publicize their names, so the following individuals will be represented by their first initials. I stayed with Vipin, in C and G’s house; a lovely Scottish/English couple with two well-groomed Scottish terriers. I met the delightful housekeeper M, roommates S, T, and G – all of them splendid and gregarious. I had a relaxing study and pool day with the sisters L and B, originally from South Africa. I enjoyed spicy chai tea with K and S (and their energetic son Y), who were days away from welcoming a new baby boy.

Simon, Vipin, and I joined A (who was about to get married) and his parents in his home for some delicious dinner. Indian hospitality is astounding – overflowing plates, heartfelt conversation, and a welcoming attitude that makes you feel like family! We later joined them on a trip to Global Village, which was just as joyful.

Once per week, a talented South Indian cook comes to Vipin’s place; thanks to her, I learned to eat fish biryani like an authentic Indian! Vipin and I had brunch with D about local real estate, which I found tremendously eye opening and I’ll certainly be calling him back in the future.

Food

Nearly every meal felt like a bargain. On one night, we fed a group of 6 people for AED 191.50 (USD 52.18) on some delicious Pakistani food; that’s AED 31.92 (USD 8.70) per person! All bellies were full, and we had leftovers to spare. This was at Nayaab Haandi, and it was arguably the best food I had during the whole trip!

Vipin (left) and Rishav (right) enjoying Pakistani food at Nayaab Haandi

A particular favorite of mine was Aroos Damascus, a Syrian restaurant. We ate here once, and ordered delivery twice more. The hummus was other-worldly, and the arayes – a grilled flatbread stuffed with meat – reminded me of a steak quesadilla (but Mediterranean).

Aroos Damascus meal

Tipping is not expected, but appreciated. Many times you will not even see a prompt for it. You must raise your hand and ask for the check.

Food delivery is affordable. On the roads, you will see countless, uniformed delivery people mounted on Honda motorcycles with brightly colored cargo boxes labeled in their brand: Careem, Talabat, Noon, and more – all zipping around like neon beetles.

If you’re familiar with Greek and Indian food, you already know the region’s flavor spectrum. Arabic food is generally similar to Greek food, but as you work your way Eastward toward India, it becomes more like Indian food. Pakistani food leans heavily Indian but with some Middle Eastern notes. Syrian food stays closer to Mediterranean. Although this is an expat country containing nearly every culture imaginable, most restaurants fit somewhere within this spectrum.

Dubai has a park called Global Village, and I believe it is reminiscent to the Worlds Fair that no longer exists (meaning the food and culture component; Dubai has hosted the technology aspect in what is now called Expo). It contains multiple pavilions which represent a microcosm of various countries. For example, in the Yemen pavilion, I met a very kind man named Ahmed who brewed us some red tea on sand. It was so wonderful that I purchased a pack of his personal blend to take home.

Vipin (left) and Navya (right) enjoying Ahmed's red tea

As a city of expatriates, of course there are plenty of more exotic options beyond the local demographics. We visited a place we think might be Filipino called Off the Hook – reminiscent of Cajun seafood boils in the US.

Off the Hook with Vipin

Navya, Vipin, and I enjoyed wonderful bowls of noodles at a Taiwanese restaurant in the Dubai Hills Mall, and for dessert, bowls of Italian gelato.

Taiwanese dumplings
Gelato

I had some time to kill at the Dubai Mall (largest) and stopped at Hoof for some coffee and brunch. It’s a great place to get some work done!

My brunch at Hoof in Dubai Mall
From inside Hoof looking out into interior of Dubai Mall

Groceries

I went to Carrefour (French) and LuLu Hypermarket, both were wonderful. Excellent prices, but with a premium Whole Foods-like feel. Each offers groceries with a decent selection of home goods and electronics, but they didn’t feel as all-encompassing as Walmart or Target. I never quite found a true “one-stop shop” where you can buy food and almost everything under the sun in single trip. It’s not clear to me where locals get their stuff; IKEA and maybe some office supply stores exist. They do have Amazon, AliExpress, and Noon (the local competitor). Second-hand stores like Goodwill don’t seem to be present but would likely enjoy enormous demand.

Prices for a few staples are listed below:

  • LuLu flour, AED 3.75 / 1 kg (USD 2.32 / 5 lbs)
  • Large eggs, AED 13.50 / 15 eggs (USD 2.94 / 12 eggs)
  • LuLu rice, AED 9.90 / 2 kg (USD 3.05 / 5 lbs)
  • Carrefour rice, AED 20.00 / 5 kg (USD 2.47 / 5 lbs)
  • Carrefour whole milk, AED 18.99 / 3.8 liters (1 gallon) (USD 5.17 / gal)
  • Carrefour noodles, AED 12.79 / 500 g (USD 3.16 / 1 lb)
  • Glass container set, AED 17.99 (USD 4.90)
  • Shower gel, AED 20.49 (USD 5.58)
  • Bose Quiet Comfort Ultra Headphones, AED 1099 (USD 300)

By the way, milk prices are hugely subsidized in the US, so you won’t be able to make an apples-to-oranges comparison there.

Clothing

While looking at some statistics for the area, I noticed an uptick in prices for clothing. I decided to check out a few shops in the Mall of Emirates to confirm whether this was true.

Prices for a few basic items are listed below:

  • T-shirts, AED 39 (USD 10)
  • Polos, AED 49 (USD 13)
  • Oxford shirts, AED 69 (USD 19)
  • Jeans or Joggers, AED 109 (USD 30)

Real Estate

Food may be cheap, but housing is a different story – and an investment story at that. Real estate in the Emirates is a lucrative business. Expatriates may hold property in designated Freehold zones. Most apartments can be purchased for under AED 1M (USD 272,479). The starting point for purchasing a Villa is about AED 2.7M (USD 735,694). Fixed rate mortgages here usually span 20 years, and require 20% down for resident expatriates; for non-residents, it’s usually 40%. The interest rates are very good right now compared to the US market, just 3.7% (the US currently floats near 6.7%). The quitclaim mechanism in the US also exists here but under different paperwork and name, so it is possible to move your property into a local company after purchase.

Most of the Freehold zones and compelling real estate options exist in Dubai, although Ras Al Kaimah (frequently abbreviated RAK) is an up-and-coming Emirate with liberal laws. A lot of the housing inventory is fairly new, so rehabilitation does not appear to be common; however, expats are starting to look for forever homes, and in these cases rehabilitation is explored.

As with almost everything in the Emirates, the real estate market is tightly integrated with the government databases. The DXB Interact app shows approximate costs per square meter, and even rent yields. The Dubai Rest app is mostly a payment portal for residents to pay their landlords via their UAE Pass / Emirates ID. Landlords can also view and control documents for their properties via this portal, and they can also see rent indices for different zones. This level of transparency makes documentation extremely accessible, and issues like rent disputes straightforward to navigate.

In Dubai there is a popular mode of investing called “Off Plan Properties,” where people invest money into a planned structure (usually towers) to gain a stake in it, then later will reap rental yields. This has become popular due to the rapid increase of immigrants outpacing the housing supply. I’m personally a bit skeptical of this method, but it’s interesting nonetheless. It pairs neatly with the kind of ambitious mega-projects Dubai is famous for, such as the well-known artificial islands: Palm Jumeirah. We drove for probably over an hour across its “palms” and stopped to see the coastline. The scale is staggering.

The shoreline of a palm in Palm Jumeirah

One practical challenge I noticed is addressing. In the States, a home address is almost as good as a GPS coordinate; in the Emirates, navigation still relies on landmarks or building names, and maps have a hard time keeping up with the latest developments. As a newcomer, this was a stumbling block.

Dubai Air Show

Dubai is an international aviation hub. While I was in town, I visited the Dubai Air Show – a place where cutting-edge aviation and mobility technologies often debut.

Archer aviation VTOL

Something I quickly noticed while here was that traffic is awful. It isn’t the infrastructure’s fault though: 8 lane highways, extensive light rail, bus networks, top-notch taxi services, etc. The bottleneck really is just the sheer volume of incoming people… the city’s supply can’t keep up with demand, no matter how remarkably fast they build. By golly, Vipin joked to me that he would leave on a trip, and by the time he returned there was a new expressway next to his house. It’s clear the traffic problem here is a major motivator for innovation in transport.

The Emirates appear to be very serious about reinventing mobility. The city is preparing to introduce air taxi services by 2026. Vertiport construction is underway, flight testing and demonstrations are completed, and air traffic control (ATC) systems for flight planning traffic management are in-place. This isn’t a publicity stunt; they have skin in the game… and I have full faith urban air mobility will appear here first before anywhere else.

Joby aviation eVTOL

A major with the police force claimed during a panel that within 1 minute of someone dialing 999 (emergency number), a drone arrives at the scene of the incident for 44% of Dubai’s urban areas. He said the drone deployment is managed via a unified air-traffic and collision-avoidance system. These systems integrate with sensors and jammers in the field which can detect and disrupt non-compliant aircraft. Police drones are only one part of this growing ecosystem – the same infrastructure can support delivery drones, inspection flights, and even passenger air taxis.

Max (left) and Vipin (right) stand in front of a VTOL cargo drone

Government

The Eight Principles of Dubai

As I said earlier, the people in power here are really interested in being king of the hill in technology, and because of that, they often invite entrepreneurs to inform policy. The fact that their government is a federation of monarchies also means that Sheikhs may merely decree that they want something done… and make it so.

Vipin relayed an anecdote illustrating this pace: a Sheikh had authorized a new tower, and upon visiting the site the next day, he asked why no cranes or equipment were present yet – a reminder that momentum is expected to begin immediately. The contrast against the slower, consensus-driven democratic system is unmistakable.

Skyline of Abu Dhabi

Efficiency comes with trade-offs though. As a privacy-conscious individual, I assumed my activity was viewed with more scrutiny by telecom operators and the state than at home. Like many countries, the Emirates block certain traffic, and tightly regulates services, so you should adjust your expectations accordingly.

Sights

Burj Khalifa

Of course I had to see the Burj Khalifa. It stands 828 meters (half a mile) tall and has held the title of tallest building in the world since 2009. Their neighbor, Saudi Arabia, is actively constructing Jeddah Tower which is planned to be 1 km tall (3,281 ft) by 2028.

Viewing the Burj Khalifa from the ground inside Dubai Mall
Vantage point from atop the Burj Khalifa

In the words of my brother, from that vantage point “the other buildings look like baby buildings.”

Louvre

The Louvre Abu Dhabi was unexpectedly affordable. Beautiful architecture. Perhaps a bit touristy, there were lots of Europeans in there. Simon joined us for this trip!

The exterior dome of the Abu Dhabi Louvre
The exiting courtyard of the Abu Dhabi Louvre

Grand Mosque

We also checked out the Sheikh Zayed Grand Mosque in Abu Dhabi, the largest mosque in the Emirates. It’s absolutely enormous, with beautiful white marble. There’s so much detail and craftsmanship, and yet somehow it’s the open courtyards and negative space that really captivate you. Simon joined us for this trip too!

The Sheikh Zayed Grand Mosque

The End

I came for the adventure, but I left impressed by the ambition, the hospitality, and the scale of this city that refuses to sit still. I’ll be back – if only to check what they’ve built in the meantime.

Until then, please enjoy these very fashionable salt and pepper Sheikhers.

Salt and pepper shakers in the style of Emirati traditional dress

Max O'Cull standing next to the O'Cull cemetery

I visited the O’Cull family cemetery of great legend. It was difficult to hunt down it’s exact location.

Here is a link to all my photos taken on my new camera. I did my best to take a picture of every grave.

O’Cull Cemetery

An overview

Through local family members here in Indiana, I found a phone number for a distant cousin named Eldon O’Cull in Ohio who, over a phone call, was able to give me enough vague landmarks to locate what I believed to be the site from satellite view on Google Maps. Eldon is getting along in years and has health problems. I fear that the information he carries will not last long unless I redistribute it.

I then travelled there to confirm it’s existence. Here is the exact location at 38.5401094, -83.6619766.

You can see Mount Olivet Church in the distance from atop this hill. The story goes that this is the church that the legendary Methodist minister James O’Cull first planted.

Mount Olivet Church in the distance

The cemetery is behind private property. Using my real estate experience, I called the proper offices in government to locate the property owners and establish phone contact. I met the wife in person at the site. The owners are very accommodating and told me the cemetery was open to the public. However, I would recommend anyone else to still contact ahead in the interest of being polite.

The property the cemetery is on is 7268 Dixon Pike and is owned by an Eric and Michelle Crawford. The property in front of the cemetery is 7270 Dixon Pike, it is owned by Eric’s mother. In the interest of their privacy, I will hide their phone numbers from the public internet. If you would like to contact them, email me first at max.ocull@protonmail.com.

Eldon shared many stories with me, but the one that stood out most was about moonshiners. Apparently the O’Culls of past were making moonshine in the North Fork Licking River. The Feds found out about the operation and raided the stillery. The O’Culls, in an effort to destroy the evidence, poured all the moonshine in the river.

The Feds forcibly took ownership of the land, but legally they could not take the cemetery which was protected land. So the cemetery is the last surviving relic of the O’Culls that once lived here.

It is next to impossible for me to validate this story beyond word of mouth, but I have done my best to repeat the pieces I have collected.

To other O’Culls out there who may find this, please reach out if you find more information regarding our lineage or history. I am doing my best to responsibly archive what I can. Thank you.

Halo 3

This Christmas the Halo: The Master Chief Collection (MCC) went on sale on Steam. When I was a kid, my parents wouldn’t let me play games rated Mature… naturally I snuck out to my buddy’s house where we played Halo and I learned to love it. A handful of times in my life I thought I’d buy an X-Box to play just Halo, but I never ended up doing it. Today, I’ve sworn off Windows altogether, making my goal even more difficult… but when MCC came out, I wasn’t going to let a handful of DirectX DLL’s stop me.

Turns out Proton 5.13 with the -windowed flag runs Halo as if it were native.

Windowed Flag

But I wanted to play with my younger brother. Last summer we found some old disks for our Original X-Box and beat Halo 1 and 2 together, naturally we had to beat 3 onward together as well… Arby’s got my back after all!

Wrong Arbiter

However, entering a co-op game with him lead to a disconnect about 30 seconds in. For this, I had to install Glorious Eggroll’s Proton 5.21. The installation isn’t too difficult. I then set Steam to explicitly use it in the game properties.

Compatibility

This fix allowed us to play co-op in Halo 3 without interruption for about an hour or so. I’ve heard rumors that you can evade the Easy Anti-Cheat by using HaloBase.net; apparently the check happens at matchmaking and nowhere else. This makes sense… Halo MCC is a fancy launcher made in Unreal Engine 4 that accesses Halo DLL’s ported from X-Box with nearly no alterations.

We have been playing with EAC disabled (this option is available when running Play from the Library – It does not appear if running from system tray).

Hope my Christmas notes help you move forward with slaying more Flood.

Goodman Zone 1

For awhile my brother-in-law had been motivating me to get into photography. I struggled because I wasn’t willing to commit and spend more than $100 as I’m a ruthless penny-pincher. When I heard about Dora Goodman’s fancy new 3D printable camera on r/functionalprint, I spent probably three times that in a heartbeat. Going in I knew hardly anything about photography, so what better way to learn than building a camera from scratch?

If you make an account on her site you can go to your profile and find the STL files along with a parts list in a Google doc. I won’t share these with you here since I think she wants to keep it behind her community.

The Pieces

I live in the States, so it’s a little bit more difficult (and expensive!) to come by the metric parts required to build this thing. So I’ll make your life easy and give you a list of items you’ll need off Amazon:

You’ll also have to go on eBay and look for a Mamiya Universal Press Lens, and a Mamiya RB67 back.

I bought a Pro-SD back instead of a Pro-S back because I found them to be cheaper, more plentiful, and in better condition. If you take this route, be aware it won’t fit the standard body and will require some modifications. I recommend you print the correct modded body from the start rather than retroactively sanding a few millimeters off to make it fit like I did…

I ordered my first lens from Used Photo Pro and was happy with their service. I got the wrong lens out of a noob mistake, but their return process was excellent, and the lens I did receive was in superior condition at a great price.

I later ended up getting a Mamiya Sekor 100mm f/3.5 lens.

Assembly

Getting the metric components is honestly the hardest step. After I printed my parts, I sanded for a few hours. I used PLA plastic and found 400 grain sandpaper worked the best between the 100, 400, and 900 grains I had available.

I used Dora’s provided SVG to cut the decorative wooden panels on my dad’s laser CNC mill. I also had some wood stain on hand, and I wanted a richer color out of my veneer, so I lightly sanded (to remove any splinters) then stained it. The veneer has a 3M adhesive backing, so you can stick it right onto the body.

After I put the veneer panels onto the body, I coated each part in acrylic spray paint to protect it. Finally, I followed Dora’s assembly instructions:

You’ll want to use your light seal foam to surround the film back enclosure on the body; if light gets in it will ruin all your shots with the same effect.

The final touch is the shutter release which simply screws into the lens. It gives off a nostalgic vibe while being quite functional.

Final Product

Goodman Zone 2
Goodman Zone 3
Goodman Zone 4
Goodman Zone 5
Goodman Zone 6

I took some pictures with a roll of ISO 100 Kodak 120mm film my brother-in-law gifted me. Due to COVID-19, I have yet to develop it (he has the kit), but I will post those pictures when that happens.

I’ve been learning about light management too. Since this is not a digital camera and it doesn’t have a viewfinder, you have to do some math to figure out how long to expose your film. You can find a nifty app to do this for you. I found it made the process much easier and enjoyable.

Reasoning

For Christmas this year I received a Raspberry Pi 4, the new board straight out of the UK that boasts 2-3x the compute power of the last model. I’ve been wanting to take a crack at it, but I knew I wanted to ditch Raspbian, the stock OS, right away.

Why? Well, the Pi 4 is a 64-bit embedded system. Actually, the Pi 3 was also 64-bit, but Raspbian has always been a 32-bit operating system for reasons of stability and backwards compatibility… but I’m a power user! Let’s use it to it’s full potential, shall we?

For awhile I debated on installing Arch Linux ARM, but I eventually landed on Alpine Linux. It’s a prime choice for this because it’s blisteringly lightweight, offers more packages than Arch Linux ARM, has loads of packages compiled for aarch64, and the most recent version (v3.11 as of writing) added explicit support for the Pi 4. That being said, I recommend using the edge branch for the most up to date and in-testing packages.

Equipment

If you’ve never worked on a Pi before, you should check out CanaKit’s offerings. In the case of the older Pi’s, CanaKit was always a good idea because the power supply it comes with has enough amperage to keep the Pi from starving. If you use any old wall-wart PSU, you’d get a lightning bolt icon telling you that the Pi wasn’t getting enough power. In the case of the Pi 4, the USB C port is not up to spec and actually needs an even more specific PSU; if the wrong one is used, it could damage the board.

lightning bolt

The Pi is particularly sensitive about the quality of SD card you put in it since it makes a ton of small reads and writes. A class 10, UHS 3 micro SD card is what you really want for uninterrupted performance, and it’s not even that much more expensive.

The Raspberry Pi 4 CanaKit ensures you won’t get the wrong parts, and at a great price too. It even comes with a slick case, a power switch, a quiet CPU fan, and passive coolers on top of all the stuff you must have.

The SD card reader that comes with the CanaKit is a tad subpar, however. If you find yourself frequently tinkering on SD cards, I highly recommend getting Sabrent’s USB 3.0 SD card reader. It offers superior performance, and you don’t have to struggle to remove the card every time.

Installation

Getting Alpine Linux installed on a Pi persistently isn’t a supported goal by the Alpine team yet. We’ll have to take a few detours to get this working.

Setup

Grab the tarball from Alpine’s website for Raspberry Pi (1, 2, 3, or 4) and the aarch64 architecture. Grab your SD card and format it using an MBR partition scheme (the Pi will not boot with GPT partitions). You’ll need to make two partitions:

  • 500 MB, FAT32, for booting
  • The rest, EXT4, for your system installation

Extract the tarball into the FAT32 partition, then add this file to the root of the partition:

usercfg.txt
1
2
3
4
dtparam=audio=on
disable_overscan=1
dtoverlay=vc4-fkms-v3d
gpu_mem=256

Insert the SD card, power up the Pi, and login. The default credentials are root and no password. Start up and complete a regular install using setup-alpine.

You’ll want to enable a service to automatically reconnect to the wifi network, so run rc-update add wpa_supplicant boot. We will want to commit these settings to the boot partition, so execute lbu commit -d to save them. Then reboot.

When you’re back online, we should update our system and save it: apk update && apk upgrade. Commit that once more and reboot: lbu commit -d && reboot.

Making it Persistent

The reason why persistent installations are not supported on the Pi is because ARM devices don’t use conventional BIOSes. Therefore, SYSLinux or GRUB won’t work. Instead we’re going to use our custom FAT32 boot partition (mmcblk0p1) to alleviate this problem.

1
2
3
mkdir -p /mnt/system
mount /dev/mmcblk0p2 /mnt/system
setup-disk -o /media/mmcblk0p1/$HOST.apkovl.tar.gz /mnt/system

You’ll probably get some warnings about SYSLinux here – ignore them.

Now we’re going to setup our mount points. Edit fstab on the system partition and add these lines:

/mnt/system/etc/fstab
4
5
/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0
/media/mmcblk0p1/boot /boot none defaults,bind 0 0

In order to get the kernel to properly load up our new root filesystem, we’ll have to pass a new parameter to it. Append this to cmdline.txt after remounting with mount -o remount,rw /media/mmcblk0p1:

/media/mmcblk0p1/cmdline.txt
1
<Your kernel parameters> root=/dev/mmcblk0p2

You may now reboot into your fresh system installation.

Bringing up the Desktop

Alpine actually has a little known package for quickly setting up a desktop environment, but it needs a few tweaks. The alpine-desktop metapackage includes xfce4 along with a few other tools and critical packages like xorg-server. You’ll also need to replace mdev with udev for proper input support, and install some video drivers.

1
2
3
4
5
6
7
8
9
10
11
12
# Install desktop packages.
apk add alpine-desktop mesa-dri-vc4 mesa-dri-swrast mesa-gbm xf86-video-fbdev libinput xfce4-terminal firefox sudo
setup-xorg-base

# Add a user for yourself.
adduser -g "Max O'Cull" max

# Uncomment this line: %wheel ALL=(ALL) ALL
visudo

# Add yourself to the group "wheel" for sudo access.
addgroup max wheel

Add this xorg.conf to properly connect the video drivers:

/etc/X11/xorg.conf
1
2
3
4
Section "Device"
Identifier "default"
Driver "fbdev"
EndSection

reboot and when you log back in, run startx. You’ll notice XFCE4 is a bit sluggish. This is because the compositor is enabled and is bogging down the GPU. Under XFCE’s settings, find Window Manager Tweaks and disable compositing.

Extra Credit

Congratulations, you’ve got a full 64-bit operating system that’s extremely lightweight, with up to date packages. Maybe you’re bored of a traditional desktop? Try installing these:

1
sudo apk install kodi kodi-gbm retroarch

Then running either sudo kodi or sudo retroarch (necessary to properly connect to X11 and Dbus).

Kodi

Kodi should say you’re using OpenGL ES 3.1 (under Settings > System Information > Video) if your graphics are setup correctly.

Retroarch

You’ll need to install cores to do anything useful. Normally you would go to Settings > User Interface > Views and enable Show Core Updater, however, my suspicion is that those cores are not compiled for aarch64. Instead, we’ll have to install them via APK’s:

1
sudo apk add libretro-nestopia libretro-desmume libretro-mgba libretro-mupen64plus
0%