Did you add the swap partition to a second hard drive that was not
mounted? While writing this chapter, I remember being in runlevel 3
and trying to add swap to the /dev/hda that was mounted already
because it contained / partition.  The kernel did not recognize the
partition. The kernel refuses to recognize a new partition table if
the hard disk is currently in use.

You can add a swap partition in runlevel 3 or 5 if the hard drive
is not in use -- i.e. a second hard drive.

Tammy

On Sun, Oct 13, 2002 at 04:33:10PM -0400, Robert P. J. Day wrote:
> 
>   official RHL customization guide, "adding swap space", reads
> in part, to add a swap partition:
> 
>   "The hard drive can not be in use (partitions can not be
> mounted, and swap space can not be enabled).  The easiest
> way to achieve this it [sic] to boot your system in [sic]
> rescue mode."
> 
>   say what?  i've numerous times added a swap partition to
> a running system with a combination of fdisk/mkswap/swapon.
> has this changed?
> 
> rday
> 




Reply via email to