View previous topic :: View next topic |
Author |
Message |
haneulso Apprentice
Joined: 31 Aug 2004 Posts: 173
|
Posted: Sun Feb 11, 2024 10:20 am Post subject: installkernel setting |
|
|
I need your advice.
I installed installkernel with dracut grub refind systemd systemd-boot uki ukify use flags.
How can I use it.
Code: |
grub
efi file system
mounted /dev/nvme0n1p1 /boot/ -> nvme0n1p1 is efi partition fat 32bit formatted.
mounted /dev/nvme0n1p4 /
|
Installkernel shows me error.
Code: |
Loading /etc/kernel/install.conf…
layout=grub set via /etc/kernel/install.conf
Loaded /etc/kernel/install.conf.
MACHINE_ID=46091fdaf26547a1461284f56293f911 set via /etc/machine-id.
Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Found container virtualization none.
/dev/nvme0n1p1: Partition has wrong PART_ENTRY_TYPE=c12a7328-f81f-11d2-ba4b-00a0c93ec93b for XBOOTLDR partition.
Couldn't find an XBOOTLDR partition.
Failed to check file system type of "/efi": No such file or directory
Using EFI System Partition at /boot as $BOOT_ROOT.
Using entry token: 46091fdaf26547a1461284f56293f911
Invalid version specified:
|
|
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 377
|
Posted: Sun Feb 11, 2024 10:36 am Post subject: |
|
|
How do you boot your system? With Grub? With systemd-boot? Are you booting the kernel directly (EFI stub kernel)? |
|
Back to top |
|
|
haneulso Apprentice
Joined: 31 Aug 2004 Posts: 173
|
Posted: Sun Feb 11, 2024 11:48 am Post subject: |
|
|
sMueggli wrote: | How do you boot your system? With Grub? With systemd-boot? Are you booting the kernel directly (EFI stub kernel)? |
I think with grub, no systemd-boot.
And I use gentoo-kernel-bin with grub.
I am booting using initramfs.img, so I think I do not use EFI stub kernel.
Efi partition mounted on /boot/efi/ |
|
Back to top |
|
|
AndrewAmmerlaan Developer
Joined: 25 Jun 2014 Posts: 285 Location: Nijmegen
|
Posted: Sun Feb 11, 2024 12:04 pm Post subject: Re: installkernel setting |
|
|
haneulso wrote: | I need your advice.
I installed installkernel with dracut grub refind systemd systemd-boot uki ukify use flags.
How can I use it. |
Why do you enable all these flags if you intend to use grub with plain kernel images and initramfs. You want to enable just the grub and dracut flags, disable all the others.
Quote: | Installkernel shows me error.
Code: |
Loading /etc/kernel/install.conf…
layout=grub set via /etc/kernel/install.conf
Loaded /etc/kernel/install.conf.
MACHINE_ID=46091fdaf26547a1461284f56293f911 set via /etc/machine-id.
Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Found container virtualization none.
/dev/nvme0n1p1: Partition has wrong PART_ENTRY_TYPE=c12a7328-f81f-11d2-ba4b-00a0c93ec93b for XBOOTLDR partition.
Couldn't find an XBOOTLDR partition.
Failed to check file system type of "/efi": No such file or directory
Using EFI System Partition at /boot as $BOOT_ROOT.
Using entry token: 46091fdaf26547a1461284f56293f911
Invalid version specified:
|
|
You are overriding the configuration provided by installkernel with /etc/kernel/install.conf. Please remove this file, set the use flags as above and try again. _________________ OS: Gentoo 6.8.10-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
|
haneulso Apprentice
Joined: 31 Aug 2004 Posts: 173
|
Posted: Sun Feb 11, 2024 1:52 pm Post subject: Re: installkernel setting |
|
|
AndrewAmmerlaan wrote: | haneulso wrote: | I need your advice.
I installed installkernel with dracut grub refind systemd systemd-boot uki ukify use flags.
How can I use it. |
Why do you enable all these flags if you intend to use grub with plain kernel images and initramfs. You want to enable just the grub and dracut flags, disable all the others.
Quote: | Installkernel shows me error.
Code: |
Loading /etc/kernel/install.conf…
layout=grub set via /etc/kernel/install.conf
Loaded /etc/kernel/install.conf.
MACHINE_ID=46091fdaf26547a1461284f56293f911 set via /etc/machine-id.
Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Found container virtualization none.
/dev/nvme0n1p1: Partition has wrong PART_ENTRY_TYPE=c12a7328-f81f-11d2-ba4b-00a0c93ec93b for XBOOTLDR partition.
Couldn't find an XBOOTLDR partition.
Failed to check file system type of "/efi": No such file or directory
Using EFI System Partition at /boot as $BOOT_ROOT.
Using entry token: 46091fdaf26547a1461284f56293f911
Invalid version specified:
|
|
You are overriding the configuration provided by installkernel with /etc/kernel/install.conf. Please remove this file, set the use flags as above and try again. |
Thanks. I'll try. |
|
Back to top |
|
|
|