Recovering Swap Partition

Dan Nelson dnelson at allantgroup.com
Sun Sep 3 14:26:15 PDT 2006


In the last episode (Sep 03), Ron Tarrant said:
> After a random power outage, my FreeBSD 6.1 box failed to reboot
> because the swap partition is toast. The disklabel looks to be
> intact. I've been researching all afternoon trying to find out how to
> recover the swap with something like newfs, but I haven't found any
> examples of how to do it, only how to create the swap during a system
> installation.
> 
> Can anyone tell me which tool to use and show me either an example or
> point me in the direction of more information?

What error are you getting?  Swap doesn't need to be formatted; it just
has to exist if enabled.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-stable mailing list