61 lines
3.1 KiB
HTML
61 lines
3.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="main.css" type="text/css" />
|
|
<link rel="stylesheet" href="blog.css" type="text/css" />
|
|
<link rel="alternate" type="application/rss+xml" title="Subscribe to this page..." href="feed.rss" />
|
|
<title>Live on 64-bit Raspberry Pi 4 with Gentoo</title>
|
|
</head><body>
|
|
<div id="divbodyholder">
|
|
<div class="headerholder"><div class="header">
|
|
<div id="title">
|
|
<h1 class="nomargin"><a class="ablack" href="http://zigford.org/index.html">zigford.org</a></h1>
|
|
<div id="description"><a href="about.html">About</a><a href="links.html"> | Links</a><a href="scripts.html"> | Scripts</a><br>Sharing linux/windows scripts and tips</br></div>
|
|
</div></div></div>
|
|
<div id="divbody"><div class="content">
|
|
<!-- entry begin -->
|
|
<h3><a class="ablack" href="live-on-64-bit-raspberry-pi-4-with-gentoo.html">
|
|
Live on 64-bit Raspberry Pi 4 with Gentoo
|
|
</a></h3>
|
|
<!-- bashblog_timestamp: #201908152203.17# -->
|
|
<div class="subtitle">August 15, 2019 —
|
|
Jesse Harris
|
|
</div>
|
|
<!-- text begin -->
|
|
<p>I recently <a href="raspberry-pi-4.html">wrote</a> that the site is now hosted from the
|
|
raspberry pi 4.</p>
|
|
<hr />
|
|
<p>That was running Raspbian OS, a 32-bit debian derivative. For a long time I've
|
|
preferred Gentoo as a Linux distribution, but until now, all versions of the Pi
|
|
were limited in RAM, with the upper limit being 1 Gb.</p>
|
|
<p>While 1 Gb of RAM is entirely sufficient for running a headless home server, you
|
|
can quickly run out of RAM when you compile software with 4 cores
|
|
(<code>MAKEOPTS=-j4</code> in Gentoo's make.conf)</p>
|
|
<p>Now that a 4 Gb model of the Pi exists, I felt I could switch to Gentoo as my
|
|
primary Pi OS without compromise. Initially I planned to buy the 1 Gb model and
|
|
then a little later grab the 4 Gb model.</p>
|
|
<p>Ironically, I couldn't wait for the 4 Gb model to try 64-bit Gentoo and while
|
|
the <code>-j4</code> option does induce significant swapping and causes the OS to become
|
|
unresponsive, I have found that <code>-j1</code> is probably a better option anyway so that
|
|
the site can continue to be served during upgrades.</p>
|
|
<p>A final note and side-effect of switching to Gentoo on arm64, my
|
|
<a href="https://github.com/zigford/gentoo-zigford">overlay</a> is slowly being updated to
|
|
support arm64 and as such, PowerShell is the first to be updated</p>
|
|
<p><img src="images/gentoo64bit.jpg" alt="powershell on arm64" /></p>
|
|
<p>Tags: <a href='tag_gentoo.html'>gentoo</a>, <a href='tag_raspberry-pi.html'>raspberry-pi</a>, <a href='tag_linux.html'>linux</a></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- text end -->
|
|
<!-- entry end -->
|
|
</div>
|
|
<div id="footer">© <a href="http://twitter.com/zigford_org">Jesse Harris</a> — <a href="mailto:jesse@zigford.org">jesse@zigford.org</a><br/>
|
|
Generated with <a href="https://github.com/cfenollosa/bashblog">bashblog</a>, a single bash script to easily create blogs like this one</div>
|
|
</div></div>
|
|
</body></html>
|