You are not logged in.

#1 2011-10-11 22:41:00

nixIT
Member
Registered: 2010-01-13
Posts: 544

[SOLVED] resize swap partition after install

Hello all,

I've used software on windows in the past, partition magic, to resize windows partitions after install.  Is there a way to resize linux partitions after install?

I would like to increase my swap by a little bit, and in order to do so, will need to reduce the size of my ext4 partition.

--nixIT

Last edited by nixIT (2011-10-11 23:04:49)


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#2 2011-10-11 22:47:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] resize swap partition after install

You can use e.g. https://wiki.archlinux.org/index.php/Gparted-Live to resize. and mkswap (from util-linux package) to create the swap.

Offline

#3 2011-10-11 22:49:43

nixIT
Member
Registered: 2010-01-13
Posts: 544

Re: [SOLVED] resize swap partition after install

@karol,

Will I lose any data or have to re-install arch?

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#4 2011-10-11 22:51:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] resize swap partition after install

nixIT wrote:

@karol,

Will I lose any data or have to re-install arch?

--nixIT

Unlikely, but you're advised to create a backup of any valuable data, just in case.

Offline

#5 2011-10-11 23:04:34

nixIT
Member
Registered: 2010-01-13
Posts: 544

Re: [SOLVED] resize swap partition after install

oh yeah, that's cool, always advised when doing stuff like that.

thanx for help, solving thread.

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

Board footer

Powered by FluxBB