<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=2025&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / SOLVED - chroot live build - kernel panic]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2025</link>
		<description><![CDATA[The most recent posts in SOLVED - chroot live build - kernel panic.]]></description>
		<lastBuildDate>Sun, 06 May 2018 20:02:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8868#p8868</link>
			<description><![CDATA[<p>My hero <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>Those two packages did the trick.&#160; Also, it turns out they were compiled alongside live-boot and live-config -- they were residing in the same directory as the compiled debs.&#160; So, backporting live-boot/config built them, and all I had to do was install them.&#160; Shame on me for not checking the other debs that were originally created and should have been installed lol.</p><p>Problem solved -- even works with the newest liquorix kernel.</p>]]></description>
			<author><![CDATA[dummy@example.com (siva)]]></author>
			<pubDate>Sun, 06 May 2018 20:02:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8868#p8868</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8861#p8861</link>
			<description><![CDATA[<p>Just noticed something while closing tabs - you only did live-boot and live-config. You might need to add live-config-sysvinit and live-boot-initramfs-tools. I&#039;m pretty sure you can install the newer versions without backporting them.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 06 May 2018 17:06:35 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8861#p8861</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8856#p8856</link>
			<description><![CDATA[<p>I think the ehci-orion message just happens to occur near the point when init tries to switch-root, and that&#039;s a common place for problems.</p><p>I can confirm that your basic procedure works. I have a new install of desktop-live on my hard drive, so I chrooted into it and started making isos. I had to do a little more, because it&#039;s an encrypted install, (remove conf/conf.d/cryptroot from initrd). Installed 4.15 from backports, did not remove 4.9, made another snapshot and it boots 4.15 normally.</p><p>Oh yeah, I had to remove intel-microcode before I could unpack and repack the initrd. </p><p>And I didn&#039;t backport anything. Just running ascii and chrooting into another ascii install. Maybe something else in jessie needs to be upgraded for this to work.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 06 May 2018 13:38:35 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8856#p8856</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8847#p8847</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><div class="quotebox"><blockquote><div><p>still complaining about ehci-orion not being in modules.dep</p></div></blockquote></div><p>It always says that when there&#039;s a problem.</p></div></blockquote></div><p>Why does it give that particular message?&#160; It seems way too vague.</p><div class="quotebox"><blockquote><div><p>What was in conf/conf.d/ in the initrd? That&#039;s usually where the problem is.</p></div></blockquote></div><p>The folder <span class="bbc">conf</span> contains two files and one folder:<br />arch.conf contains one line: <span class="bbc">DPKG_ARCH=amd64</span><br />conf.d is completely empty.<br />I uploaded initramfs.conf to pastebin.&#160; Not really sure what any issue would be...<br /><a href="https://pastebin.com/ChjY6Kzm" rel="nofollow">https://pastebin.com/ChjY6Kzm</a></p><p>Edit: I compared it with the jessie (3.16) initrd.img.&#160; The results were exactly the same, including the contents of <span class="bbc">conf.d</span> and <span class="bbc">initramfs.conf</span>.</p>]]></description>
			<author><![CDATA[dummy@example.com (siva)]]></author>
			<pubDate>Sat, 05 May 2018 22:07:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8847#p8847</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8845#p8845</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>still complaining about ehci-orion not being in modules.dep</p></div></blockquote></div><p>It always says that when there&#039;s a problem. Don&#039;t chase that ghost. What was in conf/conf.d/ in the initrd? That&#039;s usually where the problem is.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 05 May 2018 20:49:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8845#p8845</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8844#p8844</link>
			<description><![CDATA[<p>Well, I manually backported both of them, and that solved the first chunk of problems.<br /><a href="https://github.com/souperdoupe/crunkbong/tree/master/devuan-backports/jessie-backports" rel="nofollow">https://github.com/souperdoupe/crunkbon … -backports</a></p><p>Sadly, it&#039;s still complaining about ehci-orion not being in modules.dep.&#160; I&#039;m not sure if this can/should be patched or if it&#039;s available in some other package.<br /><a href="https://ibb.co/h9o2yn" rel="nofollow">https://ibb.co/h9o2yn</a><br />The 3.16 modules.dep file doesn&#039;t contain ehci-orion at all, either, but it doesn&#039;t err.&#160; This seems to be an issue that keeps popping up with the 4.9+ kernels.</p>]]></description>
			<author><![CDATA[dummy@example.com (siva)]]></author>
			<pubDate>Sat, 05 May 2018 18:43:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8844#p8844</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8816#p8816</link>
			<description><![CDATA[<p>If the backports version doesn&#039;t work, try the ascii version. You should be able to install it in jessie. In the past (couple years ago) I used the sid version in debian jessie.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 04 May 2018 13:56:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8816#p8816</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8814#p8814</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>There&#039;s no more aufs in the kernel (4.9 or 4.14)</p></div></blockquote></div><p>That&#039;s the gist I got :\</p><div class="quotebox"><blockquote><div><p>You may need a newer version of live-boot* and live-config*. 20170112 should work (works for me) and is in ascii.</p></div></blockquote></div><p>Thanks, I noticed that jessie&#039;s versions are considerably older, live-config in particular.&#160; I&#039;ll try the live-build backport just in case.&#160; If it still fails, and manually backporting isn&#039;t worth it, I&#039;ll just consider upgrading to ascii sooner than anticipated.</p><div class="quotebox"><blockquote><div><p>If you have a union=aufs (or union=anything) in your boot command, remove it.</p></div></blockquote></div><p>There is no union=* in the boot command.&#160; A few sites suggested to try union=overlay, which I tried, but that failed.</p>]]></description>
			<author><![CDATA[dummy@example.com (siva)]]></author>
			<pubDate>Fri, 04 May 2018 13:22:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8814#p8814</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8809#p8809</link>
			<description><![CDATA[<p>There&#039;s no more aufs in the kernel (4.9 or 4.14)</p><p>You may need a newer version of live-boot* and live-config*. 20170112 should work (works for me) and is in ascii.<br />If you have a union=aufs (or union=anything) in your boot command, remove it.</p><p>The fix in that bug report was for live-build, which is not used here.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 04 May 2018 02:24:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8809#p8809</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8808#p8808</link>
			<description><![CDATA[<p>I checked everything and nothing seemed weird.&#160; I also removed both kernels and reinstalled the bpo amd64.&#160; However, this recent build is giving some weird issue about aufs:<br /><a href="https://preview.ibb.co/m4CsB7/Screenshot_05032018_08_54_04_AM.png" rel="nofollow">https://preview.ibb.co/m4CsB7/Screensho … _04_AM.png</a><br />This bug report suggested that the post-jessie kernels no longer use aufs, and have replaced it with overlayfs.&#160; It didn&#039;t offer a real solution, though.&#160; <br /><a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844749#30" rel="nofollow">https://bugs.debian.org/cgi-bin/bugrepo … =844749#30</a></p><div class="quotebox"><blockquote><div><p>sed -i &quot;s/LB_UNION_FILESYSTEM=\&quot;aufs\&quot;/LB_UNION_FILESYSTEM=\&quot;overlay\&quot;/g&quot; config/chroot</p></div></blockquote></div><p>where <span class="bbc">config/chroot</span> is an ambiguous directory, which is unhelpful.</p><p>I find this weird because I can run the backported kernel on my build system (devuan jessie) just fine.</p>]]></description>
			<author><![CDATA[dummy@example.com (siva)]]></author>
			<pubDate>Fri, 04 May 2018 01:42:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8808#p8808</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8747#p8747</link>
			<description><![CDATA[<div class="codebox"><pre><code>cp /boot/initrd.img-4.14-whatever .
mkdir extracted
cd extracted
zcat ../initrd.img-blah  | cpio -i</code></pre></div><p>Then examine the files in conf/conf.d/. Look for something that has a wrong uuid or device name.</p><p>When you install a newer kernel, it takes over the symlinks, /vmlinuz and /initrd.img, which will be used by refractasnapshot. It copies them to&#160; work/iso/live. The usual procedure is to install the new kernel first, then remove the old kernel. There are two reasons for doing it in this order: 1. Usually, the old kernel is running when you do this, so you can&#039;t remove it until you boot into the new kernel. 2. In case the new kenel doesn&#039;t work, you can still boot the old one. Since you&#039;re doing this in a chroot, it shouldn&#039;t matter.</p><p>If you want more than one kernel in the iso, you need to copy it to the same place with a different name, and you need to make a boot entry for it. Make sure you have set save_work=yes in the config file.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 02 May 2018 11:11:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8747#p8747</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8713#p8713</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>what do you mean by &quot;installed a live build from chroot&quot;</p></div></blockquote></div><p>Sorry if that was unclear.&#160; I debootstrapped a system and develop it through chroot; that includes running refractasnapshot within the chroot environment, and accessing the iso from the host filesystem later on.&#160; I don&#039;t believe this approach uses swap in the way you inquired below.&#160; Also, nothing is encrypted.</p><p>With the normal jessie kernel, the iso produced works as expected, whether I&#039;m entering the live environment through a virtual machine (qemu), or dd-ing the iso onto a removable drive (usb).&#160; Actually, you would know, since you tested it for me. <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /><br /><a href="https://dev1galaxy.org/viewtopic.php?pid=8241#p8241" rel="nofollow">https://dev1galaxy.org/viewtopic.php?pid=8241#p8241</a></p><p>One thing I forgot to mention in the original post is that I&#039;m trying to replace the kernel altogether, although I do intend to experiment with a version that includes two kernels in the future.&#160; For now, I&#039;m inquiring about replacing the jessie kernel with a backported one.</p><p>Using the procedures in the original post, I&#039;ve tried:<br />a. removing the jessie kernel and then installing the backported one, and<br />b. installing the backported one and then removing the jessie<br />Both produce the same kernel panic message.&#160; What I also find weird is that, no matter what, when I uninstall the bpo and re-install jessie&#039;s, it goes back to working as expected.&#160; I did not attempt a snapshot which included both jessie&#039;s kernel and the bpo.</p><p>Researching the panic led to ambiguous results, not to mention the screen cuts off because it&#039;s something like a 640x480 resolution.&#160; My gut tells me that this is an initrd error, but I&#039;ve never encountered an issue like this before.&#160; I&#039;ve even manually ran the initrd and grub update commands after the bpo kernel is installed, even though it runs those during installation anyway.</p>]]></description>
			<author><![CDATA[dummy@example.com (siva)]]></author>
			<pubDate>Tue, 01 May 2018 20:05:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8713#p8713</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8700#p8700</link>
			<description><![CDATA[<p>What do you mean by &quot;installed a live build from chroot&quot;?</p><p>There&#039;s something wrong in the initrd. Is this installed on a removable drive? ? Or from a snapshot that was made on a system that has a swap partition or an encrypted partition?</p><p>Edit: If you make a snapshot of a system that has more than one kernel, you may need to copy the extra kernel and initrd to $work_dir/iso/live/, and if you want both kernels available in the live iso, they must be named differently and you must create boot menu entries for the extra kernel.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 01 May 2018 11:49:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8700#p8700</guid>
		</item>
		<item>
			<title><![CDATA[SOLVED - chroot live build - kernel panic]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8649#p8649</link>
			<description><![CDATA[<p>I installed a live build of jessie from chroot and everything works okay.&#160; However, when I installed the backported kernel, the system spit out a kernel panic at boot.&#160; I suspect I missed a step, and would be skeptical of refractasnapshot only if it also kernel-panicked with the stock jessie kernel as well.&#160; </p><p>Procedures (all as root):</p><div class="codebox"><pre><code>apt-get -t jessie-backports install linux-image-amd64
(update-initramfs loads automatically)
(update-grub runs automatically)
refractasnapshot</code></pre></div><p>SOLUTION: install/backport the ascii+ versions of <span class="bbc">live-boot live-config live-config-sysvinit live-boot-initramfs-tools</span>.&#160; Backporting/installing the former two will also backport/install the latter.&#160; For convenience, I&#039;ve uploaded them to the crunkbong github page <a href="https://github.com/souperdoupe/crunkbong/tree/master/devuan-backports/jessie-backports" rel="nofollow">here</a>, but I don&#039;t intend to maintain it after ascii reaches stable.</p>]]></description>
			<author><![CDATA[dummy@example.com (siva)]]></author>
			<pubDate>Mon, 30 Apr 2018 12:33:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8649#p8649</guid>
		</item>
	</channel>
</rss>
