pieroproietti / penguins-eggs

On the road of Remastersys, Refracta, Systemback and father Knoppix!
https://penguins-eggs.net
394 stars 44 forks source link

vmlinuz path not correctly identified on Ubuntu server 22.04 #322

Closed markoceri closed 9 months ago

markoceri commented 9 months ago

Hi,

I tried to produce an egg starting from Ubuntu Server 22.04 with the system installed on a Logical Volume, but I faced some issues after running the sudo eggs dad -d command.

This is the output:

command: dad -d

Daddy, what else did you leave for me?
- creating configuration dir...
Due the lacks of calamares package set force_installer = false
/vmlinuz-5.15.0-91-generic not exists!

Looking at the code, I noticed that vmlinuz is extracted from the BOOT_IMAGE variable in the /proc/cmdline file. On my installation BOOT_IMAGE reports vmlinuz on root folder but the compressed kernel vmlinuz is located in /boot and not in the root directory (as mentioned in a comment in the code for blendOS)

Anyway, I can manually set the path to vmlinuz in the eggs.yaml file and the egg is produced correctly.

Is it a known issue?

markoceri commented 9 months ago

Resolved with https://github.com/pieroproietti/penguins-eggs/pull/323