|
Prev: Cannot partition a hard drive with the Etch installer
Next: Not sure who this should be sent too.....?
From: ISHWAR RATTAN on 5 May 2008 09:20 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. I made an entry in /etc/fstab (too): /dev/sda1 none swap sw 0 0 but swapon -a still syays that it is invalid argument! Any pointers? -ishwar -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Ron Johnson on 5 May 2008 09:30 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/05/08 08:17, ISHWAR RATTAN wrote: > > 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. > I made an entry in /etc/fstab (too): > /dev/sda1 none swap sw 0 0 > > but swapon -a still syays that it is invalid argument! > > Any pointers? Have you "formatted" the partition with mkswap? - -- Ron Johnson, Jr. Jefferson LA USA We want... a Shrubbery!! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIHwtES9HxQb37XmcRAjCDAJ0f1amZ2tVI14ic6VXfO7mCJaZtswCgiFI2 HaFcNQxppRyK01o1pqVMJEU= =WGM3 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: NN_il_Confusionario on 5 May 2008 09:40 > * From: ISHWAR RATTAN <rattan(a)cps.cmich.edu> >I have a 1Gb primary swap partition (/dev/sda1) >and fdisk -l shows that. fdisk read the partition table from the disk, but the kernel data can be seen in /proc/partitions (it is read at boot time) > # swapon /dev/sda1 >says that ..:/dev/sda1: is invalid argument. what about file -s /dev/sda1 ? If "grep sda1 /proc/partitions" shows the expected result, try mkswap /dev/sda1 before swapon /dev/sda1 -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Jochen Schulz on 5 May 2008 09:40
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> |