Re: Problem with swap partition.

Tomas Szepe (szepe@pinerecords.com)
Sun, 19 May 2002 17:57:14 +0200


> Disk /dev/hdc: 16 heads, 63 sectors, 77545 cylinders
>
> Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
> 1 00 1 1 0 15 63 65 63 66465 83
> 2 00 0 1 66 15 63 1023 66528 77952672 83
> 3 00 15 63 1023 15 63 1023 78019200 146160 82
> 4 00 0 0 0 0 0 0 0 0 00
>
> The 3'rd partition is a Linux Swap,
> /dev/hdc3 77401 77545 73080 82 Linux swap
>
> but swapon -a gives
> swapon: /dev/hdc5: Invalid argument

$ vi /etc/fstab
(change 'hdc5' to 'hdc3'.)
$ mkswap /dev/hdc3 && swapon -a

and then please
$ man 5 fstab
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/