<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>raspbian | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/raspbian/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Tue, 02 Jun 2020 13:41:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>raspbian | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Raspbian vs Raspberry Pi OS</title>
		<link>https://learncgames.com/raspbian-vs-raspberry-pi-os/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=raspbian-vs-raspberry-pi-os</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Tue, 09 Jun 2020 23:00:16 +0000</pubDate>
				<category><![CDATA[raspberry-pi]]></category>
		<category><![CDATA[Raspberry Pi OS]]></category>
		<category><![CDATA[raspbian]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=766</guid>

					<description><![CDATA[<p>I&#8217;ve always referred to the version of Debian running on a Raspberry Pi as Raspbian and so it was until the recent 8 GB RAM Raspberry Pi was launched.  But it turns out that Raspbian was an independent version of Debian created by people at raspbian.org.  As they say &#8220;Note: Raspbian is not affiliated with [&#8230;]</p>
The post <a href="https://learncgames.com/raspbian-vs-raspberry-pi-os/">Raspbian vs Raspberry Pi OS</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:680,&quot;href&quot;:&quot;http:\/\/raspbian.org&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20250828065133\/http:\/\/raspbian.org\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 17:34:19&quot;,&quot;http_code&quot;:502},{&quot;date&quot;:&quot;2026-02-18 16:22:22&quot;,&quot;http_code&quot;:502},{&quot;date&quot;:&quot;2026-02-26 09:54:19&quot;,&quot;http_code&quot;:502},{&quot;date&quot;:&quot;2026-03-01 15:07:29&quot;,&quot;http_code&quot;:502},{&quot;date&quot;:&quot;2026-03-07 14:14:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-13 01:22:00&quot;,&quot;http_code&quot;:502},{&quot;date&quot;:&quot;2026-03-24 08:20:45&quot;,&quot;http_code&quot;:502},{&quot;date&quot;:&quot;2026-04-05 05:47:24&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-15 19:34:38&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-22 23:36:04&quot;,&quot;http_code&quot;:502}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-22 23:36:04&quot;,&quot;http_code&quot;:502},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:681,&quot;href&quot;:&quot;https:\/\/www.raspberrypi.org\/blog\/8gb-raspberry-pi-4-on-sale-now-at-75&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20211005232152\/https:\/\/www.raspberrypi.org\/blog\/8gb-raspberry-pi-4-on-sale-now-at-75\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 17:34:24&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-02-10 06:26:36&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-17 02:13:15&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-21 19:04:09&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-26 08:26:40&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-01 15:07:27&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-06 04:00:29&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-11 15:32:45&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-17 11:47:17&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-24 08:20:45&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-30 19:12:34&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-04 03:02:37&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-07 07:19:46&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-12 04:23:20&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-15 19:34:33&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-20 11:09:48&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-20 11:09:48&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:682,&quot;href&quot;:&quot;https:\/\/www.raspberrypi.org\/blog\/latest-raspberry-pi-os-update-may-2020&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20210902141025\/https:\/\/www.raspberrypi.org\/blog\/latest-raspberry-pi-os-update-may-2020\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 17:34:27&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-18 16:22:22&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-21 19:04:09&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-26 09:54:19&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-01 15:07:27&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-07 14:13:57&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-13 01:21:58&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-24 08:20:45&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-05 16:28:27&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-15 19:34:34&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-22 23:35:59&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-22 23:35:59&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-768" src="https://learncgames.com/wp-content/uploads/2020/06/raspbian-300x246.png" alt="Raspian.org" width="300" height="246" srcset="https://learncgames.com/wp-content/uploads/2020/06/raspbian-300x246.png 300w, https://learncgames.com/wp-content/uploads/2020/06/raspbian-768x631.png 768w, https://learncgames.com/wp-content/uploads/2020/06/raspbian.png 975w" sizes="(max-width: 300px) 100vw, 300px" />I&#8217;ve always referred to the version of Debian running on a Raspberry Pi as Raspbian and so it was until the recent 8 GB RAM Raspberry Pi was launched.  But it turns out that Raspbian was an independent version of Debian created by people at <a title="Link to Raspbian.org" href="http://raspbian.org/" target="_blank" rel="noopener noreferrer">raspbian.org</a>.  As they say &#8220;<em><strong>Note:</strong> Raspbian is not affiliated with the Raspberry Pi Foundation. Raspbian was created by a small, dedicated team of developers that are fans of the Raspberry Pi hardware, the educational goals of the Raspberry Pi Foundation and, of course, the Debian Project.</em>&#8221;</p>
<p>From now on, it seems the correct name is Raspberry Pi OS and no longer Raspbian. The change was announced at the bottom of this Raspberry Pi Foundation<a title="LInk to blog post" href="https://www.raspberrypi.org/blog/8gb-raspberry-pi-4-on-sale-now-at-75/" target="_blank" rel="nofollow noopener noreferrer"> blog post</a>. This has something to do with the fact that Raspbian is mainly 32-bit while the Raspberry Pi OS is both 32-bit and 64-bit though the latter is still at beta. You can read more about the recent changes to Raspberry Pi OS on <a title="LInk to blog post" href="https://www.raspberrypi.org/blog/latest-raspberry-pi-os-update-may-2020/" target="_blank" rel="nofollow noopener noreferrer">this blog entry</a>.</p>The post <a href="https://learncgames.com/raspbian-vs-raspberry-pi-os/">Raspbian vs Raspberry Pi OS</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">766</post-id>	</item>
		<item>
		<title>Expanding my virtual hard disk</title>
		<link>https://learncgames.com/expanding-my-virtual-hard-disk/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=expanding-my-virtual-hard-disk</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Thu, 04 Jun 2020 23:00:09 +0000</pubDate>
				<category><![CDATA[raspberry-pi]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[raspbian]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VM]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=736</guid>

					<description><![CDATA[<p>Most Linux development is done on Ubuntu running under Hyper-V on my Windows 10 PC. If you have lots of RAM (and I have a full 64 GB), it&#8217;s very convenient. I run Snagit on Windows and this makes it very easy to grab screenshots of the Ubuntu window. I also have a &#8220;Raspberry-pi&#8221; running [&#8230;]</p>
The post <a href="https://learncgames.com/expanding-my-virtual-hard-disk/">Expanding my virtual hard disk</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:695,&quot;href&quot;:&quot;https:\/\/www.raspberrypi.org\/downloads\/raspberry-pi-desktop&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20201107231551\/https:\/\/www.raspberrypi.org\/downloads\/raspberry-pi-desktop\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 17:35:16&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-11 00:52:01&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-17 23:04:29&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-24 11:22:35&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-27 23:21:03&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-04 16:16:44&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-09 06:32:10&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-13 01:21:58&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-17 10:17:28&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-25 20:24:09&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-07 06:59:56&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-14 20:46:41&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-20 16:12:22&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-20 16:12:22&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img decoding="async" class="alignleft size-medium wp-image-737" src="https://learncgames.com/wp-content/uploads/2020/05/filelight-300x180.png" alt="filelight utility running on Ubuntu" width="300" height="180" srcset="https://learncgames.com/wp-content/uploads/2020/05/filelight-300x180.png 300w, https://learncgames.com/wp-content/uploads/2020/05/filelight-768x462.png 768w, https://learncgames.com/wp-content/uploads/2020/05/filelight.png 846w" sizes="(max-width: 300px) 100vw, 300px" />Most Linux development is done on Ubuntu running under Hyper-V on my Windows 10 PC. If you have lots of RAM (and I have a full 64 GB), it&#8217;s very convenient. I run Snagit on Windows and this makes it very easy to grab screenshots of the Ubuntu window.</p>
<p>I also have a &#8220;Raspberry-pi&#8221; running under Hyper-V.  There&#8217;s a <a title="Link to Raspbian download" href="https://www.raspberrypi.org/downloads/raspberry-pi-desktop/" target="_blank" rel="nofollow noopener noreferrer">Raspbian desktop</a> that you can download and run in Hyper-V, VirtualBox or VMWare though I&#8217;ve only done Hyper-V. Don&#8217;t forget when you are running a Raspberry Pi this way that its x86 based not ARM. That does affect the available software, so it doesn&#8217;t behave exactly like a real Pi though often close enough.</p>
<p>Today though I started getting low disk space from my virtual Ubuntu. That&#8217;s the problem with virtual machines. When you first setup a Virtual hard disk, you never know just how much disk space you will need.</p>
<p>There&#8217;s a terminal command that shows how much space you have left.</p>
<pre>df -h --total</pre>
<p>This produced this</p>
<pre><span style="color: #8ae234;"><b>david@david-Virtual-Machine</b></span>:<span style="color: #729fcf;"><b>~</b></span>$ df -h --total
Filesystem      Size  Used Avail Use% Mounted on
udev            942M     0  942M   0% /dev
tmpfs           193M  1.4M  192M   1% /run
/dev/sda1        11G  9.9G  603M  95% /
tmpfs           964M     0  964M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           964M     0  964M   0% /sys/fs/cgroup
/dev/sda15      105M  3.6M  101M   4% /boot/efi
tmpfs           193M   16K  193M   1% /run/user/121
tmpfs           193M   24K  193M   1% /run/user/1000
total            14G  9.9G  4.1G  71% -
</pre>
<p>This was after I&#8217;d extended my virtual hard disk.  You can see I now have 4.1 GB free.</p>
<p>The pretty picture is from a utility filelight. You install it in the usual way</p>
<pre>sudo apt install filelight</pre>
<p>Or if you prefer a more visual insight, install qdirstat.</p>
<pre>sudo apt install qdirstat</pre>
<p>This is like WinDirStat on Windows but qdirstat seems to run many times faster. It took a couple of seconds to produce this image below. WinDirStat would take 10-30 minutes.</p>
<p><img decoding="async" class="alignleft size-full wp-image-738" src="https://learncgames.com/wp-content/uploads/2020/05/qdirstat.png" alt="qdirstat" width="450" height="252" srcset="https://learncgames.com/wp-content/uploads/2020/05/qdirstat.png 450w, https://learncgames.com/wp-content/uploads/2020/05/qdirstat-300x168.png 300w" sizes="(max-width: 450px) 100vw, 450px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>So how did I expand my Hyper-V hard drive?</p>
<p>First you have to get rid of any checkpoints. Save your Hyper-V session if open then delete the checkpoint.</p>
<p><img loading="lazy" decoding="async" class="alignleft size-full wp-image-739" src="https://learncgames.com/wp-content/uploads/2020/05/hyperV-checkpoint.png" alt="Delete Hyper-V checkpoint" width="558" height="322" srcset="https://learncgames.com/wp-content/uploads/2020/05/hyperV-checkpoint.png 558w, https://learncgames.com/wp-content/uploads/2020/05/hyperV-checkpoint-300x173.png 300w" sizes="auto, (max-width: 558px) 100vw, 558px" />Right click on the checkpoint for the selected VM and click delete. This will take a minute or two and you&#8217;ll see it have a Merging status. You may need to shutdown the VM.</p>
<p>After that you can go into the settings and it will let you edit the virtual hard drive and change the size.</p>The post <a href="https://learncgames.com/expanding-my-virtual-hard-disk/">Expanding my virtual hard disk</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">736</post-id>	</item>
		<item>
		<title>Fixing an unbootable Raspberry Pi</title>
		<link>https://learncgames.com/fixing-an-unbootable-raspberry-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fixing-an-unbootable-raspberry-pi</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Mon, 18 May 2020 23:00:23 +0000</pubDate>
				<category><![CDATA[raspberry-pi]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[raspbian]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=636</guid>

					<description><![CDATA[<p>Well to be fair, it was me that made it unbootable. I&#8217;d been reading this Wiki page on configuring the Pi. I&#8217;d told it to give the GPU almost a GB of RAM. The Pi is a 4 GB Pi 4B.  I did it last night and so this morning, I found it not working [&#8230;]</p>
The post <a href="https://learncgames.com/fixing-an-unbootable-raspberry-pi/">Fixing an unbootable Raspberry Pi</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:559,&quot;href&quot;:&quot;https:\/\/pixabay.com\/users\/BenjaminNelan-268798\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1719218&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251010065837\/https:\/\/pixabay.com\/users\/benjaminnelan-268798\/?utm_source=link-attribution&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 16:07:51&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-09 17:00:23&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-12 22:35:49&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-17 02:13:11&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-26 08:26:38&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-01 15:07:29&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-06 04:00:27&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-11 15:32:45&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-17 11:47:16&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-24 15:45:53&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-30 19:12:33&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-04 03:02:35&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-07 07:19:48&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-12 04:23:18&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-17 05:32:10&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-20 13:11:15&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-20 13:11:15&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:560,&quot;href&quot;:&quot;https:\/\/pixabay.com\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1719218&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260205102120\/https:\/\/pixabay.com\/?utm_source=link-attribution&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 16:07:53&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-09 17:00:23&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-17 02:13:11&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-26 08:26:38&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-01 15:07:29&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-06 04:00:27&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-11 15:32:45&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-17 11:47:16&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-24 15:45:53&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-30 19:12:33&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-04 03:02:35&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-07 07:19:49&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-12 04:23:19&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-17 05:32:09&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-20 13:11:13&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-20 13:11:13&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:723,&quot;href&quot;:&quot;https:\/\/elinux.org\/RPiconfig&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260205214645\/https:\/\/www.elinux.org\/RPiconfig&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 17:54:41&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 04:40:46&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-18 16:22:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-26 09:54:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-01 15:07:30&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 14:14:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-13 01:22:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-18 16:39:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-12 21:22:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-16 08:43:24&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-16 08:43:24&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:724,&quot;href&quot;:&quot;https:\/\/www.switchdoc.com\/2016\/01\/tutorial-repairing-corrupted-sd-cards-for-the-raspberry-pi-on-mac&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20250828141719\/https:\/\/www.switchdoc.com\/2016\/01\/tutorial-repairing-corrupted-sd-cards-for-the-raspberry-pi-on-mac\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 17:54:44&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-18 16:22:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-03 05:46:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 14:13:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-13 01:21:58&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-18 16:39:51&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-12 21:22:10&quot;,&quot;http_code&quot;:503}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-12 21:22:10&quot;,&quot;http_code&quot;:503},&quot;process&quot;:&quot;done&quot;}]'></div>
<figure id="attachment_638" aria-describedby="caption-attachment-638" style="width: 300px" class="wp-caption alignleft"><img loading="lazy" decoding="async" class="size-medium wp-image-638" src="https://learncgames.com/wp-content/uploads/2020/05/raspberry-pi-1719218_640-300x175.jpg" alt="Raspberry-Pi" width="300" height="175" srcset="https://learncgames.com/wp-content/uploads/2020/05/raspberry-pi-1719218_640-300x175.jpg 300w, https://learncgames.com/wp-content/uploads/2020/05/raspberry-pi-1719218_640.jpg 640w" sizes="auto, (max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-638" class="wp-caption-text">Image by <a href="https://pixabay.com/users/BenjaminNelan-268798/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1719218">Benjamin Nelan</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1719218">Pixabay</a></figcaption></figure>
<p>Well to be fair, it was me that made it unbootable. I&#8217;d been reading <a title="Link to Raspi config Wiki" href="https://elinux.org/RPiconfig" target="_blank" rel="noopener noreferrer">this Wiki page</a> on configuring the Pi. I&#8217;d told it to give the GPU almost a GB of RAM. The Pi is a 4 GB Pi 4B.  I did it last night and so this morning, I found it not working at all well.</p>
<p>My first thoughts were I&#8217;d messed up the Operating system and so I took the SD card put it in a holder and booted up my old laptop which has Ubuntu 18.04 LTS on it. This page on <a title="Link to switchdoc.com website" href="https://www.switchdoc.com/2016/01/tutorial-repairing-corrupted-sd-cards-for-the-raspberry-pi-on-mac/" target="_blank" rel="noopener noreferrer">switchdoc</a> suggested I could do a repair with these commands.</p>
<p>First <em>lsblk</em> to view attached devices. There was a <strong>/dev/sdc2</strong> . There was also a <strong>/dev/sdc1</strong></p>
<p>Then</p>
<pre><code class="language-c" data-line="">sudo fsck -fy /dev/sdc1</code></pre>
<p>That gave information about the drive but not the disk. That took</p>
<pre><code class="language-c" data-line="">sudo fsck -fy /dev/sdc2</code></pre>
<p>That took a few seconds and listed information, but still my drive wouldn&#8217;t boot back in the Pi.</p>
<p>Then I remembered I&#8217;d changed the boot config.txt and it was back with the SD card in the laptop and rebooted that. It showed two devices on the desktop (no need to mount anything) and clicking boot gave me a directory listing of /boot. I edited config.txt and changed the GPU Mem value to 256MB.</p>
<p>That fixed it and my PI is now booting quite happily again. I am now going to make a backup copy! It wouldn&#8217;t the end of the world if I had made it permanently unbootable, I&#8217;d just burn the OS again. It&#8217;s just the time wasted and minor hassles copying files, downloading and reinstalling software. Best avoided if possible!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/fixing-an-unbootable-raspberry-pi/">Fixing an unbootable Raspberry Pi</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">636</post-id>	</item>
	</channel>
</rss>
