Announcement

Collapse
No announcement yet.

Partitioning question

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    You are currently setup to use a swapfile which is in the root of your / partition.

    You can continue using it and reclaim teh swap partition space.

    Or you can use the swap partition as mentioned

    By adding this line

    Code:
    UUID=baf03039-31de-4c5c-a107-8618bbfe7985 none swap sw 0 0

    and removing this line

    Code:
    [FONT=monospace]/swapfile none swap sw 0 0[/FONT]


    After that you can delete the swapfile and your / partition will have more free space.
    Last edited by mr_raider; Oct 29, 2020, 04:07 PM.

    Comment


      #17
      No quotes in fstab, so :

      UUID=baf03039-31de-4c5c-a107-8618bbfe7985 none swap sw 0 0

      but otherwise, solid advice.

      Please Read Me

      Comment


        #18
        Thanks for the advise.
        I did resize and moved the swap partition, added the freed up space to the rest, it worked out fine.

        I did change the "/etc/fstab" file as discussed above, but rebooting the system the partition manager does not show it locked and shows a "mount point none".
        The "df -aTh" command does not show /dev/sda5 (the linux swap partition) mounted either.
        Any reason for that?
        Any chance that there was no need for using the swap partition (at the moment of scanning the device), so it was empty, and consequently not mounted and locked, or something else?

        Thanks, Peter

        Comment


          #19
          A mount point of 'none' for swap is correct. The mount point should, however, be locked. The df -aTh output won't show the swap partition. That is also correct. A swap partition is not a 'normal' partition; it's reserved space which often never gets used (on modern systems).
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #20
            Thanks for the explanation, that clears it up!

            Regards, Peter

            Comment


              #21
              The command to activate the swap partition is:

              Code:
              sudo swapon --all

              Comment

              Working...
              X