Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerging new kernel-bin doesnt appear in /boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Fri Jun 07, 2024 10:16 am    Post subject: emerging new kernel-bin doesnt appear in /boot Reply with quote

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
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 231
Location: Gentoo forums

PostPosted: Fri Jun 07, 2024 10:35 am    Post subject: Reply with quote

Maybe 2024-02-26 - installkernel is no longer implicitly installed?

Do you have sys-kernel/installkernel installed?
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2435

PostPosted: Fri Jun 07, 2024 10:40 am    Post subject: Re: emerging new kernel-bin doesnt appear in /boot Reply with quote

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?

eeckwrk99 wrote:
Maybe 2024-02-26 - installkernel is no longer implicitly installed?

Do you have sys-kernel/installkernel installed?


installkernel is no longer implicitly installed news item wrote:

No manual action is required for users of the distribution kernels:
- sys-kernel/gentoo-kernel, or
- sys-kernel/gentoo-kernel-bin, or
- sys-kernel/vanilla-kernel


Best Regards,
Georgi
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Fri Jun 07, 2024 10:49 am    Post subject: Reply with quote

eeckwrk99 wrote:
Maybe 2024-02-26 - installkernel is no longer implicitly installed?

Do you have sys-kernel/installkernel installed?

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
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2435

PostPosted: Fri Jun 07, 2024 10:54 am    Post subject: Reply with quote

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
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Fri Jun 07, 2024 11:20 am    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1921

PostPosted: Fri Jun 07, 2024 12:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Fri Jun 07, 2024 1:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1921

PostPosted: Fri Jun 07, 2024 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 326

PostPosted: Wed Jun 12, 2024 11:01 am    Post subject: Reply with quote

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
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 231
Location: Gentoo forums

PostPosted: Wed Jun 12, 2024 11:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum