update manager refuses to upgrade kernel to newer version

Spyros Tsiolis stsiol at yahoo.co.uk
Sun Feb 14 20:05:32 UTC 2016


Hi Oli,

--------------------------------------------
> On Sun, 14/2/16, Oliver Grawert <ogra at ubuntu.com> wrote:
> 
>  Subject: Re: update manager refuses to upgrade kernel to newer version
>  To: ubuntu-users at lists.ubuntu.com
>  Date: Sunday, 14 February, 2016, 20:11
>  
>  hi,
>  
>  > root at tcsrv:~# ls -l
>  >  /var/tftpboot/ubu1204x86diskless/boot/
>  > ...
>  > -rw-r--r-- 1 root
>  > root   169997 Jan 20 21:21
>  > config-3.13.0-77-generic
>  > ...
>  > -rw-r--r-- 1 root root 12890705 Feb 12
>  > 19:32 initrd.img-3.13.0-77
>  > -generic
>  so we are now sure your apt update worked fine
>  and your -77 kernel is
>  installed properly in
>  the NFS root, good ...
>  
>  > BTW, the system uses NONE OF THE ABOVE
>  > KERNELS but is using
>  >
>  > *-3.13.0-46-generic"
>  right, somewhere
>  your PXE setup is still wrong, so lets get this fixed
>  ;)
 
OK. Quick overview. For PXE, under the thinclient-server
storage, files reside under "/var/tftpboot/ubu1204x86diskless"
and "/var/tftpboot/ubu1204x86diskless_boot"

Under the first folder is all the filesystem structure one
finds on a CD / DVD release including hidden files/folders
(e.g. ".disk").

"vmlinuz" and "initrd.img" files reside under the second folder
("/var/tftpboot/ubu1204x86diskless_boot").
It's the files needed for PXE to start booting the thin-clients
through the local network in the first place.
Now, keeping that in mind, there is another place where all
the kernels are stored and that would be under 
"/var/tftpboot/ubu1204x86diskless/boot" 
(I know you can state the obvious just trying to be of help,
slash boot (/boot) and not underscore-boot (_boot)).


 >  ... also your
 >
 >  pxelinux.cfg/default file would be interesting to
 see
 > 
 > 
 > > I don't think you're asking for
 > >"pxelinux.cfg/default" but 
 > >
 > >"01-00-XX-XX-XX-XX-XX" according to each nodes
 > >  MAC
 > >  Address. If this is the case, this
 > > is for NODE with MAC
 > >
 > > "01-00-0f-1f-e9-30-b4" :
> 
>  well, i personally always only use a global
>  pxelinux.cfg/default
>  because i dont need any
>  client specific settings, but yes, whatever
>  config file you have to ship the kernel info is
>  fine ... 
>  
> > LABEL
> >  default
>  >         KERNEL
> > ubu1204x86diskless_boot/vmlinuz
>  >       
> > APPEND vga=normal initrd=ubu1204x86diskless_boot/initrd.img

>  so it pulls
>  /var/tftpboot/ubu1204x86diskless/vmlinuz and 
>   /var/tftpboot/ubu1204x86diskless/initrd.img

Yes, not ubu1204x86diskless but "/var/tftpboot/ubu1204x86diskless_boot",
as I stated above.
 
>  i assume these files
>  are symlinks ... can you check them with "ls -l"
>  ?


No, no symlinks. Real files, living under "/var/tftpboot/ubu1204x86diskless_boot"


>  (i guess they either point to the wrong
>  binaries (i.e. boot/*-46
>  -generic) or they
>  are no symlinks but copies of of the *-46-generic
>  binaries )


I think they are the *-46 kernel files , yes. I agree with you totally.
What I can't stop my mind from thinking though, is why on one installation
the kernels get updated and run the newest kernel version and on the other
installation this no longer applies. . . . .
 
 
>  ciao
>      oli

OK, Oliver,

Thanks again ,

s.


 





More information about the ubuntu-users mailing list