I'm preseeding a 14.04 Trusty install, on a machine which requires a driver fix from the 3.16 kernel, which is the one which goes with 14.10 Utopic. The easiest way to get this kernel is to install the corresponding hardware enablement stack:
http://www.ubuntuupdates.org/package/canonical_kernel_team/trusty/main/base/linux-generic-lts-utopic
When I add the PPA and install the package after installation, it works out fine. However, when I add linux-generic-lts-utopic
to the pkgsel/include
line in my preseed, I get a kernel panic on first boot into the installed system (happens in Parallels and on the actual hardware). It turns out that I have to use the GRUB menu to first boot the default 3.13 kernel, and then run:
sudo update-initramfs -c -k 3.16.0-17-generic
sudo update-grub
After doing this, it can boot 3.16 just fine.
This seems super janky. Is this a regression in the hardware enablement stack, or a problem with the installer, or something missing from preseed?
Thanks.
base-installer/kernel/image
for selecting the kernel to be installed. Tried that? – muru Sep 20 '14 at 03:34image
andoverride-image
. Neither had any effect— the package doesn't get installed. I tried also installing the package viapkgsel
, but then I just get the kernel panic. – mikepurvis Sep 20 '14 at 13:32update-initramfs -c -k all
in the late_command does not work. You have to call out the exact version to generate for. – mikepurvis Sep 30 '14 at 18:52