Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images/gentoo: installkernel >=20 updates #811

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

juippis
Copy link
Contributor

@juippis juippis commented Feb 3, 2024

  • add "grub" use flag with openrc (I forgot this last time),
  • "systemd-kernel-install" was settled with "systemd-boot" instead on systemd.

NOTE: I couldn't boot the systemd variant, but openrc fully works. I'm gonna need some time to study systemd-boot as I've never dealt with it before. However the systemd-boot use flag looks final, so this should still be merged if systemd-boot is to be used in future with systemd vm variants.

@juippis
Copy link
Contributor Author

juippis commented Feb 3, 2024

Just throwing my observation about systemd-boot here - not sure if it's relevant or not: The /boot files are installed on the "EFI" partition (/dev/sda1) while with openrc they are installed on rootfs (/dev/sda2). No separate /boot is mounted on either case.

 - add "grub" use flag with openrc (I forgot this last time),
 - "systemd-kernel-install" was settled with "systemd-boot" instead on systemd.

Signed-off-by: Joonas Niilola <[email protected]>
@juippis juippis force-pushed the gentoo-yaml-updates-v2 branch from 299f9ec to 854a6ba Compare February 3, 2024 09:19
@juippis
Copy link
Contributor Author

juippis commented Feb 3, 2024

Force-pushed an update. Adding
echo "root=/dev/sda2" >> /etc/kernel/cmdline
makes the systemd vm work for me locally - not sure if /dev/sda2 is something that'd only work here, but I think that's a hint of sort what causes the issue. Please take it from here :)

@stgraber stgraber merged commit 284067b into lxc:main Feb 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants