Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub sits on kernel selection screen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Sun May 08, 2016 9:26 am    Post subject: Grub sits on kernel selection screen Reply with quote

One of my laptops sits on the kernel selection screen in grub whenever it is rebooted. It says the selected kernel will be automatically booted in 2 seconds but those seconds never count down like they do on my other systems. I think there is an infinite loop involved because the system gets hot and the fans start working hard if it sits on that screen for a long time. Pretty strange. I'm using grub-2.02_beta2-r9. Any ideas?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Mon May 09, 2016 6:12 am    Post subject: Reply with quote

  • boot from http://www.system-rescue-cd.org using the »boot an installed system« option
  • re-install grub using grub2-install
  • refresh the boot menu using grub2-mkconfig
  • reboot
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Mon May 09, 2016 8:31 am    Post subject: Reply with quote

You nailed it, thank you!

EDIT: Technically, should I be mounting /boot and running grub2-install and grub2-mkconfig every time sys-boot/grub is updated?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Mon May 09, 2016 9:21 am    Post subject: Reply with quote

grant123 wrote:
EDIT: Technically, should I be mounting /boot and running grub2-install and grub2-mkconfig every time sys-boot/grub is updated?

See the inherited mount-boot eclass. Also, you should have seen some interesting messages about mounting /boot when you emerged grub.
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Mon May 09, 2016 9:52 am    Post subject: Reply with quote

charles17 wrote:
grant123 wrote:
EDIT: Technically, should I be mounting /boot and running grub2-install and grub2-mkconfig every time sys-boot/grub is updated?

See the inherited mount-boot eclass. Also, you should have seen some interesting messages about mounting /boot when you emerged grub.


Yes but mounting aside, should I run grub2-install/grub2-mkconfig whenever the grub package is updated?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Mon May 09, 2016 10:25 am    Post subject: Reply with quote

grant123 wrote:
Yes but mounting aside, should I run grub2-install/grub2-mkconfig whenever the grub package is updated?

If you did, it shouldn't do any harm. Bus as I understand grub2-install is automatically run by the eclass and grub2-mkconfig should not need refresh/update when only grub is updated.
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Mon May 09, 2016 12:20 pm    Post subject: Reply with quote

charles17 wrote:

If you did, it shouldn't do any harm. Bus as I understand grub2-install is automatically run by the eclass and grub2-mkconfig should not need refresh/update when only grub is updated.


I'm pretty sure grub2-install isn't run when grub is emerged. Today I realized grub2 has been my only installed version for years and yet I was still booting with legacy grub.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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