Ubuntu 14.0.4 generated an error trying to update. Turns out my /boot
partition was full. I ran a command to remove the old kernels, something like this:
dpkg --get-selections|grep 'linux-image*'|awk '{print $1}'|egrep -v "linux-image-$(uname -r)|linux-image-generic" |while read n;do apt-get -y remove $n;done
but I neglected to reboot before doing this and test things, as a result, it cleared /boot
but generated a few errors. I then ran aptitude update/upgrade. Upon rebooting Ubuntu comes up but it's really slow, has no network connectivity, and does not recognize the USB wireless mouse. It looks like various system drivers are now not recognized.
How can I repair this installation? The system will boot but it's obvious the drivers are not there for the network or USB mouse and probably other things. Can I restore the kernel and undo this to some degree?
produced the following errors
– M Wood May 17 '15 at 22:34dpkg: error processing package linux-image-extra-3.13.0-52-generic (--configure)
dpkg: error processing package linux-image-generic (--configure): dependency problems - leaving unconfigured
Setting up linux-headers-3.13.0-52 (3.13.0-52-86) ... No apport report written becuase the error indicates its a previous error .... – M Wood May 17 '15 at 22:35