On 9/22/07, <b class="gmail_sendername">Dan Ritter</b> &lt;<a href="mailto:dsr-myth@tao.merseine.nu">dsr-myth@tao.merseine.nu</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, Sep 22, 2007 at 01:37:39AM -0400, Michael T. Dean wrote:<br><br>(dsr said:)<br>&gt; &gt; sudo mkswap /dev/hda2<br>&gt; &gt; sudo swapon /dev/hda2<br>&gt; &gt;<br>&gt; &gt; (in future, your fstab line should work.)
<br>&gt;<br>&gt; Almost...<br>&gt;<br>&gt; mkswap -L SWAP /dev/hda2<br>&gt;<br>&gt; Or, whatever the label (in /etc/fstab) may be.<br><br>Ah, but he already did:<br><br>&gt; &gt;&gt; label.&nbsp;&nbsp;I quit qtparted and edited /etc/fstab to comment out the existing
<br>&gt; &gt;&gt; swap line and create a copy that references the drive directly as /dev/hda2<br><br>So it&#39;s currently immaterial. But you&#39;re right, that would let<br>him switch back to mount-by-label later on.<br>
<br>-dsr-<br></blockquote></div>Thanks everyone.&nbsp; Got it working.&nbsp; It was weird, though.<br><br>The first time I ran mkswap I just provided the device, /dev/hda2 and it didn&#39;t run very long but it seemed to work with swapon -a ... until I rebooted and I was back to no swap.
<br><br>Somewhere along the way with my struggle I ended up using the full-blown command &quot;mkswap -c -L SWAP-hda2 -v1 /dev/hda2&quot; and it took so long I started to think the system had gone south on me.&nbsp; Once done, I went ahead and reverted my /etc/fstab back to the line I had commented out and it has held up through several reboots since.
<br><br>Craig.<br>