After installing some operating system updates my root partition is full. I'm a new user of UBUNTU so I'm sure this is an easy fix.
Asked
Active
Viewed 271 times
1 Answers
0
First find the directory that has used most of your hard disk space by running
# du -sh /*.
Let assume it is /var dir.
Now you could add additional hard disk & create a brand new partition on it by running
# fdisk /dev/sdb (here it is assumed the newly connected hard disk is /dev/sdb)
Let assume the created partition is /dev/sdb1 and it is formated with ext4 filesystem.
Now, let the system /var dir's mount point is to be that partition
- edit the /etc/fstab with your favorite editor (nano or vi)
- add the following and save it and reboot to see the effected changes
- /dev/sdb1 /var ext4 default 0 0
krs4keshara
- 159