Installed Ubuntu as a first-time user about two months ago. Has been working great until two weeks ago, when updates would no longer install due to not enough room on the boot disk.
I did the "sudo apt-get clean" thing, as well as empty the trash. No dice.
Then I checked this website and saw comments which said I needed to boot from my live usb, go to "try ubuntu without installing," and then use the program Gparted to increase size of boot partition.
All went well until Gparted wouldn't let me resize anything. The partitions weren't locked with a key symbol, but the "resize" option was always grayed out. The partitions also had grayed-out "mount" on the right-click menu. So I assume they were already unmounted?
I'm running full-Ubuntu (no dual-boot) on a Dell laptop, if that helps.
Thanks.
You have an encrypted /dev/sda5
partition. I am not sure it is possible to shrink encrypted partitions in gparted.
But HERE IS information on resizing encrypted partitions.
You will need to shrink sda5
left, then shrink sda2
left. After that you will be able to extend your sda1
right.
You can just remove old kernels from your /boot partition THIS WAY
If you can't install synaptic try command line way
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'|grep -E "(image|headers)" | xargs sudo apt-get -y purge
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments