Ubuntu 10.10 not using swap

Discussion in 'all things UNIX' started by aigle, Jul 6, 2011.

Thread Status:
Not open for further replies.
  1. tlu

    tlu Guest

    aigle, then the entry for your swap partition in /etc/fstab is obviously wrong.
     
  2. wilbertnl

    wilbertnl Registered Member

    Joined:
    Dec 29, 2004
    Posts:
    1,850
    Location:
    Tulsa, Oklahoma
    Type blkid and verify the contents of /etc/fstab.
     
  3. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,164
    Location:
    UK / Pakistan
    i got this.
     
  4. wilbertnl

    wilbertnl Registered Member

    Joined:
    Dec 29, 2004
    Posts:
    1,850
    Location:
    Tulsa, Oklahoma
    Aigle:


    Your /etc/fstab reads as follows according to a previous post:

    # swap was on /dev/sda5 during installation
    UUID=cf5593ad-080a-42c2-a852-60d36cd24bbf none swap sw 0 0

    And your partition readout shows a different UUID for the swap partition:
    /dev/sda5: UUID="8cdb2e18-31e3-4b59-92a3-4ed1740d4005" TYPE="swap"

    You need to edit /etc/fstab and change the line as follows:
    UUID=8cdb2e18-31e3-4b59-92a3-4ed1740d4005 none swap sw 0 0

    See the difference:
    UUID=cf5593ad-080a-42c2-a852-60d36cd24bbf none swap sw 0 0 <- wrong
    UUID=8cdb2e18-31e3-4b59-92a3-4ed1740d4005 none swap sw 0 0 <- correct
     
  5. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,164
    Location:
    UK / Pakistan
    Hmm.... thanks a lot.

    I will try that and post back.
     
  6. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,164
    Location:
    UK / Pakistan
    Hi, a few Qs if anyone can answer.
    1- What is this UUID for? How this happened?

    # swap was on /dev/sda5 during installation
    UUID=cf5593ad-080a-42c2-a852-60d36cd24bbf none swap sw 0 0

    2- Why UUID is same for sda3 and sda4?

    Thanks
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.