Re:Don't use 1234 as your password
by kondor6c on Monday November 18, 2013 @12:34AM
(#6752770)
Wouldn't you need to initialize the partition with 'mkswap'?
[ Parent
| on HN ]
Apparently not. Try it :)
sorry for the old post, but I did try it and it refuses to activate swap on a non-swap enabled device. Now I assume that you had done that a while back (judging from the hda device) so there are probably now some extra safety checks (good thing too!) :-D well I'm sorry for your loss long ago :-)
[root@localhost ~]# swapon /dev/sdb
swapon: /dev/sdb: read swap header failed: Invalid argument
*edited the formating