mkswap on every boot

Christopher K. Johnson ckjohnson at gwi.net
Thu Jun 10 10:08:19 UTC 2004


Steve Pyatt wrote:

>>>I'm running FC2 and have my swap setup on a separate drive. It was 
>>>formatted as a swap and everything looks good in /etc/fstab. However 
>>>every time I reboot I have to run a mkswap and swapon against it. Is 
>>>there any thoughts on this? Or is there anyway I can get that done on 
>>>boot?
>>>      
>>>
>>Does fdisk report the partition as being of type 82 (Linux  swap)?
>>    
>>
>Yes it does. type 82 Linux Swap
>  
>
What exactly does your fstab entry look like?
grep swap /var/log/messages # yields what?

-- 
-----------------------------------------------------------
   "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
   Chris Johnson, RHCE #807000448202021






More information about the fedora-list mailing list