<?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>opensuse kiwi remastering LiveCD Archives - Vavai&#039;s Personal Notes</title>
	<atom:link href="https://www.vavai.net/tag/opensuse-kiwi-remastering-livecd/feed/" rel="self" type="application/rss+xml" />
	<link>https://vavai.net/tag/opensuse-kiwi-remastering-livecd/</link>
	<description>Life is our precious gift</description>
	<lastBuildDate>Thu, 16 Oct 2008 05:11:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>How to Build openSUSE Minimal System LiveCD</title>
		<link>https://www.vavai.net/how-to-build-opensuse-minimal-system-livecd/</link>
					<comments>https://www.vavai.net/how-to-build-opensuse-minimal-system-livecd/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Thu, 16 Oct 2008 05:11:48 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[opensuse kiwi remastering LiveCD]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=136</guid>

					<description><![CDATA[<p>Note : It's the second article for "Remastering openSUSE : How to Build your own openSUSE Based Distro" series. In the previous article, we have discussed about kiwi imaging system and preparing kiwi...</p>
<p>The post <a href="https://www.vavai.net/how-to-build-opensuse-minimal-system-livecd/">How to Build openSUSE Minimal System LiveCD</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Note : It&#8217;s the second article for <a href="http://v2.vavai.net/2008/10/15/remastering-opensuse-how-to-build-your-own-opensuse-based-distro/">&#8220;Remastering openSUSE : How to Build your own openSUSE Based Distro&#8221; series</a>.<br />
<a href="http://54.254.121.108/wp-content/uploads/2008/10/ctso-minimal-boot1.jpeg"><img decoding="async" class="alignleft size-full wp-image-153" style="margin: 5px;" title="ctso-minimal-boot" src="http://54.254.121.108/wp-content/uploads/2008/10/ctso-minimal-boot1.jpeg" alt="" width="339" height="140" /></a>In the previous article, we have discussed about kiwi imaging system and preparing kiwi as our tools for building openSUSE based distro. Now, we will try another interesting guide, how to make our first openSUSE minimal system liveCD.<br />
Why I choose openSUSE minimal system and not another result, e.g. : openSUSE server or openSUSE desktop liveCD or openSUSE liveDVD, or even openSUSE LiveUSB ? The answer is because the tutorial is the easiest choice ! We can build openSUSE minimal system with a simple configuration, without complicated schema, and get the result within few minutes. Let&#8217;s try this :</p>
<ol>
<li>(Optional) Preparing Local Repositories. We could used online repos if we have fast internet connection but I would like to recommendedÂ  local repos for our testing. Create local repositories by making a new folder and copying all of DVD contents (or mounted iso image) into the folder. I will used <strong>/home/vavai/suse11</strong> as my based source on the following article. Adjust this with yours.</li>
<li>Add configuration sample</li>
<p>[code language=&#8217;cpp&#8217;]zypper in kiwi-desc-misc[/code]</p>
<li>Open <strong>/usr/share/kiwi/image/ctso-minimal-suse-11.0/config.xml</strong></li>
<li>Replace the repositories address below with your specified repositories or used online repositories for updated software<br />
[code language=&#8217;cpp&#8217;]<repository type="yast2"><br />
<!--<source path="/mounts/machcd2/consistent/full-i386"/>--><source path="/image/CDs/full-i386"/></repository>[/code]<br />
e.g. :<br />
[code language=&#8217;cpp&#8217;]<repository type="yast2"><br />
<!--<source path="/mounts/machcd2/consistent/full-i386"/>--><source path="/home/vavai/suse11"/></repository>[/code]</li>
<li>Run kiwi command for processing the first stage (creates a so called physical extend according to the provided image description)<br />
[code language=&#8217;cpp&#8217;]kiwi &#8211;prepare /usr/share/kiwi/image/ctso-minimal-suse-11.0/ &#8211;root /tmp/mykiwi &#8211;logfile terminal[/code]<br />
The command should be ended with &#8220;Kiwi exited successfully done&#8221;<br />
<em>Oct-16 11:19:47 &lt;1&gt; : Umounting path: /tmp/mykiwi/dev<br />
Oct-16 11:19:47 &lt;1&gt; : EXEC [umount &#8220;/tmp/mykiwi/dev&#8221; 2&gt;&amp;1]<br />
Oct-16 11:19:47 &lt;1&gt; : Umounting path: /tmp/mykiwi/proc<br />
Oct-16 11:19:47 &lt;1&gt; : EXEC [umount &#8220;/tmp/mykiwi/proc&#8221; 2&gt;&amp;1]<br />
Oct-16 11:19:47 &lt;1&gt; : KIWI exited successfullyÂ Â  done</em></li>
<li>Run kiwi command for processing the second stage (creates an operating system image from a physical extend. The result of the second stage is called a logical extend or short an image)<br />
[code language=&#8217;cpp&#8217;]kiwi &#8211;type iso &#8211;create /tmp/mykiwi/ -d /tmp/mykiwi-image &#8211;logfile terminal[/code]<br />
If you found an error like :<br />
<em> Oct-16 11:24:55 &lt;3&gt; : Couldn&#8217;t create squashfs filesystemÂ Â  failed<br />
Oct-16 11:24:55 &lt;3&gt; :<br />
Oct-16 11:24:55 &lt;1&gt; : EXEC [rm -rf /tmp/mykiwi-image/mykiwi-read-write]<br />
Oct-16 11:24:55 &lt;1&gt; : EXEC [rm -rf /tmp/mykiwi-image/mykiwi]<br />
Oct-16 11:24:58 &lt;3&gt; : KIWI exited with error(s)Â Â  done<br />
</em>Then, install squashfs from the repositories (<strong>zypper in squashfs</strong> from konsole)<br />
Kiwi must be ended with <strong>&#8220;KIWI exited successfully done&#8221;. </strong>If you got an error, please take care and resolve the problem because you will not get the iso <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
<li>Goto /tmp/mykiwi-image and find ctso-minimal-suse-11.0.i686-1.1.2.iso file. It&#8217;s an iso image. You could burn the iso image into CD or used the iso image as dvd rom source with your virtualbox or vmware.</li>
</ol>
<p>Good luck, you has been successfully building your first openSUSE based distro, but please wait. This step is not completed either <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
Try to run the iso image. It will get you a standard and nice openSUSE boot process and ended with the user login on console. It&#8217;s normal because openSUSE minimal system used text mode only and run on init 3 by default. The abnormal situation is that we could get into the system with any user name ! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
To add the default root user with blank password and standard Linux user, follow this instruction :</p>
<ol>
<li> Edit the <strong>/usr/share/kiwi/image/ctso-minimal-suse-11.0/config.sh</strong> file and add following code after <strong>baseCleanMount</strong> and before <strong>exit 0</strong><br />
	[code language=&#8217;cpp&#8217;]#======================================<br />
# /etc/sudoers hack to fix #297695<br />
# (Installation Live CD: no need to ask for password of root)<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
sed -i -e &#8220;s/ALL ALL=(ALL) ALL/ALL ALL=(ALL) NOPASSWD: ALL/&#8221; /etc/sudoers<br />
chmod 0440 /etc/sudoers<br />
/usr/sbin/useradd -m -u 999 linux -c &#8220;Live-CD User&#8221; -p &#8220;&#8221;<br />
# delete passwords<br />
passwd -d root<br />
passwd -d linux<br />
# empty password is ok<br />
pam-config -a &#8211;nullok[/code]</li>
<li>Remove existing physical extend</li>
<p>[code language=&#8217;cpp&#8217;]rm -rf /tmp/mykiwi[/code]</p>
<li>Rebuild your iso by run the command on first stage and second stage :<br />
[code language=&#8217;cpp&#8217;]kiwi &#8211;prepare /usr/share/kiwi/image/ctso-minimal-suse-11.0/ &#8211;root /tmp/mykiwi &#8211;logfile terminal<br />
kiwi &#8211;type iso &#8211;create /tmp/mykiwi/ -d /tmp/mykiwi-image &#8211;logfile terminal[/code]</li>
</ol>
<p>The tutorial above is quite simple, but we could extend the result by adding another application into config.xml schema. KIWI is smart enough to add the application and their dependencies, so don&#8217;t be afraid with the installation process for every application. KIWI also smart enough for finding relevant repositories if we providing multiple repos.<br />
If you wish to add desktop environment, GUI application or another 3rd party application, ad the package within <strong>&lt;package name=&#8221;name-of-package&#8221;/&gt;</strong>. It may be too complicated for adding every package into the config.xml schema but we can avoid these by using KIWI features : pattern usability.<br />
We will learn more about using KIWI and Pattern for <strong>&#8220;Building openSUSE 11.0 KDE 3.5 LiveCD&#8221;</strong> on next article.</p>
<p>The post <a href="https://www.vavai.net/how-to-build-opensuse-minimal-system-livecd/">How to Build openSUSE Minimal System LiveCD</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/how-to-build-opensuse-minimal-system-livecd/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 30/44 objects using Disk
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: d3b35uem336dgh.cloudfront.net
Lazy Loading (feed)
Minified using Disk
Database Caching 15/29 queries in 0.011 seconds using Disk

Served from: www.vavai.net @ 2026-10-29 06:57:23 by W3 Total Cache
-->