| View previous topic :: View next topic |
| Author |
Message |
tirantloblanc Apprentice


Joined: 22 Oct 2002 Posts: 179 Location: Barcelona, ES
|
Posted: Thu Dec 12, 2002 9:10 pm Post subject: I lost my swap. |
|
|
I am repartitioning my HD, so i created a new swap partition and deleted the old one. But my system doesnt want to use it!!!:
My new one is on /dev/hda1, but if i try to type:
#swapon /dev/hda1
invalid argument
| Code: |
My fstab:
/dev/hda1 none swap sw 0 0
My partition table:
Disposit. Inicio Principio Fin Bloques Id Sistema
/dev/hda1 1 62 497983+ 82 Linux swap
/dev/hda2 * 4317 4833 4152802+ 83 Linux
/dev/hda3 4834 4865 257040 f Win95 Ext'd (LBA)
/dev/hda4 63 670 4883760 83 Linux
/dev/hda5 4834 4865 257008+ 82 Linux swap
# cat /proc/swaps
Filename Type Size Used Priority
#
|
Where and how do i need to configure my swap device??
Thanks. |
|
| Back to top |
|
 |
|the sys admin| n00b


Joined: 19 Nov 2002 Posts: 42 Location: Michigan
|
Posted: Thu Dec 12, 2002 9:13 pm Post subject: |
|
|
did you try mkswap /dev/hdxX? _________________ Resistance Is Futile, Computers Rule! |
|
| Back to top |
|
 |
tirantloblanc Apprentice


Joined: 22 Oct 2002 Posts: 179 Location: Barcelona, ES
|
Posted: Thu Dec 12, 2002 10:45 pm Post subject: |
|
|
| Thanks!!! |
|
| Back to top |
|
 |
|