viewtopic.php?f=16&t=521Describes my experience of doing a jessie live image with a 4.2 kernel. That was necessary at the time for hardware reasons.
I used a siduction kernel for that. There was a reason to not use a stock backport kernel but I don't remember why, maybe it was too old.
Note, you
must use newer live-* (jessie versions can't handle overlay, newer kernels can't handle aufs). Get them from sid, they should be installable and back-compatible.
I have since done a self-compiled 4.2.5 and just installed it to my new refracta 8 system.
- Code: Select all
:~$ uname -r
4.2.5
dpkg -l|grep linux-image
ii linux-image-3.16.0-4-amd64 3.16.7-ckt20-1+deb8u3 amd64 Linux 3.16 for 64-bit PCs
ii linux-image-4.2.5 1.0.exegnu amd64 Linux kernel binary image for version 4.2.5
I noticed however that the symlinks were not updated. I checked (/)etc/kernel img.conf:
- Code: Select all
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = No
do_bootloader = No
do_initrd = Yes
link_in_boot = No
After changing do_symlinks and reinstalling they were still not done. Don't know why yet. Those links don't seem to have much use anyway except maybe convenience in some cases. Grub uses the real kernel('s) and initrd('s) in /boot, maybe snapshot should do the same (with a mechanism to detect multiple kernels)
There is already an option in refractasnapshot.conf to choose a kernel and initrd other than what is (or not) symlinked.
RE patching init: There was a problem in the early days of jessie (or devuan) where /dev was empty in the real fs, after intramfs causing switch_root failure. This was apparently fixed by including some basic static nodes, like live-build does. The patch was supposed to be only an interim fix.
Will need to go back and look what the patch did/does.. /usr/share/initramfs-tools/scripts/init-bottom/udev is involved in this also.
Later I will do a snapshot myself of this system and write back with the result.