swapon /dev/hde1 invalid argument !?
Hello Linux folks, I've got totally frustrated with this issue. I created swap on /dev/hde1 However, when I try to mount it I,m getting swapon -a /dev/hde1 invalid argument. I recreated this swap a couple of times using fdisk and setting its type to 82 . Could somebody tell me please what is a problem. In the same time my first swap partition on /dev/hda2 is working OK. Thanks in advance Alex -- MS Windows users should be covered under the Americans with Disabilities Act! --------------> Try Linux and you'll understand why <--------------
RTFM "man swapon". Notice, "swapon -a" does not take an argument. It
says to mount swap devices in /etc/fstab. If hde1 has such an entry,
"swapon -a" is sufficient. If not "swapon /dev/hde1" is what you
want.
HTH,
Jeffrey
Quoting Alex Daniloff
Hello Linux folks, I've got totally frustrated with this issue. I created swap on /dev/hde1
However, when I try to mount it I,m getting swapon -a /dev/hde1 invalid argument.
I recreated this swap a couple of times using fdisk and setting its type to 82 . Could somebody tell me please what is a problem. In the same time my first swap partition on /dev/hda2 is working OK. Thanks in advance Alex
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck
participants (2)
-
Alex Daniloff
-
Jeffrey Taylor