Official NuTyX forums

Documentation => ISOs, initrd, initramfs => Topic started by: dufresnep on Mon Oct 21 20:29:25 2019

Title: generate iso: mkiso: It's not the 5.3.7-NuTyX kernel in this ISO
Post by: dufresnep on Mon Oct 21 20:29:25 2019
When I came to generate the iso, I got:
(yeah, I had forgotten to set export NUTYX_TMP=/mnt/nutyx_tmp so that stuff ended in my home directory)
Code: [Select]
root [ /home/paul/packages-x86_64/x86_64 ]
# bash rolling/scripts/mkiso
something went wrong: It's not the 5.3.7-NuTyX kernel in this ISO

root [ /home/paul/packages-x86_64/x86_64 ]# ls $LFS
bin   dev  home  language.check  lib64         mnt  pkg   root  sbin  sys  usr
boot  etc  ISO   lib             locale.check  opt  proc  run   srv   tmp  var

root [ /home/paul/packages-x86_64/x86_64 ]# ls $LFS/boot
config_64-4.19.80-NuTyX-lts  kernel-4.19.80-NuTyX-lts
grub                         kernel-lts
initrd-4.19.80-NuTyX-lts     System_64.map-4.19.80-NuTyX-lts
root [ /home/paul/packages-x86_64/x86_64 ]#

indeed, it seems to be 4.19.80, not 5.3.7 kernel... is it really wrong?
Title: Re: generate iso: mkiso: It's not the 5.3.7-NuTyX kernel in this ISO
Post by: oyim on Tue Oct 22 00:27:46 2019
Until Thierry answers, you may see if this helps...

https://forums.nutyx.org/index.php/topic,349.msg1183.html#msg1183
Title: Re: generate iso: mkiso: It's not the 5.3.7-NuTyX kernel in this ISO
Post by: dufresnep on Tue Oct 22 04:48:05 2019
I redone bash mkiso, without any pararmeters and it worked fine this time.

That said, the almost 6 Gib, refuse to be copied in my 4 Gb ram when I try to boot it.
Don't know if there is an option to tell to mount the different squashfs files rather than try to copy them in ram.
Title: Re: generate iso: mkiso: It's not the 5.3.7-NuTyX kernel in this ISO
Post by: Thierry on Tue Oct 22 06:56:58 2019
when you get:
Code: [Select]
# bash rolling/scripts/mkiso
something went wrong: It's not the 5.3.7-NuTyX kernel in this ISO

You should use pass the kernel name as second parameter like explain in the help:
Code: [Select]
bash rolling/scripts/mkiso -h
So then you will need to pass param1 as well like this:

Code: [Select]
bash rolling/scripts/mkiso 20191022 $(basename $LFS/lib/modules/*)