Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
Good news making the swap partition 1GB did the trick. I have not had a problem yet!!! This is so cool. Now time to see what I can do with ...
  1. #11
    Just Joined! Brizzzer's Avatar
    Join Date
    Mar 2004
    Location
    Indianapolis, Indiana
    Posts
    9


    Good news making the swap partition 1GB did the trick. I have not had a problem yet!!! This is so cool. Now time to see what I can do with this thing.

  2. #12
    Just Joined!
    Join Date
    Mar 2004
    Posts
    15
    Quote Originally Posted by aytope
    well thanks for the lovely suggestion but how do i edit my swap space ? thanks
    i have tried mkswap command but the system still sees the old swap of 188mb. so how do i increase it to something higher?

  3. #13
    Linux Enthusiast Opnosforatou's Avatar
    Join Date
    Dec 2003
    Location
    Vleuten, The Netherlands
    Posts
    552
    I haven't experienced this with Slackware, only with Red Hat and Fedora.
    Don't know the exact cause of this.

    To create a swap partition use fdisk /dev/hda
    use the key: P to show all active partitions.
    Create an partition double the size of your available memory
    save the new disk info, save using: wq (W=write,Q=quit)
    and reboot.
    Note: /dev/hda is used as example here, you could use a swappartition of your 2nd disc, that would be /dev/hdb

    After rebooting login as root.
    type:
    mkswap /dev/hda5 (Assuming that the newly created partition is number 5)
    Important: the number is of the partition you created for the swap, to check what number that partition has use fdisk /dev/hda and the P to show the partition table information.

    to activate the swapfile:
    swapon /dev/hda5
    Now edit your fstab in /etc and add the following line:
    /dev/hda5 swap swap defaults 0 0
    It is also possible to use multiple swap partitions.
    Let say you have a swap partition of 128MB on DiskB and 128MB on DiskC
    Then you add the following to the fstab
    /dev/hdb1 swap swap sw,pri=5 0 0
    /dev/hdc1 swap swap sw,pri=5 0 0
    Note: Your fstab file contains all partitions, drives, etc that will be mounted at boot time.
    For further info on the fstab type: man fstab and enjoy the reading.
    ---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
    Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •