Results 1 to 4 of 4

Thread: Swap partition help

  1. #1
    Join Date
    Jul 2019
    Beans
    2

    Swap partition help

    Hello,

    I installed lubuntu on my pc dual booting with windows 10. At installation, I did not set aside space for swap. My lubuntu installation is on sda7. I resized that partition and set up a new partition sda9 with 12gb of swap. I used the swapon command from lubuntu command line. It shows 0 swap is being used.

    Do I need to do anything further to let lubuntu on sda7 know that the swap it can use is on sda9?

    Any help would be appreciated.


    Thank you!

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,379
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Swap partition help

    danh4648; Well -

    Is /etc/fstab aware of the swap partition ?
    Code:
    cat /etc/fstab
    For reference is my memory usage - where too swap is not touched:
    Code:
    sysop@x1804mini:~$ free -m
                  total        used        free      shared  buff/cache   available
    Mem:           3945         670        2413          48         860        3003
    Swap:          4499           0        4499
    sysop@x1804mini:~$
    my bit to try and help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    6,792
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Swap partition help

    A swap file is as good as a swap partition these days (it wasn't always the case) and is the Ubuntu default.

    Swap doesn't actually get used for very much anyway, unless you're really RAM constrained.

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,379
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Swap partition help

    danh4648; Humm -- curious and curiouser -

    Show us:
    Code:
    sudo blkid -c /dev/null -o list
    sudo parted -l
    see which way the wind blows
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Tags for this Thread

Bookmarks

Posting Permissions

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