View previous topic :: View next topic |
Author |
Message |
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Fri Jun 07, 2024 10:16 am Post subject: emerging new kernel-bin doesnt appear in /boot |
|
|
so i have multiple machines with gentoo in it, and in my server in vmware vsphere i have been stuck on kernel 6.6.13 for a while beacuse when i update it doesnt appear in /boot nor anywhere
Code: |
uname -a
Linux ****-test 6.6.13-gentoo-dist #1 [OBFUSCATED]
|
yet
Code: |
sudo eselect kernel list
Available kernel symlink targets:
[1] linux-6.6.30-gentoo-dist |
and
Code: |
ls -l /boot/
total 101726
-rwxr-xr-x 1 root root 77312 May 23 16:06 amd-uc.img
-rwxr-xr-x 1 root root 249486 Jan 8 13:03 config-6.1.69-gentoo-dist
drwxr-xr-x 4 root root 512 May 23 16:30 fde5d4e1666643369b0542f386edc471
drwxr-xr-x 6 root root 512 Mar 25 10:58 grub
-rwxr-xr-x 1 root root 33455637 Jan 8 13:03 initramfs-6.1.69-gentoo-dist.img
-rwxr-xr-x 1 root root 35360701 Feb 8 10:19 initramfs-6.6.13-gentoo-dist.img
-rwxr-xr-x 1 root root 15677136 Feb 8 10:19 kernel-6.6.13-gentoo-dist
drwxr-xr-x 3 root root 512 Mar 7 12:39 loader
-rwxr-xr-x 1 root root 6294590 Jan 8 13:03 System.map-6.1.69-gentoo-dist
-rwxr-xr-x 1 root root 13048896 Jan 8 13:03 vmlinuz-6.1.69-gentoo-dist
|
i have no idea what is going on, i just tried to remerge kernel still doesnt appear in boot, idk what is going on, this is the only machine where this is happening |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2430
|
Posted: Fri Jun 07, 2024 10:40 am Post subject: Re: emerging new kernel-bin doesnt appear in /boot |
|
|
picarica wrote: |
yet
Code: |
sudo eselect kernel list
Available kernel symlink targets:
[1] linux-6.6.30-gentoo-dist |
and
Code: |
ls -l /boot/
total 101726
-rwxr-xr-x 1 root root 77312 May 23 16:06 amd-uc.img
-rwxr-xr-x 1 root root 249486 Jan 8 13:03 config-6.1.69-gentoo-dist
drwxr-xr-x 4 root root 512 May 23 16:30 fde5d4e1666643369b0542f386edc471
drwxr-xr-x 6 root root 512 Mar 25 10:58 grub
-rwxr-xr-x 1 root root 33455637 Jan 8 13:03 initramfs-6.1.69-gentoo-dist.img
-rwxr-xr-x 1 root root 35360701 Feb 8 10:19 initramfs-6.6.13-gentoo-dist.img
-rwxr-xr-x 1 root root 15677136 Feb 8 10:19 kernel-6.6.13-gentoo-dist
drwxr-xr-x 3 root root 512 Mar 7 12:39 loader
-rwxr-xr-x 1 root root 6294590 Jan 8 13:03 System.map-6.1.69-gentoo-dist
-rwxr-xr-x 1 root root 13048896 Jan 8 13:03 vmlinuz-6.1.69-gentoo-dist
|
i have no idea what is going on, i just tried to remerge kernel still doesnt appear in boot, idk what is going on, this is the only machine where this is happening |
Eselect does not do anything other than managing where the /usr/src/linux symlink points to.
In the same time, kernels that are already installed in /boot are separate from what eselect list shows. They actually do not belong to any package. I'm not sure if this is true for the bin kernels, but it should be. If you delete the sources, eselect won't show them.
Better tell us what procedure you followed.
p.s. are you using a separate partition for /boot? Did you mount it in advance?
Best Regards,
Georgi |
|
Back to top |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Fri Jun 07, 2024 10:49 am Post subject: |
|
|
Code: |
emerge -s installkernel
[ Results for search key : installkernel ]
Searching...
* dev-python/installer
Latest version available: 0.7.0
Latest version installed: 0.7.0
Size of files: 907 KiB
Homepage: https://pypi.org/project/installer/ https://github.com/pypa/installer/ https://installer.readthedocs.io/en/latest/
Description: A library for installing Python wheels
License: MIT
* sys-kernel/installkernel
Latest version available: 28
Latest version installed: 28
Size of files: 19 KiB
Homepage: https://github.com/projg2/installkernel-gentoo https://wiki.gentoo.org/wiki/Installkernel
Description: Gentoo fork of installkernel script from debianutils
License: GPL-2+
[ Applications found : 2 ]
|
yes it is i noticed the news read back then i added the use flag for it if remember correctly
Quote: |
p.s. are you using a separate partition for /boot? Did you mount it in advance?
|
for this
its a really simple basci intallation with all in one simple disk
Code: |
udo fdisk -l
Disk /dev/sda: 52 GiB, 55834574848 bytes, 109051904 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x01cd07f3
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 526335 524288 256M 83 Linux
/dev/sda2 526336 8914943 8388608 4G 82 Linux swap / Solaris
/dev/sda3 8914944 109051903 100136960 47.7G 83 Linux
|
Quote: |
They actually do not belong to any package. |
and this may be trueb ecause i dont have those kernels merge, but i am little scared to do eclean-kernel. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2430
|
Posted: Fri Jun 07, 2024 10:54 am Post subject: |
|
|
I edited my replay before you posted yours. Please read ti again. Also, is this a BIOS/MBR system?
Also:
Code: | equery list sys-kernel/* |
Best Regards,
Georgi |
|
Back to top |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Fri Jun 07, 2024 11:20 am Post subject: |
|
|
logrusx wrote: | I edited my replay before you posted yours. Please read ti again. Also, is this a BIOS/MBR system?
Also:
Code: | equery list sys-kernel/* |
Best Regards,
Georgi |
Code: |
equery list sys-kernel/*
* Searching for * in sys-kernel ...
[IP-] [ ] sys-kernel/dracut-060_pre20240104-r4:0
[IP-] [ ] sys-kernel/gentoo-kernel-bin-6.6.30:6.6.30
[IP-] [ ] sys-kernel/installkernel-28:0
[IP-] [ ] sys-kernel/linux-firmware-20240513:0
[IP-] [ ] sys-kernel/linux-headers-6.6-r1:0
|
i didnt noticed any edit on your reply, am i missing something ? also yes its mios/mbr
Code: |
sudo fdisk -l
Disk /dev/sda: 52 GiB, 55834574848 bytes, 109051904 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x01cd07f3
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 526335 524288 256M 83 Linux
/dev/sda2 526336 8914943 8388608 4G 82 Linux swap / Solaris
/dev/sda3 8914944 109051903 100136960 47.7G 83 Linux
|
|
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1921
|
Posted: Fri Jun 07, 2024 12:43 pm Post subject: |
|
|
picarica wrote: | Code: |
ls -l /boot/
drwxr-xr-x 4 root root 512 May 23 16:30 fde5d4e1666643369b0542f386edc471
|
|
The kernel is likely in this subdirectory if installkernel is calling systemd's kernel-install. See https://wiki.gentoo.org/wiki/Installkernel for how to control options to your liking besides the USE flags as well; including the traditional install locations. It could also be under /efi depending on the configuration. |
|
Back to top |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Fri Jun 07, 2024 1:08 pm Post subject: |
|
|
grknight wrote: | picarica wrote: | Code: |
ls -l /boot/
drwxr-xr-x 4 root root 512 May 23 16:30 fde5d4e1666643369b0542f386edc471
|
|
The kernel is likely in this subdirectory if installkernel is calling systemd's kernel-install. See https://wiki.gentoo.org/wiki/Installkernel for how to control options to your liking besides the USE flags as well; including the traditional install locations. It could also be under /efi depending on the configuration. |
you're right
Code: |
ls fde5d4e1666643369b0542f386edc471/
6.6.28-gentoo-dist 6.6.30-gentoo-dist
|
and these are my only use flags ever
Code: |
USE="-openmp systemd-boot"
# package.use# required by sys-kernel/gentoo-kernel-bin-6.6.13::gentoo[initramfs]
# required by virtual/dist-kernel-6.6.13::gentoo
>=sys-kernel/installkernel-24 dracut
# required by sys-kernel/installkernel-24::gentoo[systemd-boot]
# required by sys-apps/debianutils-5.14::gentoo[installkernel]
# required by sys-process/cronie-1.7.1-r1::gentoo
# required by virtual/cron-0-r3::gentoo
# required by @selected
# required by @world (argument)
>=sys-apps/systemd-254.8-r1 boot
|
|
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1921
|
Posted: Fri Jun 07, 2024 1:23 pm Post subject: |
|
|
picarica wrote: | and these are my only use flags ever
Code: |
USE="-openmp systemd-boot"
# package.use# required by sys-kernel/gentoo-kernel-bin-6.6.13::gentoo[initramfs]
# required by virtual/dist-kernel-6.6.13::gentoo
>=sys-kernel/installkernel-24 dracut
# required by sys-kernel/installkernel-24::gentoo[systemd-boot]
# required by sys-apps/debianutils-5.14::gentoo[installkernel]
# required by sys-process/cronie-1.7.1-r1::gentoo
# required by virtual/cron-0-r3::gentoo
# required by @selected
# required by @world (argument)
>=sys-apps/systemd-254.8-r1 boot
|
|
By setting systemd-boot USE, you signal installkernel that grub will be ignored and prepare for systemd-boot (formerly known as gummiboot) to be called instead.
This can be also overridden in a config file noted by the wiki page. |
|
Back to top |
|
|
picarica Guru
Joined: 11 Aug 2018 Posts: 326
|
Posted: Wed Jun 12, 2024 11:01 am Post subject: |
|
|
grknight wrote: | picarica wrote: | and these are my only use flags ever
Code: |
USE="-openmp systemd-boot"
# package.use# required by sys-kernel/gentoo-kernel-bin-6.6.13::gentoo[initramfs]
# required by virtual/dist-kernel-6.6.13::gentoo
>=sys-kernel/installkernel-24 dracut
# required by sys-kernel/installkernel-24::gentoo[systemd-boot]
# required by sys-apps/debianutils-5.14::gentoo[installkernel]
# required by sys-process/cronie-1.7.1-r1::gentoo
# required by virtual/cron-0-r3::gentoo
# required by @selected
# required by @world (argument)
>=sys-apps/systemd-254.8-r1 boot
|
|
By setting systemd-boot USE, you signal installkernel that grub will be ignored and prepare for systemd-boot (formerly known as gummiboot) to be called instead.
This can be also overridden in a config file noted by the wiki page. |
yes thank you solved it by remove systemd-boot use flag, wont it have some consequences tho ? |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Wed Jun 12, 2024 11:14 am Post subject: |
|
|
picarica wrote: | yes thank you solved it by remove systemd-boot use flag, wont it have some consequences tho ? |
No, since you're using GRUB. |
|
Back to top |
|
|
|