Hello, When I installed linux I don't create a swap partition, but I need it now. I have the partition /dev/hda3, with 130Mb but how can I active it?, how can I prove that the partition is active? Thank you very much. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Mon, Jun 12 2000 at 17:42 +0200, Silvia Nieto Santos wrote:
When I installed linux I don't create a swap partition, but I need it now.
I have the partition /dev/hda3, with 130Mb but how can I active it?,
Run `mkswap /dev/hda3' to make /dev/hda3 a swap partition and `swapon /dev/hda3' to activate it. If you want to make your changes permanent then add /dev/hda3 swap swap defaults 0 0 to /etc/fstab.
how can I prove that the partition is active?
cat /proc/swaps Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Silvia Nieto Santos wrote:
Hello,
When I installed linux I don't create a swap partition, but I need it now.
I have the partition /dev/hda3, with 130Mb but how can I active it?,
how can I prove that the partition is active?
Thank you very much.
mkswap /dev/hda3 (prepares the swappartition] edit /etc/fstab, add the following line: /dev/hda3 swap swap defaults 0 2 wapon -a (activates all swappartitions in /etc/fstab. Normaly this happens automaticly when booting) free (Shows memory usage) You should see a line: Swap: 130000 xxxxx xxxxx If so, your swap is working. Greets, Erland. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, Stefan Troeger wrote:
On Mon, Jun 12 2000 at 17:42 +0200, Silvia Nieto Santos wrote:
When I installed linux I don't create a swap partition, but I need it now. I have the partition /dev/hda3, with 130Mb but how can I active it?,
Run `mkswap /dev/hda3' to make /dev/hda3 a swap partition and
All correct, but before running mkswap, you should use fdisk to set the partition-(fs)-type to "Linux Swap" or 0x82. CU David -- Anything that happens, happens. --- Anything that, in happening, causes something else to happen, causes something else to happen. --- Anything that, in happening, causes itself to happen again, happens again. --- It doesn't necessarily do it in chronological order, though. --- Douglas Adams | email: David@dhaller.de www: www.dhaller.de -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
To see if a swap partition is running, you can use top or free. If it shows anything in swap, it is running. Now, to get a swap running, do this: edit /etc/fstab and add this as the second line /dev/hda3 swap swap defaults 0 0 The reason I say second line is that normally the root partition is on the first line. It just makes things nicer in the file Now that the line is there, do wapon /dev/hda3 Now do free. You should see stuff in the swap part of the output. Randy Rathbun randy@rrr.2y.net http://rrr.2y.net/ If Bill Gates had a nickle for every time Windows crashed... Oh, wait, he does! - from a slashdot.org post On Mon, 12 Jun 2000, Silvia Nieto Santos wrote:
Hello,
When I installed linux I don't create a swap partition, but I need it now.
I have the partition /dev/hda3, with 130Mb but how can I active it?,
how can I prove that the partition is active?
Thank you very much.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello Randy, on Tuesday, June 13, 2000 at 09:13:06 -0500, you sat in front of your keyboard and wrote:
To see if a swap partition is running, you can use top or free. If it shows anything in swap, it is running.
You can also do a 'cat /proc/swaps'
--
Jean-François Bocquet
participants (6)
-
erland@pandora.be
-
randy@rrr.2y.net
-
snieto@sc.sas.cica.es
-
stefan.troeger@wirtschaft.tu-chemnitz.de
-
SuSE-ML@dhaller.de
-
tns01@free.fr