You are not logged in.
Pages: 1
I have 2 partitions that were made by arch install script, i usually installed arch manually but this time i tried script to save time
Problem is, it made partition for "/" 20GiB, which ran out very quickly while my "/home" partition is 900 GiB and has lot of space on it
Half AUR apps are trying to use places like /opt and take up that tiny space in no time
Is there any way i could just merge those partitions together and give all of that space to my "/" partition?
I don't have any spare external device with enough space on it to backup so it's not a solution
❯ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
zram0 254:0 0 4G 0 disk [SWAP]
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 511M 0 part /boot
├─nvme0n1p2 259:2 0 19.5G 0 part /
└─nvme0n1p3 259:3 0 911.5G 0 part /homeNeed nvme0n1p2 and nvme0n1p3 merged
Partitions are f2fs
Last edited by sTiKyt (2023-02-20 17:26:49)
Offline
Use a live disk, mount the home partition somewhere e.g. /mnt/homeOld, the root partition somewhere else e.g. /mnt/rootOld, move all the contents of the home partition into the directory /mnt/homeOld/home and move all contents of your root partition to the root of /mnt/homeOld using a command that preserves ownership fix your /mnt/homeOld/etc/fstab to use the new UUID and not reference /home explicitly, fix your bootloader config to reference the /home partition, reboot.
Last edited by V1del (2023-02-20 19:20:59)
Offline
It goes without saying, any file you are not afraid of losing has already been backed up.
The corollary to that is that a backup is not a backup until it is tested.
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
Pages: 1