Lenovo M720S boot problem

Nicolas Renault nicolas.renault at openinfo.fr
Fri Nov 23 09:06:37 CET 2018


Hi,

We finally find the solution, and this is my fault , next time I will 
read more carefully conf file.

I repost all the facts , so if someone as the same problem it will be 
clear.

on Lenovo M710 and lot of others PC , we use a FAI server to install 
Debian jessie and stretch, Ubuntu 14.04 ,16.04 and 18.04 ,
Fai server was made from a Debian stretch , using install guide from 
fai-project.org .
all is working without problems.  (use of kernel 4.9 to pxe boot )
on M710s we have ssd M2 nvme and it's working.

We received  a lenovo M720s (core i5 8th , 8GB , ssd M2 nvme ) and it's 
not working. During the boot (before fai start), the PC hang.

We try others kernel (from installed PC) 4.15 ( from ubuntu) etn 4.18 ( 
from stretch backport) , the boot continue but after that the FAI 
install do not start because nfs share are read-only.
this is because as Thomas said   " the overlayfs kernel module "

The mistake we make is that we just copy vmlinuz and initrd from PC , we 
do not use those made by fai-setup .

this morning all is working , actions :

from the stretch server that is used to build fai , edit /etc/fai/NFSROOT
modify section as this :
-------------------------------------
PACKAGES install-norec AMD64
grub-pc
# linux-image-amd64
linux-image-amd64/stretch-backports  # if you want to use a newer kernel

-------------------------------------

then
fai-setup -v

in  /srv/tftp/fai   copy  initrd.img-4.18.xxxxxxx   and 
vmlinuz-4.18.xxxxxxxx  to the tftp dir we use on the real FAI server.

in /srv/fai/nfsroot/lib/modules   copy the directory 4.18.xxxxxxx to the 
directory nfsroot/lib/modules/ on the real FAI server.

on the real FAI server :
add the entry in pxelinux.cfg/default (or other files if you use 
include) to use the initrd.img-4.18.xxxxx and vmlinuz-4.18.xxxxxx

--- the entry for us ----
label FAI-18.04-LTS-2
                         MENU LABEL PLX-UBUNTU 18.04 M720s 
4.18.0-0.bpo.1-amd64 nooptions (En cours de test)
                         kernel Fai/vmlinuz-4.18.0-0.bpo.1-amd64
                         append 
initrd=Fai/initrd.img-4.18.0-0.bpo.1-amd64 ip=dhcp root=/dev/nfs 
nfsroot=10.91.7.21:/u1/DATA04/Fai/FAI-5.5/nfsroot rootovl 
FAI_FLAGS=verbose,sshd,createvt 
FAI_CONFIG_SRC=nfs://10.91.7.21/u1/DATA04/Fai/FAI-5.5/config 
FAI_CHOIX=UB_18_04 FAI_LANG=FRENCH FAI_ACTION=install ipv6.disable=1

----------------------------

and it's working

Thanks a lot to Thomas who point us to the solution.

Regards.

Nicolas (sorry for bad english )


Le 22/11/2018 à 22:28, Thomas Lange a écrit :
>>>>>> On Fri, 16 Nov 2018 16:07:33 +0100, Nicolas Renault - OPENinfo <nicolas.renault at openinfo.fr> said:
>      > I forget to add lib/modules/4.15.0-29-generic  to the nfsroot.
>      > now final problems ( I think) :
>      > the FAI cannot create /tmp/fai and /target filesystem is read only
> Please check if the Ubuntu kernel 4.15 also includes the overlayfs
> kernel module. FAI needs this but I'm not sure if Ubuntu supports this.
>



More information about the linux-fai mailing list