disable swap discovery?

Kris Kennaway kris at obsecurity.org
Fri Mar 16 16:57:28 UTC 2007


On Fri, Mar 16, 2007 at 05:48:27PM +0200, Krassimir Slavchev wrote:
> Hello,
> 
> Since raid degradation I have had corrupted swap partition and unable to 
> boot the kernel.
> After detecting HDD I have "Fatal trap 12: page fault ..." and "current 
> process 0 (swapper)".
> This happens even when I boot from CD. If HDD is disconnected it boots 
> normally.
> I have tried to disable swap with setting bootloader variables but no luck:
> set vm.swap_enabled=0
> set vm.nswapdev=0
> 
> Is there other way to disable swap from bootloader?

boot -s, then turn off your swap partitions in fstab

Kris


More information about the freebsd-stable mailing list