raspberrypi / piserver

Raspberry Pi Server wizard to serve Raspbian to network booting Pis
310 stars 60 forks source link

Update OS image with new kernel #106

Open gits00 opened 4 years ago

gits00 commented 4 years ago

Hi, I am trying to add a new OS image with just the kernel updated. Ideally, now I think it should be done using something like #28 but trying a way that would help in making kernel changes/copying fast later. So, I copied the new kernel and related folders into an earlier piserver os folder at (/var/lib/piserver/os). Then made a tar.xz of it. Later gave this tar.xz as new OS image in "Software -> Add" of piserver GUI. With this I was able to boot the kernel (Sweet!) but not able to get the home dir mounted. I get an error similar to #99 - (mount.c:72): Messages from underlying mount program: (mount.c:76): fusermount: mount failed: Operation not permitted (pam_mount.c:522): mount of gits@piserver: failed No directory, logging in with HOME=/

Would like to get in the home dir as usual. Any idea what could be going wrong? On checking the .config file of kernel I see CONFIG_AUTOFS_FS not set in custom kernel but set in buster. Would that make a difference? Thanks.