惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
GRAHAM CLULEY
T
Tenable Blog
Know Your Adversary
Know Your Adversary
C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Privacy International News Feed
S
Security Affairs
NISL@THU
NISL@THU
O
OpenAI News
Attack and Defense Labs
Attack and Defense Labs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Hacker News: Ask HN
Hacker News: Ask HN
Webroot Blog
Webroot Blog
Schneier on Security
Schneier on Security
S
SegmentFault 最新的问题
S
Schneier on Security
G
Google Developers Blog
V
V2EX
C
Check Point Blog
U
Unit 42
Google DeepMind News
Google DeepMind News
T
Threatpost
阮一峰的网络日志
阮一峰的网络日志
T
The Exploit Database - CXSecurity.com
Recent Announcements
Recent Announcements
M
MIT News - Artificial intelligence
S
Secure Thoughts
博客园 - 司徒正美
Recorded Future
Recorded Future
P
Proofpoint News Feed
Spread Privacy
Spread Privacy
K
Kaspersky official blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
AI
AI
博客园 - 聂微东
N
News and Events Feed by Topic
SecWiki News
SecWiki News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Engineering at Meta
Engineering at Meta
Recent Commits to openclaw:main
Recent Commits to openclaw:main
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
The Hacker News
The Hacker News
The Last Watchdog
The Last Watchdog
Project Zero
Project Zero
W
WeLiveSecurity
博客园 - Franky

John Bokma's Hacking and Hiking

Failed to verify signature archive-contents.sig in Emacs Aquamacs 3.6 Hangs When Saving An Encrypted File PAR trouble Running pdflatex Using the Alpine Pandoc LaTeX Docker Image A Docker Image for Sass Timezones in Alpine Docker Containers A Tale of Three Docker Images Debugging a Perl Docker container Perl Time::Piece Unicode Issue Giving Docker Desktop for macOS a Second Chance Flashing another TP-Link TL-WDR4300 with OpenWrt firmware Rehousing two tarantulas Getting started with the Perl version of tumblelog on Ubuntu 18.04 LTS A visit to Avonturia De Vogelkelder Flashing a TP-Link TL-WDR4300 with OpenWrt firmware Mounting a VDI File in a Different VirtualBox Guest Wireless Headless Raspberry Pi - John Bokma A Matter of Time - John Bokma Hand coding an RSS 2.0 feed in Python RFC #822 and RFC #3339 dates in Perl RFC #822 and RFC #3339 dates in Python Hand coding an RSS 2.0 feed in Perl Nav Element with no Heading Rewriting CommonMark Nodes in Perl "right" this time
How To Create a Bootable LibreELEC Installation using Mac OS
John Bokma · 2021-06-29 · via John Bokma's Hacking and Hiking

June 28, 2021

Recently I wanted to watch a video on a Raspberry Pi 3 model B running a very old version of OpenELEC. But halfway the video the player crashed. I am hoping that a more recent version of the software would solve this issue. And as I am also curious how well LibreELEC compares I decided to give this operating system a try.

The software can be installed using the LibreELEC USB-SD Creator" app which based on the screenshot looks very easy to use. But as I have created bootable SD cards via the command line before and consider it easier I decided to take that route.

Downloading LibreELEC

On the website I browsed to the direct downloads section and selected Raspberry Pi 3 / 3+. There were two options. I picked the one with the widevine fix included: LibreELEC-RPi2.arm-9.2.7.img.gz (widevine fix included).

Writing the Image to the SD card

After I had downloaded the compressed image I first uncompressed the image as follows:

gzip -d LibreELEC-RPi2.arm-9.2.7.img.gz

After this I used diskutil list to obtain the disk number of the 16GB SD card I had inserted into my Mac mini. The output for this card was as follows:

/dev/disk3 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *15.9 GB    disk3
   1:             Windows_FAT_32 NO NAME                 536.9 MB   disk3s1
   2:                      Linux                         15.4 GB    disk3s2

To be on the safe side I had unplugged all external disks (Time Machine). Because the Mac mini has a fusion drive the first 3 disk numbers (0..2) are used up and hence in my case the SD card is given the number 3.

Make very sure that in the following commands you use the correct disk number for your situation.

I unmounted the SD card as follows:

diskutil unmountDisk /dev/disk3

Which reported:

Unmount of all volumes on disk3 was successful

And wrote the image to the 16GB SD card using:

sudo dd bs=1m if=LibreELEC-RPi2.arm-9.2.7.img of=/dev/rdisk3 conv=sync

Note that I use /dev/rdisk3 not /dev/disk3. And once again if you repeat this step, be very sure that the number you use is the disk number of the SD card.

After less than a minute the above command reported the following:

549+0 records in
549+0 records out
575668224 bytes transferred in 56.230202 secs (10237705 bytes/sec)

Besides the SD card was now mounted as LIBREELEC. I ejected the SD card via Finder and removed it from the Mac mini.

I inserted the SD card into the Raspberry Pi and booted into LibreELEC. Configuring with a wireless mouse worked flawlessly. But I still couldn't play the video without the player crashing. So I have to look into a different solution for that.

Related