<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sysresccd on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/tags/sysresccd/</link><description>Recent content in Sysresccd on Andrew's Memory Blog</description><generator>Hugo -- gohugo.io</generator><image><url>https://andrewmemory.acornwall.net/img/rss_image.png</url><title>Sysresccd on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/</link></image><language>en</language><managingEditor>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</managingEditor><webMaster>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</webMaster><copyright>Copyright 2009--2025</copyright><lastBuildDate>Tue, 25 Nov 2014 00:01:51 -0700</lastBuildDate><atom:link href="https://andrewmemory.acornwall.net/tags/sysresccd/index.xml" rel="self" type="application/rss+xml"/><item><title>Signal out of range on Soyo Topaz S</title><link>https://andrewmemory.acornwall.net/blog/2014-11-25-signal-out-of-range-on-soyo-topaz-s/</link><pubDate>Tue, 25 Nov 2014 00:01:51 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2014-11-25-signal-out-of-range-on-soyo-topaz-s/</guid><description>&lt;p&gt;I recently upgraded my monitor from an old Sharp 12&amp;quot; to a Soyo Topaz S. Things seemed to be going well with the new monitor until I rebooted my Ubuntu Server (which was on 12.04 LTS). When I did that, I got the message &amp;ldquo;Signal Out of Range&amp;rdquo; from the monitor, and I couldn&amp;rsquo;t see what was being displayed.&lt;/p&gt;
&lt;p&gt;According to a number of sources, this was because my monitor was being detected incorrectly and choosing the wrong resolution or colour depth. Lots of articles explained that you can change the mode in the config file /etc/default/grub.&lt;/p&gt;
&lt;p&gt;To start with, I booted &lt;a href="http://www.sysresccd.org/" title="SystemRescueCD homepage" target="_blank" rel="noreferrer"&gt;SysRescCD&lt;/a&gt; with the option &lt;a href="https://www.gnu.org/software/grub/manual/html_node/gfxpayload.html#gfxpayload" title="gfxpayload page from grub" target="_blank" rel="noreferrer"&gt;gfxpayload=640x480&lt;/a&gt;. This got me to the point where I could see the file system, do an fsck (I&amp;rsquo;d gone 327 days without one) and mount my root drive in /mnt.&lt;/p&gt;
&lt;p&gt;Naturally, when I did that, I discovered the file /mnt/etc/default/grub didn&amp;rsquo;t exist. That&amp;rsquo;s because I had upgraded originally from 8.04 LTS and that had never upgraded my grub to grub2.&lt;/p&gt;
&lt;p&gt;But at least now I could ssh into my server again. I updated, then upgraded to 14.04.1 LTS because hey, the server needed it anyway. Immediately after doing that, I saw an error with every command, &amp;ldquo;no talloc stackframe at ../source3/param/loadparm.c, leaking memory&amp;rdquo;. The quick fix for that (as described in &lt;a href="http://ubuntuforums.org/showthread.php?t=2214042" title="forum thread" target="_blank" rel="noreferrer"&gt;this ubuntuforums thread&lt;/a&gt;) was to run pam-auth-update and remove &amp;ldquo;SMB password synchronization&amp;rdquo;. As far as I can tell, that hasn&amp;rsquo;t changed anything with respect to what passwords are used for my shares.&lt;/p&gt;
&lt;p&gt;Then I followed the &lt;a href="https://help.ubuntu.com/community/Grub2/Upgrading" title="upgrading grub instructions" target="_blank" rel="noreferrer"&gt;instructions to upgrade from grub to grub2&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;After that, I still couldn&amp;rsquo;t see my screen when I booted&amp;hellip; but I had an /etc/default/grub. So I edited it, uncommented the line:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;GRUB_GFXMODE=640x480&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;and had a booting system again. Yay! Eventually I figured out that I could go up to 1024x768 with no problems.&lt;/p&gt;
&lt;p&gt;After that I realized I couldn&amp;rsquo;t do anything with the grub menu. I booted into the system, but couldn&amp;rsquo;t choose the OS to load with my USB keyboard.&lt;/p&gt;
&lt;p&gt;So the next time I booted, I had to switch &amp;ldquo;USB Keyboard Support&amp;rdquo; in my BIOS from &amp;ldquo;OS&amp;rdquo; to &amp;ldquo;BIOS&amp;rdquo;. That fixed the grub menu problem.&lt;/p&gt;</description></item><item><title>Backing up a disk with SysRescCD</title><link>https://andrewmemory.acornwall.net/blog/2010-06-20-backing-up-a-disk-with-sysresccd/</link><pubDate>Sun, 20 Jun 2010 16:51:00 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2010-06-20-backing-up-a-disk-with-sysresccd/</guid><description>&lt;p&gt;The documentation for the very good &lt;a href="http://www.sysresccd.org" target="_blank" rel="noreferrer"&gt;SysRescCD&lt;/a&gt; has changed, so I can&amp;rsquo;t find the standard &amp;ldquo;here&amp;rsquo;s how to back up a disk&amp;rdquo; using sfdisk and partimage anymore.&lt;/p&gt;
&lt;p&gt;Luckily, it got saved here: &lt;a href="http://www.hackadmin.com/2009/05/31/disk-imaging-with-partimage/" target="_blank" rel="noreferrer"&gt;www.hackadmin.com/2009/05/31/disk-imaging-with-partimage/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For future reference, this is a good way to back up a disk.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Boot the machine with the disk using SysRescCD.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Mount a big NFS/CIFS drive.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy the MBR:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;dd if=/dev/sda of=/cifs/sda.mbr count=1 bs=512&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy the partition table from the drive:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt; sfdisk -d /dev/sda &amp;gt; /cifs/sda.sfdisk&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run partimage on each partition on the drive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Finally, for good measure,&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;dd if=/dev/sda | gzip &amp;gt; /cifs/sda.dd.gz&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can use kill -USR1 &lt;em&gt;pid&lt;/em&gt; on the dd process id (not the gzip process id) to see progress.&lt;/p&gt;
&lt;p&gt;Most of the restore is straightforward. sfdisk can take its output as input; partimage has restore built in. To decompress the gzip dd image, use:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;gzip -dc /cifs/sda.dd.gz | dd of=/dev/sda&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;Incidentally, a good site for dd information is here: &lt;a href="http://www.softpanorama.org/Tools/dd.shtml" target="_blank" rel="noreferrer"&gt;www.softpanorama.org/Tools/dd.shtml&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>