Problem with swap partition.
Hello.
I have just changed to a new hard disk:
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
its a 40Gb hd seagate ultra ata.
Is there any issue with them? (dont think so, since the other partitions work ok). its a 2.4.17 .
ps. I dont know if i might be missing some kernel module.
Signature · 8 lines
ICQ: 15605359 Bicho
=^..^=
First, they ignore you. Then they laugh at you. Then they fight you.
Then you win. Mahatma Gandhi.
-------------------------------気検体の一致------------------------------------
暑さ寒さも彼岸まで。
恋にししょうなし。恋はしあんの他。
アン アン アン とっても大好きQuoted 2 lines · David Eduardo Gomez Noguera
The 3'rd partition is a Linux Swap,
/dev/hdc377401 77545 73080 82 Linux swap
^^
Quoted 2 lines
but swapon -a gives
swapon:/dev/hdc5: Invalid argument
^^
What about correct /etc/fstab entries? :)
BTW you have done a mkswap on the swap partition, did you?
Chj.
Quoted 6 lines · Christian Jaeger
Quoted 2 lines · David Eduardo Gomez Noguera
The 3'rd partition is a Linux Swap,
/dev/hdc377401 77545 73080 82 Linux swap^^
Quoted 9 lines
Quoted 2 lines
but swapon -a gives
swapon:/dev/hdc5: Invalid argument^^What about correct
/etc/fstabentries? :)BTW you have done a mkswap on the swap partition, did you?
God, am i stupid.
sorry about the mail.
(i had only make swap partitions once like two years ago, and forgot about them)
Signature · 8 lines
ICQ: 15605359 Bicho
=^..^=
First, they ignore you. Then they laugh at you. Then they fight you.
Then you win. Mahatma Gandhi.
-------------------------------気検体の一致------------------------------------
暑さ寒さも彼岸まで。
恋にししょうなし。恋はしあんの他。
アン アン アン とっても大好きQuoted 9 lines · David Eduardo Gomez Noguera
Hello.
I have just changed to a new hard disk:Disk
/dev/hdc: 16 heads, 63 sectors, 77545 cylindersNr 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
Quoted 8 lines
4 00 0 0 0 0 0 0 0 0 00
The 3'rd partition is a Linux Swap,
/dev/hdc377401 77545 73080 82 Linux swapbut swapon -a gives
swapon:/dev/hdc5: Invalid argument
Is hcd5 in your /etc/fstab? - might need to change that to hdc3
Darrell
Quoted 6 lines
Disk
/dev/hdc: 16 heads, 63 sectors, 77545 cylindersNr 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
Quoted 7 lines
4 00 0 0 0 0 0 0 0 0 00
The 3'rd partition is a Linux Swap,
/dev/hdc377401 77545 73080 82 Linux swapbut 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