You are not logged in.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 511M 0 part /boot
├─sdb2 8:18 0 19.5G 0 part /
└─sdb3 8:19 0 911.5G 0 part /home
zram0 254:0 0 4G 0 disk [SWAP]Filesystem Size Used Avail Use% Mounted on
dev 7.7G 0 7.7G 0% /dev
run 7.8G 1.9M 7.8G 1% /run
/dev/sdb2 20G 17G 1.9G 90% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 7.8G 4.0K 7.8G 1% /tmp
/dev/sdb1 510M 108M 403M 22% /boot
/dev/sdb3 897G 64G 788G 8% /home
tmpfs 1.6G 236K 1.6G 1% /run/user/1000My root partition is rapidly running out of space.
Is anyone aware of a step-by-step tutorial (for newbies) on how to increase the size of the root partition?
Offline
First, determine what is taking up the space. ncdu is a helpful tool for diagnosing this issue.
Offline
First, determine what is taking up the space. ncdu is a helpful tool for diagnosing this issue.
Thank you for this suggestion.
First, I cleared the pacman cache with:
pacman -Scc...which brought down the root partition to 70% usage.
I then installed and ran ncdu as root. It was apparent that the Wine application was taking up the most space. I deleted Wine, which brought down the root partition to 63% usage.
I would still like to increase the size of the root partition. Any further suggestions?
Offline
changing partition size is a low level operation that can lead to severe data loss.
first step :
backup your files*
Rsync is often used for that, personally I like its full system backup method * .
For more general info check https://wiki.archlinux.org/title/Synchr … p_programs
* Note that for all backups you need a device with enough free space to hold everything.
My desktop has 750 GB drivespace, while my laptop has 1 TB so a 2 TB external usb drive can hold no more then 1 full uncompressed backup of both.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
first step :
backup your files*
Second step: Verify your backups.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Finally you'll have to do this offline, ie. from a live system (booted from a USB key) and preferably using eg. gparted.
On a lower level, the /home partition needs to be shrunk and moved, https://wiki.archlinux.org/title/Fdisk# … partitions which is what makes the process not only prone to data loss but also very slow.
Offline
I have done this exact thing twice. Once to increase the size of root partition and second time to move the whole thing to a separate nvme drive.
Like everyone else above mentioned, make sure you have backups and you verified them.
I was only changing my home and my root partitions with the rest unchanged. so i only backed up those two and left my home, files, alone as they were already on a different nvme drive. For backups, I just made a partition copy with dd. Also, backed up the partition table just in case.
Didn't run into any issues with using rsync.
Offline