<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.virusstyle.synology.me/index.php?action=history&amp;feed=atom&amp;title=Ubuntu%2FClean_BOOT_partition_if_full</id>
	<title>Ubuntu/Clean BOOT partition if full - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.virusstyle.synology.me/index.php?action=history&amp;feed=atom&amp;title=Ubuntu%2FClean_BOOT_partition_if_full"/>
	<link rel="alternate" type="text/html" href="https://wiki.virusstyle.synology.me/index.php?title=Ubuntu/Clean_BOOT_partition_if_full&amp;action=history"/>
	<updated>2026-04-21T12:47:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.virusstyle.synology.me/index.php?title=Ubuntu/Clean_BOOT_partition_if_full&amp;diff=95&amp;oldid=prev</id>
		<title>Kaspars: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.virusstyle.synology.me/index.php?title=Ubuntu/Clean_BOOT_partition_if_full&amp;diff=95&amp;oldid=prev"/>
		<updated>2026-04-16T08:41:33Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:41, 16 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff:1.41:old-94:rev-95 --&gt;
&lt;/table&gt;</summary>
		<author><name>Kaspars</name></author>
	</entry>
	<entry>
		<id>https://wiki.virusstyle.synology.me/index.php?title=Ubuntu/Clean_BOOT_partition_if_full&amp;diff=94&amp;oldid=prev</id>
		<title>Kaspars at 07:03, 5 November 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.virusstyle.synology.me/index.php?title=Ubuntu/Clean_BOOT_partition_if_full&amp;diff=94&amp;oldid=prev"/>
		<updated>2018-11-05T07:03:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:#eee;border:1px solid #ccc;padding:5px 10px;&amp;quot;&amp;gt;$ uname -r&amp;lt;/div&amp;gt; &amp;lt;div style=&amp;quot;background:#eee;border:1px solid #ccc;padding:5px 10px;&amp;quot;&amp;gt;$ sudo dpkg --list &amp;#039;linux-image*&amp;#039;|awk &amp;#039;{ if ($1==&amp;quot;ii&amp;quot;) print $2}&amp;#039;|grep -v `uname -r`&amp;lt;/div&amp;gt; &lt;br /&gt;
You will get the list of images somethign like below:&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#eee;border:1px solid #ccc;padding:5px 10px;&amp;quot;&amp;gt;linux-image-3.19.0-25-generic&amp;lt;br/&amp;gt; linux-image-3.19.0-56-generic&amp;lt;br/&amp;gt; linux-image-3.19.0-58-generic&amp;lt;br/&amp;gt; linux-image-3.19.0-59-generic&amp;lt;br/&amp;gt; linux-image-3.19.0-61-generic&amp;lt;br/&amp;gt; linux-image-3.19.0-65-generic&amp;lt;br/&amp;gt; linux-image-extra-3.19.0-25-generic&amp;lt;br/&amp;gt; linux-image-extra-3.19.0-56-generic&amp;lt;br/&amp;gt; linux-image-extra-3.19.0-58-generic&amp;lt;br/&amp;gt; linux-image-extra-3.19.0-59-generic&amp;lt;br/&amp;gt; linux-image-extra-3.19.0-61-generic&amp;lt;br/&amp;gt; &amp;amp;nbsp;&amp;lt;/div&amp;gt; &lt;br /&gt;
=== Craft a command to delete all files in /boot for kernels that don&amp;#039;t matter to you using brace expansion to keep you sane. Remember to exclude the current and two newest kernel images. From above Example, it&amp;#039;s ===&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#eee;border:1px solid #ccc;padding:5px 10px;&amp;quot;&amp;gt;sudo rm -rf /boot/*-3.19.0-{25,56,58,59,61,65}-*&amp;lt;/div&amp;gt; &lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Clean up what&amp;#039;s making apt grumpy about a partial install.&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#eee;border:1px solid #ccc;padding:5px 10px;&amp;quot;&amp;gt;sudo apt-get -f install&amp;lt;/div&amp;gt; &lt;br /&gt;
Finally, autoremove to clear out the old kernel image packages that have been orphaned by the manual boot clean.&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#eee;border:1px solid #ccc;padding:5px 10px;&amp;quot;&amp;gt;sudo apt-get autoremove&amp;lt;/div&amp;gt; &amp;lt;div style=&amp;quot;background:#eee;border:1px solid #ccc;padding:5px 10px;&amp;quot;&amp;gt;sudo update-grub&amp;lt;/div&amp;gt; &amp;lt;div style=&amp;quot;background:#eee;border:1px solid #ccc;padding:5px 10px;&amp;quot;&amp;gt;sudo apt-get update&amp;lt;/div&amp;gt; &lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kaspars</name></author>
	</entry>
</feed>