How Increase / or /usr Partition using command line from Kali Linux
by Mo_ from LinuxQuestions.org on (#6M6F9)
Hi Community, I recently installed Kali Linux on the KVM virtual machine. Last night, I tried to patch it and got some errors. I found out that the portion is 100% used. I added an additional 20G hard disk vdb. But it doesn't have a Volume group or Logical Volume. When I typed vgs or lvs, it asked me to install packages, and packages are not getting installed since it doesn't have space. I tried to use GUI, but GParted isn't open. I get an error. 90% of space is used by /usr. How can we add an additional 20G to / or /usr? Is there any easier way other than mounting a disk to /mnt and copying data from /usr to /mnt, then deleting data from /usr and mounting another disk to /usr and recopying back to /usr? I am checking if there is an easier way; I have never used Debian before. Not sure debain's volume group and logical volume are different. I would appreciate it if someone could help me figure this out. Thanks