0

There are other postings on this topic, but because of the importance of getting it right I am posting the exact details of my requirement.

My disk is:

/dev/sda
  /dev/sda/sda1 to be mounted as /     has  10GB
  /dev/sda/sda6 to be mounted as /home has 150GB
  /dev/sda/sda5 to be mounted as /swap has   1GB

I have 1GB of RAM and think it would be advisable to increase the /swap partition to 2GB (tell me if you disagree). There is no unallocated space on the disk although plenty of spare space in /home. Can I increase the /swap either when installing Ubuntu 14.04 or with something like Gparted, without damaging the data in /home? Obviously I would do a backup first.

Alaa Ali
  • 32,213

1 Answers1

1
  • Boot from Ubuntu live disk and then click on try Ubuntu option on starup.

  • Open gparted partition editor from dash.

  • After it opened, make sure that all the partitions are unmounted(including swap).So that only you can be able to resize corresponding partition.If the swap partition is already mounted then select Swap off option on right-clicking swap partition to get unmounted.

  • Shrink your /home(/dev/sda6) partition to get 1 GB of free space and add it to your /dev/sda5 swap partition.

Avinash Raj
  • 80,446