<?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=4195&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4195</link>
		<description><![CDATA[The most recent posts in [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue).]]></description>
		<lastBuildDate>Fri, 02 Apr 2021 11:55:51 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28714#p28714</link>
			<description><![CDATA[<p>I&#039;m still here, as a monkey with a keyboard, if there is anything I can do to help.&#160; <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (ComputerBob)]]></author>
			<pubDate>Fri, 02 Apr 2021 11:55:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28714#p28714</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28239#p28239</link>
			<description><![CDATA[<p>Confirmed that ComputerBob&#039;s problem is not the same as yours. He has a full initrd.img (24M).</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Mon, 15 Mar 2021 13:33:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28239#p28239</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28211#p28211</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>I think I found it. Move /etc/initramfs-tools/conf.d/driver-policy out of the way and run <span class="bbc">update-initramfs -u</span> and then make a new snapshot.</p></div></blockquote></div><p>That was is it, the snapshot is now working as it should. Thanks again fsmithred. </p><p>Do you think this might be the issue with computer bobs snapshot ?</p><p><a href="http://dev1galaxy.org/viewtopic.php?id=4188" rel="nofollow">http://dev1galaxy.org/viewtopic.php?id=4188</a></p>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Mon, 15 Mar 2021 01:03:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28211#p28211</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28201#p28201</link>
			<description><![CDATA[<p>I think I found it. Move /etc/initramfs-tools/conf.d/driver-policy out of the way and run <span class="bbc">update-initramfs -u</span> and then make a new snapshot.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 14 Mar 2021 16:13:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28201#p28201</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28199#p28199</link>
			<description><![CDATA[<p>Good tool meld, ive used it before but not for something like this, but it worked to diff in directories good-iso vs bad-iso.</p><p>I unpacked both initrd.img, the bad iso is 48mb smaller than the good iso when unpacked. The bad iso is missing a lot of kernel object .ko files. I couldnt see an option to extract a report or log from meld to post here. But yeah huge difference.</p>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Sun, 14 Mar 2021 15:21:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28199#p28199</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28197#p28197</link>
			<description><![CDATA[<p>Unpack the initramfs from the bad iso and also the one from the good iso and compare them. (Hint: meld is a good program for comparing files and directories.) Use unmkinitramfs instead of the commands I posted in that other thread. It&#039;s easier. Plus, the command I posted for computerbob won&#039;t work for your initrd.img.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 14 Mar 2021 14:55:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28197#p28197</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28196#p28196</link>
			<description><![CDATA[<p>All good, thanks for your help anyhow. Its a pretty edge case this one i admit due to the expert install. I just chose that option as i thought it was a better alternative. Ill stick to all available drivers in the future. Id still like to see what is missing or not included in the initramfs.</p>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Sun, 14 Mar 2021 14:52:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28196#p28196</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28195#p28195</link>
			<description><![CDATA[<p>Yeah, the second way is correct. I should have explained the quotes and $. Replace that with path to the file you&#039;re checking. And it looks good. The script removed crypttab and resume as it should have. I don&#039;t know what the next step is.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 14 Mar 2021 14:38:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28195#p28195</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28188#p28188</link>
			<description><![CDATA[<p>The host system is not encrypted.</p><p>from the mounted usb stick.</p><p>If i use the command you suggested i get this...</p><div class="codebox"><pre><code>/liveiso/live $ lsinitramfs &quot;$initrd.img&quot; | egrep &quot;resume|cryptroot|crypttab|askpass&quot;
/usr/bin/unmkinitramfs: 62: /usr/bin/unmkinitramfs: cannot open .img: No such file
/usr/bin/unmkinitramfs: 55: /usr/bin/unmkinitramfs: cannot open .img: No such file
/usr/bin/unmkinitramfs: 36: /usr/bin/unmkinitramfs: cannot open .img: No such file
/usr/bin/unmkinitramfs: 36: /usr/bin/unmkinitramfs: lz4cat: not found
cpio: premature end of archive</code></pre></div><p>without the $ and quotes aka &quot;$initrd.img&quot;...</p><div class="codebox"><pre><code>/liveiso/live $ lsinitramfs initrd.img | egrep &quot;resume|cryptroot|crypttab|askpass&quot;
cryptroot
scripts/local-top/cryptroot
scripts/local-premount/resume
scripts/local-block/cryptroot
usr/bin/cryptroot-unlock
usr/bin/resume</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Sun, 14 Mar 2021 13:19:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28188#p28188</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28186#p28186</link>
			<description><![CDATA[<p>Please do the same on either the mounted iso or mounted usb stick that has the image. Check /live/initrd.img to see if resume and crypttab got removed. Is the host system that made this snapshot an encrypted system?</p><div class="codebox"><pre><code>lsinitramfs &quot;$initrd.img&quot; | egrep &quot;resume|cryptroot|crypttab|askpass&quot;</code></pre></div><p>Note: in the previous post I started the command with &#039;#&#039; which suggests it needs to be run as root, but that is not the case. You can run the command as user.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 14 Mar 2021 13:08:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28186#p28186</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Refractasnapshot - boot issue (not a Refractsnapshot issue)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28182#p28182</link>
			<description><![CDATA[<p>Rather than clogging up computer bobs thread for backing up i make a new thread continuing on from post #52 </p><p><a href="http://dev1galaxy.org/viewtopic.php?pid=28139#p28139" rel="nofollow">http://dev1galaxy.org/viewtopic.php?pid=28139#p28139</a></p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><div class="quotebox"><cite>dice wrote:</cite><blockquote><div><p>Hi fsmithred, does refractasnapshot depend on having &quot;<span class="bbc">initrd (initial ram disk): generic (all available drivers)</span>&quot; as opposed to &quot;only select drivers to suit this hardware&quot;, during expert install? I have a feeling this is where the initramfs is failing.</p></div></blockquote></div><p>Wow. Excellent question. I don&#039;t know the answer. I can&#039;t recall if this has ever come up in the 10 years I&#039;ve been maintaining that script. I would expect a snapshot with limited drivers would only boot on the same or similar hardware.</p><p>That option is probably set in /etc/initramfs-tools/initramfs.conf. Compare the one with limited drivers to one with all available. If there&#039;s something obvious to change, change it, rebuild initramfs and make a new snapshot.&#160; <span class="bbc">update-initramfs -u</span></p><p>If you want to save time in the above procedure, make the new initrd.img and copy it to /home/work/iso/live and then run refractasnapshot, but choose the option to run xorriso only. You&#039;ll be done in one minute.</p><p>I don&#039;t think I&#039;ve ever done an install with drivers limited to the current hardware. I always assume that my old boxen will die and I&#039;ll have to move the hard drive to another computer.</p><p>Edit: if you do the shortcut in this case, and you use that iso to install on another system, you will need to edit initramfs.conf in that system. That could be done in the live system before install. That way when the initrd gets rebuilt during the install it will be good.</p><p>Edit 2: change initramfs.conf in /home/work/myfs/ and run the re-squash option in refractasnapshot. That will avoid the problem mentioned in the first edit. It&#039;ll take longer, too.</p></div></blockquote></div><p>Ok so i had a look at both /etc/initramfs-tools/initramfs.conf , both are the same for limited drivers and all available.</p><p>What drivers get missed when using the limited drivers option in the expert install, i cant seem to figure that out?</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>I tried dice&#039;s qemu command (without the sudo) and my iso boots as cdrom or as disk. I&#039;m pretty sure the problem is in the initramfs.</p><p>dice, please run:</p><div class="codebox"><pre><code>lsinitramfs /initrd.img | egrep &quot;resume|cryptroot|crypttab|askpass&quot;

file -L /initrd.img</code></pre></div></div></blockquote></div><p>To answer this question from here <a href="http://dev1galaxy.org/viewtopic.php?pid=28136#p28136" rel="nofollow">http://dev1galaxy.org/viewtopic.php?pid=28136#p28136</a></p><p>This is from the system that has limited drivers and wont boot the snaphot.</p><div class="codebox"><pre><code># lsinitramfs /initrd.img | egrep &quot;resume|cryptroot|crypttab|askpass&quot;
conf/conf.d/resume
cryptroot
cryptroot/crypttab
scripts/local-block/cryptroot
scripts/local-premount/resume
scripts/local-top/cryptroot
usr/bin/cryptroot-unlock
usr/bin/resume</code></pre></div><div class="codebox"><pre><code># file -L /initrd.img
/mnt/initrd.img: gzip compressed data, last modified: Sun Mar 14 09:21:56 2021, from Unix, original size 66083840</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Sun, 14 Mar 2021 09:57:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28182#p28182</guid>
		</item>
	</channel>
</rss>
