quartz64-images icon indicating copy to clipboard operation
quartz64-images copied to clipboard

Not really an issue - Mac users howto install plebian

Open cmigliorini opened this issue 1 year ago • 1 comments

Hi, I came across the documentation page that says "TODO: Get someone with a Mac to write this section."

Well, it's very similar to Unix, and could be written as follows (should work on most macOS release since at least Catalina, probably even long before that), and mutatis mutandis for other devices (below is for q64a).

Flashing

Insert your target medium (either an SD card or an eMMC module with an eMMC adapter) into your computer. Run diskutil list to figure out which device node under /dev/ it is. This page will refer to it as /dev/diskX from now on. Make sure the device is not mounted! If needed you can use diskutil unmount /dev/diskX to unmount it

Next, on the terminal, paste the command

$ xzcat plebian-debian-bookworm-quartz64a.img.xz | sudo dd of=/dev/sdX bs=16M oflag=fsync status=progress

replacing /dev/diskX with your target block device's name. (fsync forces all data and metadata to be flushed to the media before exiting.

As soon as the command completes, your storage medium is ready to be used -- but you can use diskutil eject /dev/diskX to be 123% sure.

cmigliorini avatar Jul 19 '24 14:07 cmigliorini

Thanks! I'll try to get someone with a mac to review these instructions and add them to the documentation when I get the opportunity.

CounterPillow avatar Jul 19 '24 23:07 CounterPillow