Error in doing an apt-get autoremove
silver.bullet at zoho.com
silver.bullet at zoho.com
Fri Sep 11 23:07:28 UTC 2015
On Sat, 12 Sep 2015 08:45:20 +1000, phil wrote:
>Chances are its nothing to worry about, i've seen it many times and
>the pc always reboots.
When ever I allowed that crappy GRUB automation to waste my time, the
generated grub.cfg explicitly generated entries for
/boot/vmlinuz-1.2.3-4 and /boot/initrd.img-1.2.3-4, those obscure links
in / were never used.
However, on the OPs install the links exist, the kernel doesn't exist.
Since the link have got the suffix ".old" likely a "new" kernel is
installed and located in /grub and not only located in the RAM.
"ls /boot/" does show. "less /boot/grub/grub.cfg" could be used to take
a look at the grub menu.
I manually edit grub.cfg, that btw. isn't part of my Ubuntu install. I
also manually remove the links in /, but add links to /boot, so I don't
need to rewrite grub.cfg if a kernel from the repositories is upgraded.
Regards,
Ralf
FWIW
[root at moonstudio weremouse]# ls -hog /
total 68K
drwxr-xr-x 2 4.0K Sep 10 12:02 bin
drwxr-xr-x 2 4.0K Sep 11 13:52 boot
drwxr-xr-x 17 5.0K Sep 11 19:09 dev
drwxr-xr-x 118 4.0K Sep 11 19:20 etc
drwxr-xr-x 3 4.0K Aug 8 11:59 home
drwxr-xr-x 19 4.0K Aug 15 21:39 lib
drwxr-xr-x 2 4.0K Jul 25 22:50 lib64
drwxr-xr-x 4 4.0K Sep 5 18:20 media
drwxr-xr-x 4 4.0K Sep 11 22:21 mnt
drwxr-xr-x 3 4.0K Aug 6 15:12 opt
dr-xr-xr-x 150 0 Sep 11 21:04 proc
drwx------ 13 4.0K Sep 9 08:42 root
drwxr-xr-x 21 660 Sep 11 22:23 run
drwxr-xr-x 2 12K Sep 10 12:02 sbin
drwxr-xr-x 2 4.0K Jul 25 08:30 srv
dr-xr-xr-x 13 0 Sep 11 21:04 sys
drwxrwxrwt 12 4.0K Sep 11 23:11 tmp
drwxr-xr-x 10 4.0K Jul 25 22:50 usr
drwxr-xr-x 12 4.0K Jul 25 23:02 var
[root at moonstudio weremouse]# ls -hog /boot/
total 66M
-rw-r--r-- 1 1.3M Sep 1 22:27 abi-4.2.0-7-lowlatency
-rw-r--r-- 1 137K Aug 23 02:00 config-3.10.61-rt65-1-moonstudio
-rw-r--r-- 1 181K Sep 1 22:27 config-4.2.0-7-lowlatency
-rw-r--r-- 1 20M Aug 23 09:26 initrd.img-3.10.61-rt65-1-moonstudio
-rw-r--r-- 1 28M Sep 10 12:02 initrd.img-4.2.0-7-lowlatency
lrwxrwxrwx 1 29 Sep 11 13:52 initrd.img-lowlatency -> initrd.img-4.2.0-7-lowlatency
-rw-r--r-- 1 179K Aug 27 15:04 memtest86+.bin
-rw-r--r-- 1 181K Aug 27 15:04 memtest86+.elf
-rw-r--r-- 1 181K Aug 27 15:04 memtest86+_multiboot.bin
-rw------- 1 2.4M Aug 23 03:22 System.map-3.10.61-rt65-1-moonstudio
-rw------- 1 3.6M Sep 1 22:27 System.map-4.2.0-7-lowlatency
-rw------- 1 3.9M Aug 23 03:22 vmlinuz-3.10.61-rt65-1-moonstudio
-rw------- 1 6.5M Sep 1 22:27 vmlinuz-4.2.0-7-lowlatency
lrwxrwxrwx 1 26 Sep 11 13:52 vmlinuz-lowlatency -> vmlinuz-4.2.0-7-lowlatency
More information about the ubuntu-users
mailing list