-1

My boot partition is full. I cannot apply system updates. How can I resize partitions? I don't want to remove old files, I only want to resize. I can not install gparted because I do not have desktop access. Is it possible to do it from webmin ?

I tried these methods:

My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room

How do I free up more space in /boot?

How to resize partitions?

[root@mail ~]# sudo apt-get install gparted
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 gparted : Depends: libatkmm-1.6-1 (>= 2.22.1) but it is not going to be installed
           Depends: libglibmm-2.4-1c2a (>= 2.36.2) but it is not going to be installed
           Depends: libgtk2.0-0 (>= 2.14.0) but it is not going to be installed
           Depends: libgtkmm-2.4-1c2a (>= 1:2.24.0) but it is not going to be installed
           Depends: libpangomm-1.4-1 (>= 2.27.1) but it is not going to be installed
 linux-image-extra-3.13.0-119-generic : Depends: linux-image-3.13.0-119-generic but it is not going to be installed
 linux-image-extra-3.13.0-133-generic : Depends: linux-image-3.13.0-133-generic but it is not going to be installed
 linux-image-generic : Depends: linux-image-3.13.0-133-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

If I try apt-get -f install then I get "disk full" error.

Screenshots from webmin.

partitions

logical volumes

physical volume

logical volumes

disk and network file system

Zanna
  • 70,465
  • i want to edit partition size. previous topic is not work for my system. – g770like Nov 13 '17 at 10:32
  • gparted can not install. i did try all previos method. – g770like Nov 13 '17 at 11:38
  • its vps server. how can I boot vps server with dvd/usb ? – g770like Nov 13 '17 at 11:55
  • have you tried sudo apt-get autoremove? (which will remove .debs that are no longer needed; where its hoped it'll include old kernels) – guiverc Nov 13 '17 at 12:03
  • [root@mail ~]# sudo apt-get autoremove Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: linux-image-extra-3.13.0-119-generic : Depends: linux-image-3.13.0-119-generic but it is not installed linux-image-extra-3.13.0-133-generic : Depends: linux-image-3.13.0-133-generic but it is not installed linux-image-generic : Depends: linux-image-3.13.0-133-generic but it is not installed E: Unmet dependencies. Try using -f. – g770like Nov 13 '17 at 12:06
  • 3
    Classic XY problem. You resize a VPS using the VPS Provider's tools, since you cannot boot from a LiveUSB. Fair warning: Resizing the LVM partition may destroy all your data - they are not meant to be resized. You avoid all this trouble by running occasional maintenance (autoremove) on your /boot. – user535733 Nov 13 '17 at 14:14
  • after delete files from webmin file manager then apt-get autoremove worked. apg-get -f install worked. everything working good. thanx everyone. (my vps is very less tools. because its 1 euro/month only.so i can not edit or backup disks.) – g770like Nov 13 '17 at 15:24

1 Answers1

0

I did delete old kernel files from webmin file manager, so I have more space on boot. I did not try resize process yet.

webmin file manager

After deleting files from webmin file manager then apt-get autoremove worked. apt-get -f install worked. Everything is working good. Thanks everyone.

Zanna
  • 70,465