aquel
July 31st, 2017, 10:30 PM
Hello all,
I have an hosted dedicated server at Online.net. Today at 2PM, the server crashed and doesn't boot since (no ping, no ssh). It took me some time to figure out why but I think I know now: 4 days ago, I have upgraded my distribution (apt upgrade) but the upgrade failed on some linux headers packages, probably a Kernel upgrade (No space left on device on /boot as I can remember). I was very surprised by this error and I told to myself that I had to check this out but then I forgot and 4 days later, the server rebooted for some reason and it is now stuck.
As it is hosted, I have no physical access the server. I can boot on the rescue mode on a Ubuntu 16 live cd, I can mount my partitions and access all my data. So the hard drive is fine.
How can I fix the boot ? Can I revert the failed upgrade ?
Here is what I have into my /boot partition
-rw-r--r-- 1 root root 1246246 avril 20 14:02 abi-4.4.0-75-generic
-rw-r--r-- 1 root root 1246313 avril 26 12:30 abi-4.4.0-77-generic
-rw-r--r-- 1 root root 1246312 avril 27 20:24 abi-4.4.0-78-generic
-rw-r--r-- 1 root root 1246670 juil. 18 17:00 abi-4.4.0-87-generic
-rw-r--r-- 1 root root 190214 avril 20 14:02 config-4.4.0-75-generic
-rw-r--r-- 1 root root 190355 avril 26 12:30 config-4.4.0-77-generic
-rw-r--r-- 1 root root 190355 avril 27 20:24 config-4.4.0-78-generic
-rw-r--r-- 1 root root 190356 juil. 18 17:00 config-4.4.0-87-generic
drwxr-xr-x 5 root root 1024 juil. 27 11:33 grub/
-rw-r--r-- 1 root root 34083124 juin 2 15:15 initrd.img-4.4.0-75-generic
-rw-r--r-- 1 root root 34083243 juin 2 15:15 initrd.img-4.4.0-77-generic
-rw-r--r-- 1 root root 34086183 juin 2 15:16 initrd.img-4.4.0-78-generic
drwx------ 2 root root 12288 avril 28 19:53 lost+found/
-rw------- 1 root root 3883390 avril 20 14:02 System.map-4.4.0-75-generic
-rw------- 1 root root 3883390 avril 26 12:30 System.map-4.4.0-77-generic
-rw------- 1 root root 3882872 avril 27 20:24 System.map-4.4.0-78-generic
-rw------- 1 root root 3884173 juil. 18 17:00 System.map-4.4.0-87-generic
-rw------- 1 root root 7081872 avril 20 14:02 vmlinuz-4.4.0-75-generic
-rw------- 1 root root 7081808 avril 26 12:30 vmlinuz-4.4.0-77-generic
-rw------- 1 root root 7089552 avril 27 20:24 vmlinuz-4.4.0-78-generic
-rw------- 1 root root 7095888 juil. 18 17:00 vmlinuz-4.4.0-87-generic
Thanks a lot,
Axel
I have an hosted dedicated server at Online.net. Today at 2PM, the server crashed and doesn't boot since (no ping, no ssh). It took me some time to figure out why but I think I know now: 4 days ago, I have upgraded my distribution (apt upgrade) but the upgrade failed on some linux headers packages, probably a Kernel upgrade (No space left on device on /boot as I can remember). I was very surprised by this error and I told to myself that I had to check this out but then I forgot and 4 days later, the server rebooted for some reason and it is now stuck.
As it is hosted, I have no physical access the server. I can boot on the rescue mode on a Ubuntu 16 live cd, I can mount my partitions and access all my data. So the hard drive is fine.
How can I fix the boot ? Can I revert the failed upgrade ?
Here is what I have into my /boot partition
-rw-r--r-- 1 root root 1246246 avril 20 14:02 abi-4.4.0-75-generic
-rw-r--r-- 1 root root 1246313 avril 26 12:30 abi-4.4.0-77-generic
-rw-r--r-- 1 root root 1246312 avril 27 20:24 abi-4.4.0-78-generic
-rw-r--r-- 1 root root 1246670 juil. 18 17:00 abi-4.4.0-87-generic
-rw-r--r-- 1 root root 190214 avril 20 14:02 config-4.4.0-75-generic
-rw-r--r-- 1 root root 190355 avril 26 12:30 config-4.4.0-77-generic
-rw-r--r-- 1 root root 190355 avril 27 20:24 config-4.4.0-78-generic
-rw-r--r-- 1 root root 190356 juil. 18 17:00 config-4.4.0-87-generic
drwxr-xr-x 5 root root 1024 juil. 27 11:33 grub/
-rw-r--r-- 1 root root 34083124 juin 2 15:15 initrd.img-4.4.0-75-generic
-rw-r--r-- 1 root root 34083243 juin 2 15:15 initrd.img-4.4.0-77-generic
-rw-r--r-- 1 root root 34086183 juin 2 15:16 initrd.img-4.4.0-78-generic
drwx------ 2 root root 12288 avril 28 19:53 lost+found/
-rw------- 1 root root 3883390 avril 20 14:02 System.map-4.4.0-75-generic
-rw------- 1 root root 3883390 avril 26 12:30 System.map-4.4.0-77-generic
-rw------- 1 root root 3882872 avril 27 20:24 System.map-4.4.0-78-generic
-rw------- 1 root root 3884173 juil. 18 17:00 System.map-4.4.0-87-generic
-rw------- 1 root root 7081872 avril 20 14:02 vmlinuz-4.4.0-75-generic
-rw------- 1 root root 7081808 avril 26 12:30 vmlinuz-4.4.0-77-generic
-rw------- 1 root root 7089552 avril 27 20:24 vmlinuz-4.4.0-78-generic
-rw------- 1 root root 7095888 juil. 18 17:00 vmlinuz-4.4.0-87-generic
Thanks a lot,
Axel