ibjsb4--
Thanks! Did not know googlubuntu existed. See below for what I have done, so far.
matt_symes--
Thanks!
Curious. I ran the command you suggest and got this:
Code:
doug@earth:~$ sudo apt-get purge vmlinuz-2.6.32-45-generic-pae vmlinuz-3.2.0-{34,35,36,37,38,39}-generic-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package vmlinuz-2.6.32-45-generic-pae
E: Couldn't find any package by regex 'vmlinuz-2.6.32-45-generic-pae'
E: Unable to locate package vmlinuz-3.2.0-34-generic-pae
E: Couldn't find any package by regex 'vmlinuz-3.2.0-34-generic-pae'
E: Unable to locate package vmlinuz-3.2.0-35-generic-pae
E: Couldn't find any package by regex 'vmlinuz-3.2.0-35-generic-pae'
E: Unable to locate package vmlinuz-3.2.0-36-generic-pae
E: Couldn't find any package by regex 'vmlinuz-3.2.0-36-generic-pae'
E: Unable to locate package vmlinuz-3.2.0-37-generic-pae
E: Couldn't find any package by regex 'vmlinuz-3.2.0-37-generic-pae'
E: Unable to locate package vmlinuz-3.2.0-38-generic-pae
E: Couldn't find any package by regex 'vmlinuz-3.2.0-38-generic-pae'
E: Unable to locate package vmlinuz-3.2.0-39-generic-pae
E: Couldn't find any package by regex 'vmlinuz-3.2.0-39-generic-pae'
Then I tried this:
Code:
doug@earth:~$ sudo dpkg -P vmlinuz-2.6.32-45-generic-pae
dpkg: warning: there's no installed package matching vmlinuz-2.6.32-45-generic-pae
doug@earth:~$
But you see from my post #1 that this is still on the disk. How about purging the abi, config, initrd.img, and System.map files, or just deleting them? In the past I have done sudo apt-get purge on the linux-image and linux-headers files up through 2.6.32-42-generic, now that I go back and look at old notes.
OK, so I tried this:
Code:
doug@earth:~$ sudo apt-get purge linux-image-2.6.32-45-generic-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-2.6.32-45-generic-pae*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 98.3 MB disk space will be freed.
Do you want to continue [Y/n]?
And that seemed to go. A "dpkg-query -l | awk '/linux-image-*/ {print $2}'" showed a whole lot of old ones, so I ran
Code:
sudo apt-get purge linux-image-2.6.32-{24,25,26,27,28,29,30,31,32}-generic-pae
as well as {43,44} and sudo apt-get purge linux-image-3.2.0-{34,35,36,37,38,39}-generic-pae
And that seemed to clean things up nicely. This now shows the /boot partition at 25% use--some breathing room! Thanks for pointing me in the right direction.
(Hopefully these notes will help someone, maybe even me, in the future!)
About resizing--it still seems to make some sense, but I do not have the sense of urgency after the above cleared some space.
This is the /boot partition (/dev/sda1), ext2, 227 Megs, 218 Megs used.
Yes, I want it to be non-destructive, just want to get it some breathing room.
This is a server which I upgraded to 12.04.2 from 10.04 a few months ago, and that was probably upgraded from 8.04. No it is not a virtual machine.
Do you have any favorite way to clone the drive? Have never done that before.
I presume cloning means the whole HDD, not just this partition. Only have one HDD on this box.
Bookmarks