<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Debian on Puppeteers Oy</title>
		<link>https://www.puppeteers.net/tags/debian/</link>
		<description>Recent content in Debian on Puppeteers Oy</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://www.puppeteers.net/tags/debian/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Ubuntu and Debian preseeding tips</title>
				<link>https://www.puppeteers.net/blog/ubuntu-and-debian-preseeding-tips/</link>
				<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/ubuntu-and-debian-preseeding-tips/</guid>
				<description>&lt;p&gt;Over the years I&amp;rsquo;ve had to automate installation of Ubuntu and Debian installers a number of times. The primary motivation has always been to avoid all the questions about timezone, locale, partitioning and which packages to install &lt;em&gt;and&lt;/em&gt; to not have to babysit the installation. In theory automating the installation is as simple as writing a &lt;a href=&#34;https://wiki.debian.org/DebianInstaller/Preseed&#34;&gt;preseed file&lt;/a&gt;. In practice it is much harder for a number of reasons:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Documentation on the Internet around custom installation media and preseeding setup is anecdotal at best - it gets you going and then lets you fall on your face. The official documentation is pretty good, though.&lt;/li&gt;&#xA;&lt;li&gt;The exact format of the preseed questions varies by operating system &lt;em&gt;version&lt;/em&gt;, not just by operating system (Debian, Ubuntu).&lt;/li&gt;&#xA;&lt;li&gt;In most cases questions about locale and keyboard layout must have answers &lt;em&gt;before&lt;/em&gt; the installer preseed is even loaded. This is misleading, because the preseed file &lt;em&gt;does&lt;/em&gt; have those questions, even though the answers have zero practical effect for the installer.&lt;/li&gt;&#xA;&lt;li&gt;There are many ways to accomplish preseeding, most notably by creating a custom installation medium with the preseed file, or by getting the preseed from an URL (&amp;ldquo;auto mode&amp;rdquo;).&lt;/li&gt;&#xA;&lt;li&gt;The default keyboard layout in most Ubuntu/Debian installer is en-US. This is fine, except when you don&amp;rsquo;t have an American keyboard: then you will be struggling to find characters such as &amp;ldquo;:&amp;rdquo; or &amp;ldquo;/&amp;rdquo;, which are relatively essential when loading the preseed file from an URL.&lt;/li&gt;&#xA;&lt;li&gt;It is impossible to remember how to start &amp;ldquo;automated install&amp;rdquo; from a vanilla installer menu, let alone figure out what the keyboard and locale settings should look like on the kernel command-line.&lt;/li&gt;&#xA;&lt;li&gt;The installer is happy to produce unworking configurations (e.g. no bootloader or no kernel) without giving any hints why things are not working.&lt;/li&gt;&#xA;&lt;li&gt;Each mistake is costly in time, especially if it affects something like Grub configuration which happens at the end of the install.&lt;/li&gt;&#xA;&lt;li&gt;Because of above, you tend to try to make as many changes to the kernel command line and/or preseeding as possible in one go. This means that when you get things working you don&amp;rsquo;t know what the proper fix was, and don&amp;rsquo;t feel like repeating the process to find out.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;In order not to be completely negative here is the general recipe for success:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
