2
I have a virtual machine (VM) running Ubuntu Server 14.04. I access the VM remotely using putty. Recently I came into a problem when /boot was 100% full.
I came across numerous articles which recommended growing root size and others recommended deleting old kernel files i.e. everything except the original file, the latest and the one before the latest.
I accidentally deleted all kernel files i.e. files with the word 'img' in the file name. After deleting these files /boot 67% free space (which is good). But after restarting the VM I can't login anymore, I get 'Access denied' error. I tried to restart the VM but nothing.
Some of the articles for solving this issue talk about a Live CD but I don't have physical access to the NAS where I can stick the CD. Is there a way to recover the files without using a bootable disc? i.e. by just using SSH
You can't SSH into an operating system that won't boot. You need to have someone stick the Live CD/USB or perform the recovery for you. – Larssend – 2015-07-27T13:23:26.440