Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 4.14.7 & 4.14.8-r1 & lvm & grub-mkconfig
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
transsib
l33t
l33t


Joined: 26 Jul 2003
Posts: 862

PostPosted: Fri Dec 22, 2017 6:17 am    Post subject: Kernel 4.14.7 & 4.14.8-r1 & lvm & grub-mkconfig Reply with quote

Code:
grub-mkconfig -o /boot/grub/grub.cfg
GRUB-Konfigurationsdatei wird erstellt …
Linux-Abbild gefunden: /boot/vmlinuz-4.14.8-gentoo-r1
Linux-Abbild gefunden: /boot/vmlinuz-4.14.7-gentoo
Linux-Abbild gefunden: /boot/vmlinuz-4.14.7-gentoo.old
Linux-Abbild gefunden: /boot/vmlinuz-4.12.12-gentoo
Linux-Abbild gefunden: /boot/vmlinuz-4.12.12-gentoo.old
Linux-Abbild gefunden: /boot/vmlinuz-4.12.5-gentoo
Linux-Abbild gefunden: /boot/vmlinuz-4.12.5-gentoo.old
Linux-Abbild gefunden: /boot/vmlinuz-4.9.6-gentoo-r1
Linux-Abbild gefunden: /boot/vmlinuz-4.9.6-gentoo-r1.old
  /run/lvm/lvmetad.socket: connect failed: Datei oder Verzeichnis nicht gefunden
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
Windows Boot Manager auf /dev/sdb2@/EFI/Microsoft/Boot/bootmgfw.efi gefunden
Ubuntu 17.10 (17.10) auf /dev/sdc5 gefunden
erledigt


This is what grub-mkconfig tells me since new kernel 4.14.7. (now obsolete) and kernel 4.14.8-r1
But there's no multiple device driver support set in kernel 'cause I don't need it.
And there's no boot option for the newly baked kernel after this, but ...

I have Ubuntu on /dev/sda5 since more than a year. Its grub took over boot after it upgraded
to 17.04 and the issue started when it went to 17.10

No issue with it until now. Now any new kernel I do for Gentoo needs to be registered
in Ubuntu first with sudo update grub (which does not throw a error message) or it won't
appear in the grub boot option list.

I do not understand what's going on and I don't like it.
Ubuntu boot never annoyed me until now and I never bothered who's grub boots
any of my systems. It did not bite and it worked. So I saw no reason to do something against
the situation.

You'll probably wanna know stuff so please ask me questions or if anyone knows what's going on here
I'd be happy to know.

Has the time come to finally slid SystemrescueCD in and reinstate Gentoo's grub?

Thanks in advance
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2644

PostPosted: Fri Dec 22, 2017 7:14 am    Post subject: Re: Kernel 4.14.7 & 4.14.8-r1 & lvm & grub-mkcon Reply with quote

Did you consider trying an EFI stub kernel with its own UEFI boot item? Getting rid of grub?
Back to top
View user's profile Send private message
transsib
l33t
l33t


Joined: 26 Jul 2003
Posts: 862

PostPosted: Fri Dec 22, 2017 3:46 pm    Post subject: Reply with quote

I did the stub kernel years ago and did not like it all that much.
May be I am just too dense :) for it.

New kernel 4.14.8-r1 is running now on Gentoo after I have done update grub
on Ubuntu again.

Ubuntu is just a toy for me. Gentoo is my main system. If need be and I hope it won't
I have both a SysrescueCD and a rEFind CD.

Ubuntu 17.10 has plymouth now and wayland and of course systemd while my Gentoo gets
loaded by Openrc. This never collided before. I really do not understand what exactly has changed.

Gonna look into stub kernel again.

Thank you and Merry Xmas to all
Back to top
View user's profile Send private message
unheatedgarage
n00b
n00b


Joined: 19 Sep 2016
Posts: 51

PostPosted: Fri Dec 22, 2017 8:05 pm    Post subject: Reply with quote

If I recall correctly, whenever Ubuntu took over grub, I had to boot into my Gentoo partition, then run
Code:
grub-install
and finally run grub-mkconfig before it would recognize the new kernel.
Back to top
View user's profile Send private message
transsib
l33t
l33t


Joined: 26 Jul 2003
Posts: 862

PostPosted: Sat Dec 23, 2017 10:07 am    Post subject: Reply with quote

That's
Code:
grub-install --target=x86_64-efi --efi-directory=/boot/efi

for this system, but yeah, either that or going for the stub kernel in the medium term.

Do I uninstall grub then after following this guide https://wiki.gentoo.org/wiki/EFI_stub_kernel?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2644

PostPosted: Sat Dec 23, 2017 12:10 pm    Post subject: Reply with quote

transsib wrote:
Do I uninstall grub then after following this guide https://wiki.gentoo.org/wiki/EFI_stub_kernel?
First check if your Gentoo EFI stub can boot alone, check if other systems you have installed on that computer can boot without grub. If everything ok, then grub may get wiped from the disk.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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