Re: Unable to find swap space signature


Subject: Re: Unable to find swap space signature
bryan@ak.net
Date: Mon Nov 26 2001 - 18:01:18 AKST


Mac Mason wrote in <1006828195.490.0.camel@arktos.dyns.cx>:
>
> Anyhow, I get the following message when I run swapon -a (which should
> initialize all swap partitions listed in /etc/fstab, according to man)
>
> Unable to find swap-space signature
> swapon: /dev/hda2: Invalid argument
> Unable to find swap-space signature
> swapon: /dev/hde1: Invalid argument.
>
> cfdisk reports these as type 82: linux swap partitions...
> any idea what's going on here?

There's one more thing you need to do. For a regular filesystem,
after you mark its type in the partition table, and before you
mount it, you need to put a filesystem on it with the mke2fs
command. The same applies to swap space; the tag in the partition
table doesn't really do anything. mkswap is the command to use.
After mkswap /dev/hda2; mkswap /dev/hde1, you're good to go.

--
Bryan Medsker
bryan@ak.net



This archive was generated by hypermail 2a23 : Mon Nov 26 2001 - 18:00:26 AKST