<?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=2692&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2692</link>
		<description><![CDATA[The most recent posts in [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay.]]></description>
		<lastBuildDate>Thu, 28 Feb 2019 07:00:37 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14580#p14580</link>
			<description><![CDATA[<p>Yes fsmithred, intel-microcode package installed...I also checked that cpio, gzip, &amp; others were installed.<br />miyoxtra&#039;s lite on preinstalling abunch of packages...its good to check.<br />As noted above somewhere, I first successed unpacking the img file in Refracta9.</p><div class="codebox"><pre><code>~$ file /boot/initrd.img-4.9.0-8-amd64
	/boot/initrd.img-4.9.0-8-amd64: XZ compressed data</code></pre></div><p>That worked just as you typed it would, being <span class="bbc">XZ compressed data</span>.</p><p>I then checked my 5 other installs with the same result of:</p><div class="codebox"><pre><code>$ file /boot/initrd.img-4.9.0-5-amd64
/boot/initrd.img-4.9.0-5-amd64: ASCII cpio archive (SVR4 with no CRC)</code></pre></div><p>Same result for the <span class="bbc">/boot/initrd.img-4.19.0-2-amd64</span>.<br />Now that&#039;s answered - <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>ralph.ronnquist, thanks for your post...this is my official 1st introduction to cpio.</p><div class="codebox"><pre><code>$ cat initrd.img-4.9.0-5-amd64 | ( cpio -i ; file - )
62 blocks
/dev/stdin: ASCII cpio archive (SVR4 with no CRC)</code></pre></div><p>That unpacked a <span class="bbc">kernel</span> folder,-&gt;<span class="bbc">x86</span> folder-&gt;<span class="bbc">microcode</span> folder-&gt;<span class="bbc">AuthenticAMD.bin</span> file.</p><div class="codebox"><pre><code>$ cat initrd.img-4.9.0-5-amd64 |  ( cpio -i ; gunzip | cpio -i )
62 blocks

gzip: stdin: not in gzip format
cpio: premature end of archive</code></pre></div><p>Again, a <span class="bbc">kernel</span> folder, -&gt;<span class="bbc">x86</span> folder-&gt;<span class="bbc">microcode</span> folder-&gt;<span class="bbc">AuthenticAMD.bin</span> file.<br />New to me, but you guys know this already.<br />Now on to:</p><div class="codebox"><pre><code>$ cat initrd.img-4.9.0-5-amd64 |  ( cpio -i ; cat &gt; ramdisk.gz )
62 blocks

$ ls
initrd.img-4.9.0-5-amd64  kernel  ramdisk.gz</code></pre></div><p>I just had to try...</p><div class="codebox"><pre><code>$ gunzip ramdisk.gz
gzip: ramdisk.gz: not in gzip format</code></pre></div><p>Ol`well, it&#039;s ok to try things. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><div class="codebox"><pre><code>$ cat ramdisk.gz |  ( cpio -i ; gunzip | cpio -i )
3102 blocks
cpio: etc/console-setup/null: Cannot mknod: Operation not permitted
160946 blocks
$ ls
bin   etc   initrd.img-4.9.0-5-amd64  lib    ramdisk.gz  sbin     usr
conf  init  kernel                    lib64  run         scripts</code></pre></div><p>That&#039;s it! wow ~ both awesome &amp; as jaromil typed &quot;elegance&quot;!<br />Nothing left to do, but repack it all now... <img src="https://dev1galaxy.org/img/smilies/yikes.png" width="15" height="15" alt="yikes" />&#160; fsmithred post #2 was the fix - no <span class="bbc">resume</span> file in <span class="bbc">conf/conf.d</span>.<br />I think I&#039;ll do this again, on the other installs - after successful repacking of course <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Oh, fsmithred - Did the info answer post #12 questions? If not let me know - I&#039;ll find `em.<br />Shoot, long post - I&#039;m done for this nite!<br />asta ~~</p>]]></description>
			<author><![CDATA[dummy@example.com (stanz)]]></author>
			<pubDate>Thu, 28 Feb 2019 07:00:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14580#p14580</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14574#p14574</link>
			<description><![CDATA[<p>wow I remember those commands but never saw them in so much elegance 8^)</p>]]></description>
			<author><![CDATA[dummy@example.com (jaromil)]]></author>
			<pubDate>Wed, 27 Feb 2019 20:27:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14574#p14574</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14568#p14568</link>
			<description><![CDATA[<p>If the file has an initial microcode blob before the ramdisk file system, you&#039;ll probably need two successive <span class="bbc">cpio</span> calls to read it. And even more fun, the second part might be compressed separately, which then needs decompression into the pipeline as well.</p><p>For example: unpack first archive (microcode) and check type of second (probably gzipped).</p><div class="codebox"><pre><code>cat /initrd.img | ( cpio -i ; file - )</code></pre></div><p>Then: unpack the first archive, then the second with gunzip-ing</p><div class="codebox"><pre><code>cat /initrd.img |  ( cpio -i ; gunzip | cpio -i )</code></pre></div><p>Or if you like: unpack first, and copy second (compressed) into a file <span class="bbc">ramdisk.gz</span> </p><div class="codebox"><pre><code>cat /initrd.img |  ( cpio -i ; cat &gt; ramdisk.gz )</code></pre></div><p>The last one might be useful if you want to repack things manually since it lets you work out the byte size of the first archive, so you can prepend those bytes to a repacked image.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 27 Feb 2019 10:45:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14568#p14568</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14567#p14567</link>
			<description><![CDATA[<p>Is the intel-microcode package installed? That injects a binary into the initrd. I&#039;m wondering if that could be causing the confusion.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 27 Feb 2019 09:06:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14567#p14567</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14565#p14565</link>
			<description><![CDATA[<p>Hey Miyo! Good to see your words man. kewl stuff (not taxes) keeping ya busy~<br />&quot;Illuminti&quot;...I thought that to. one kinda looks like the ace of diamonds...(whats that mean?!) lol<br />I haven&#039;t seen any log files reflecting anything of interest...and its before &#039;fsck&#039; clears /dev ?<br />That messege was totally a new thing, glad fsmithred passed the fix!<br />I&#039;ll continue this &#039;unpacking initrd.img&#039; in DIY, cause I likes to tinker&#160; <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />stay well...<br />asta</p>]]></description>
			<author><![CDATA[dummy@example.com (stanz)]]></author>
			<pubDate>Tue, 26 Feb 2019 21:52:35 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14565#p14565</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14560#p14560</link>
			<description><![CDATA[<p>Wow! Looks like I&#039;ve missed a lot since I last visited! Sorry...I&#039;ve been busy doing taxes, taking online classes to renew my license for my job (240 hours worth and only 1/3 of the way finished), and playing with beowulf builds as I&#039;ve had the chance.</p><p>stanz, I&#039;ve had those pink symbols before (I don&#039;t remember which build(s) they were on). At the time I thought it was strange, and I couldn&#039;t find anything to explain it...so I attributed it to some conspiracy brought on by the Illuminati. LOLOLOLOL!!! <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>I never noticed any side-effects or strange behavior, so I just chalked it up to one of the extra benefits of using Miyo. LOLOLOLOLOLOLOLOL!!! <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" />&#160; &#160;<img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" />&#160; &#160;<img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Tue, 26 Feb 2019 02:12:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14560#p14560</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14558#p14558</link>
			<description><![CDATA[<p>This is moving off topic now (?) and really has little to do with derivatives or MiyoXtra,<br />I suppose a new topic in &quot;Other Issues&quot; or &quot;DIY&quot;, might be best...?<br />Documentation? I donno...somewhere! <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></description>
			<author><![CDATA[dummy@example.com (stanz)]]></author>
			<pubDate>Tue, 26 Feb 2019 00:59:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14558#p14558</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14557#p14557</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred, post #2 wrote:</cite><blockquote><div><p>There&#039;s a resume file in your initrd that has that uuid inside it. In a live session, run <span class="bbc">lsinitramfs /initrd.img | grep resume</span> to see if it&#039;s there.</p></div></blockquote></div><p>I&#039;m working in miyo&#039;s live session now...<br /><span class="bbc">/boot/initrd.img-4.9.0-5-amd64</span><br />All ran as regular user...</p><div class="codebox"><pre><code>miyo@miyolinux:~$ lsinitramfs /initrd.img | grep resume
scripts/local-premount/resume
bin/resume</code></pre></div><p>We don&#039;t have here, the <span class="bbc">conf/conf.d/zz-resume-auto</span>, that showed up in the updated (delayed) install.</p><p>To answer..</p><div class="quotebox"><cite>fsmithred, same post wrote:</cite><blockquote><div><p>If you have no swap partition...</p></div></blockquote></div><p>I always have swap partition setup before all installs.<br />And wonder why swap gets an &#039;uuid&#039;, even tho I choose &#039;labels&#039;? </p><p>Then created new folder for work, <span class="bbc">:~/initrdtest$</span>, <span class="bbc">cd</span> into it-<br />Will stick with &#039;full path&#039; to file...</p><div class="codebox"><pre><code>miyo@miyolinux:~/initrdtest$ xzcat /boot/initrd.img-4.9.0-5-amd64 | cpio -d -i -m
xzcat: /boot/initrd.img-4.9.0-5-amd64: File format not recognized
cpio: premature end of archive</code></pre></div><p>To check, if <span class="bbc">su</span> might be different.</p><div class="codebox"><pre><code>root@miyolinux:/home/miyo/initrdtest# xzcat /boot/initrd.img-4.9.0-5-amd64 | cpio -d -i -m
xzcat: /boot/initrd.img-4.9.0-5-amd64: File format not recognized
cpio: premature end of archive</code></pre></div><p>Checked with:</p><div class="codebox"><pre><code>$ file /boot/initrd.img-4.9.0-5-amd64
/boot/initrd.img-4.9.0-5-amd64: ASCII cpio archive (SVR4 with no CRC)</code></pre></div><p>I&#039;ll hold off on editing <span class="bbc">/usr/bin/refractasnapshot</span>, and upgrading to <span class="bbc">refractainstaller 9.5.2 from ceres</span>,<br />till I get this &quot;extraction/edit/repack&quot; done...then move into snapshot &amp; installer.</p>]]></description>
			<author><![CDATA[dummy@example.com (stanz)]]></author>
			<pubDate>Mon, 25 Feb 2019 23:56:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14557#p14557</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14550#p14550</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>No such file or directory</p></div></blockquote></div><p>You&#039;re sure it&#039;s there? You didn&#039;t change directory between running xzcat and running file? Try using the full path to the real file instead of the symlink. (/boot/initrd.img-&lt;version&gt;)</p><p>BTW, it&#039;s better if you don&#039;t have the initrd inside the directory where you extract it. You don&#039;t want it to end up inside the new initrd when you repack it.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Mon, 25 Feb 2019 18:26:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14550#p14550</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14547#p14547</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred post#9 wrote:</cite><blockquote><div><p> You could add <span class="bbc">RESUME=none</span> to initramfs.conf then run <span class="bbc">update-initramfs -u -k all</span> and then make a new snapshot. Note that this would change the host initrd. (both of them)</p></div></blockquote></div><p>I finally did that, and rebooted with the <span class="bbc">4.9.0-5-amd64</span>, which still showed the symbols - but, with NO delay!<br />So I&#039;ll mark this solved, although I&#039;m still continuing trying to unpack the initrd.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>I&#039;m not sure what success you&#039;re expecting.....Or are you still trying to unpack it?</p></div></blockquote></div><p>Yes, those commands complain...</p><div class="codebox"><pre><code>:~$ xzcat initrd.img | cpio -d -i -m
xzcat: initrd.img: No such file or directory
cpio: premature end of archive</code></pre></div><p>and with the help of that &#039;file&#039; command...</p><div class="codebox"><pre><code>:~$ file initrd.img
	initrd.img: ASCII cpio archive (SVR4 with no CRC)</code></pre></div><p>Frustrating to me, it didn&#039;t work on miyoXtra, as quick as it did on refracta9. That&#039;s why I thought<br />maybe you had a &#039;helping&#039; package installed on your system - that is not on miyo&#039;s.??<br />Well, I have more research to search.<br />Thanks again fsmithred..</p>]]></description>
			<author><![CDATA[dummy@example.com (stanz)]]></author>
			<pubDate>Mon, 25 Feb 2019 06:17:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14547#p14547</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14537#p14537</link>
			<description><![CDATA[<p>I&#039;m not sure what success you&#039;re expecting. Did you repack the initrd, and if so, what changes did you make to it? Or are you still trying to unpack it?</p><p><span class="bbc">file /boot/initrd.img-4.19.0-2-amd64</span> should tell you what compression is used. Use the corresponding zcat or xzcat command above to unpack it. Tell me which compression was used and what you found inside the initrd. Possible choices of things to do would be remove the offending files, edit the offending files, maybe something else.</p><p>Maybe you&#039;re missing these?</p><p>Rebuild initrd with gzip compression:<br /><span class="bbc">find . -print0 | cpio -0 -H newc -o | gzip -c &gt; ../initrd.img</span></p><p>Rebuild initrd with xz compression:<br /><span class="bbc">find . | cpio -o -H newc | xz --check=crc32 --x86 --lzma2=dict=512KiB &gt; ../initrd.img </span></p><p>Then of course, you have to replace the original with your changed version. (keep a backup copy of the original and copy the modified one to /boot, and make sure the name corresponds to what your boot menu expects it to be.)</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 24 Feb 2019 13:58:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14537#p14537</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14534#p14534</link>
			<description><![CDATA[<p>banging my head against the wall...<br />i got this to work on your refracta9 install and seen your <span class="bbc">RESUME=none</span>.<br />i read <a href="https://www.gnu.org/software/cpio/manual/html_node/Tutorial.html#Tutorial" rel="nofollow">this</a> and a few other cpio search results, to get hint of what i&#039;m doing here.</p><p>now I&#039;m in the troubled system and cannot reproduce that success (3 hours now!).<br />maybe i&#039;m missing a package, in this install?<br />i dislike pastebin - but pasted all my attempts <a href="https://pastebin.com/PeyYvB3i" rel="nofollow">there</a> not to clutter here.</p><p>i&#039;ll try again in the morn`in....</p>]]></description>
			<author><![CDATA[dummy@example.com (stanz)]]></author>
			<pubDate>Sun, 24 Feb 2019 08:25:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14534#p14534</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14529#p14529</link>
			<description><![CDATA[<p>The initrd is not in gzip format. Use this line instead:</p><div class="codebox"><pre><code>xzcat /initrd.img | cpio -d -i -m</code></pre></div><p>Yes, you can just call the initrd directly (in /boot) instead of using the symlink.</p><p>Please get refractainstaller 9.5.2 from ceres. It should be in the repo by now (or very soon.)</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 23 Feb 2019 16:31:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14529#p14529</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14528#p14528</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>As ordinary user, in your home run the following commands.</p><div class="codebox"><pre><code>mkdir extracted
cd extracted
zcat /initrd.img | cpio -i</code></pre></div></div></blockquote></div><p>This looks in <span class="bbc">/boot</span> dir?</p><div class="codebox"><pre><code>:~/extracted$ zcat /initrd.img | cpio -i

gzip: /initrd.img: not in gzip format
cpio: premature end of archive</code></pre></div><div class="codebox"><pre><code>:~/extracted$ zcat /boot/initrd.img-4.9.0-5-amd64 | cpio -i

gzip: /boot/initrd.img-4.9.0-5-amd64: not in gzip format
cpio: premature end of archive</code></pre></div><p>I did run bleachbit couple times, to reduce snapshot size.</p><div class="codebox"><pre><code>:~/extracted$ zcat /boot/initrd.img-4.19.0-2-amd64 | cpio -i

gzip: /boot/initrd.img-4.19.0-2-amd64: not in gzip format
cpio: premature end of archive</code></pre></div><p>I&#039;m gonna reinstall on other partition, and do all this before install - than after - <br />and before upgrading the image, then after (if thats possible?).</p><p>Then redo again with your edit to <span class="bbc">/usr/bin/refractasnapshot</span>.</p><p>What`ta ya think?&#160; <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (stanz)]]></author>
			<pubDate>Sat, 23 Feb 2019 06:20:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14528#p14528</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14527#p14527</link>
			<description><![CDATA[<p><span class="bbc"><a href="https://lists.debian.org/debian-user/20" rel="nofollow">https://lists.debian.org/debian-user/20</a> … 00195.html</span><br />That changes things abit.</p><p>Thx for your time with this fsmithred, as always.</p><p>I gots a &#039;honey-do&#039; list in front of me today...will return asap&#160; <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></description>
			<author><![CDATA[dummy@example.com (stanz)]]></author>
			<pubDate>Sat, 23 Feb 2019 00:52:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14527#p14527</guid>
		</item>
	</channel>
</rss>
