Increase / partition


Hello.
I want to increase / (sda1) and the first thought is to delete the swap account (15GB ram) and transfer it to sda1.
Another option is to get a new ssd and set ~50 GB for / and the rest leave it as it is.
Does anyone have another suggestion?
Thanks in advance.

Hi @joe-77,

I’d recommend this. It had the benefit of greatly improved speed as well. But I’d recommend a bigger / as that leaves more wiggling room. I have a 250GB SSD myself, and it works like a charm. See below for more details:

1 Like

/dev/sda6 and the swap area before and the grey area before that look like a mbr type partition scheme.
everything beyond /dev/sda1 is on extended partition
the grey thing is in your way

sda1 is a normal partition, sda2 with everything else in it is an extended partition - you can’t separate out the swap from it and give it to sda1

You’d probably need to move/shrink the the whole sda2 (if that is possible) before you have space on sda1 to grow it.

where is /home??? :rofl:

likely on /
as in: no separate /home
or on a different drive …

It is how I do it, too - no need to decide beforehand how much to give to /home

1 Like

My /home is on a separate hard drive. See below:

$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0   4.5T  0 disk
└─sda1        8:1    0   4.5T  0 part /home/mirdarthos/Downloads
                                      /home/mirdarthos/virtualbox
                                      /home/mirdarthos/Video
                                      /home/mirdarthos/Pictures
                                      /home/mirdarthos/Music
                                      /home/mirdarthos/KeePass
                                      /home/mirdarthos/Documents
                                      /home/mirdarthos/Boostnote
                                      /mnt/5TB
sdb           8:16   0   3.6T  0 disk
└─sdb1        8:17   0   3.6T  0 part
nvme0n1     259:0    0 232.9G  0 disk
├─nvme0n1p1 259:1    0   7.8G  0 part [SWAP]
├─nvme0n1p2 259:2    0 224.6G  0 part /
└─nvme0n1p3 259:3    0   500M  0 part /boot/efi

In the past I have done a lot of crazy things like this…deleting the swap and then moving it to / with success and without any problems but now I will probably buy a new ssd and do it from the beginning “as it should be”

Ok! Thanks guys the decision has been made…

1 Like

Normally, you need a SSD with a size of 512GB for each OS.

250GB are perfect for me.

1 Like