[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: swap partition question?



ISHWAR RATTAN:
> 
> I have a 1Gb primary swap partition (/dev/sda1)
> and fdisk -l shows that. But the command
> 
>  # swapon /dev/sda1
> 
> says that ..:/dev/sda1: is invalid argument.

Did you create a "swap filesystem" on the partition?

# mkswap /dev/sda1 && swapon -a

J.
-- 
I have never been happier than I am now; a fact which depresses me
immensely.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: