JackHack96 / dell-xps-9570-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu running smooth on Dell XPS 15 9570.
999 stars 113 forks source link

./isorespin.sh: Cannot find mainline kernel. #89

Closed davidmoshal closed 5 years ago

davidmoshal commented 5 years ago

Run into a problem following your instructions:

 ./build.sh -v true -s true -i ubuntu-18.04.2-desktop-amd64.iso
Video codecs will be installed
SPECTRE/Meltdown patches will be disabled
Extracting ISO ...
Parallel unsquashfs: Using 32 processors
139420 inodes (157590 blocks) to write

[===========================================/] 157590/157590 100%

created 111966 files
created 16955 directories
created 27421 symlinks
created 7 devices
created 0 fifos
Extracting isorespin files ...
Processing bootloader/bootmanager ...
Fetching mainline kernel packages ...
Installing mainline kernel packages ...
./isorespin.sh: Cannot find mainline kernel.
davidmoshal commented 5 years ago

so, trying to debug this a bit,

this command succeeded: ./isorespin.sh -i ubuntu-18.04.2-desktop-amd64.iso

Result: ./isorespin.sh: Respun ISO created as 'linuxium-ubuntu-18.04.2-desktop-amd64.iso'

However this command: ./isorespin.sh -i ubuntu-18.04.2-desktop-amd64.iso -k v4.19.14

produced the above error: ./isorespin.sh: Cannot find mainline kernel.

So, my guess is that the kernel version has changed.

davidmoshal commented 5 years ago

curious why v4.19.4 chosen? seems like there are many more options: https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

I also tried with v5.0.7 (latest version), and it also could not find the mainline kernel.

JackHack96 commented 5 years ago

There isn't a particular reason for 4.19.4, it was the most recent version of the kernel when I last updated the script.

I'll look to update the ready ISO...