LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2016, 07:52 AM   #1
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 610

Rep: Reputation: 254Reputation: 254Reputation: 254
Grub menu does not show new kernels


Installed Slack64-14.2 on a new disk after a crash. Install was on a gpt partitioned disk and installed grub into an ef02 partition on /dev/sda1. Rebooted and got an very ugly, large font boot menu but it booted the 4.4.29 kernel. I upgraded to Slack64-current and restored all of my backed up data, settings, etc. Downloaded and built the 4.4.32 kernel, ran grub-mkconfig -o /boot/grub/grub.cfg and got -

root@missi:/boot/grub$ grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-huge-4.4.29
Found linux image: /boot/vmlinuz-huge
Found linux image: /boot/vmlinuz-generic-4.4.29
Found linux image: /boot/vmlinuz-generic
Found linux image: /boot/vmlinuz-4.4.32
Found Slackware Linux (Slackware 14.2) on /dev/sda2
done

Rebooted to get to new kernel but Grub just showed the same ugly menu with the same two entries for Slackware Linux (Slackware 14.2)

Kompared all of the files in /etc/grub.d with the backed up ones and all are identical. Where is grub getting this bogus data? Here's a link to my grub.cfg file -


http://pastebin.com/WxQWL9hn

Can anyone tell me where grub is getting the bogus menu data?? Thanks in advnace
 
Old 11-17-2016, 01:05 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,431

Rep: Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090
Your bootinfoscript output clearly shows multiple entries in grub.cfg for the 4.4.32 kernel so you should see them if you arrow down on the menu. Can't think of any reason they would not show since you only have Slackware installed. Not sure what you mean by the 'ugly menu'?
 
Old 11-18-2016, 02:25 AM   #3
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 610

Original Poster
Rep: Reputation: 254Reputation: 254Reputation: 254
Yes, can't figure it out. There are just two choices listed - Slackware 14.2 and Slackware 14.2 safe mode. No scrolling to be done. Anyone else have any suggestions??? By ugly menu I just mean that the font is quite large and a bit jagged. No pleasant to look at.
 
Old 11-18-2016, 07:42 AM   #4
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 610

Original Poster
Rep: Reputation: 254Reputation: 254Reputation: 254
Discovered by accident that if I pick the grub menu item that normally is for the safe booting I get a list of available kernels instead and can boot 4.4.32. The font still looks like it would be home on the screen of the old Pong game that you could hook up to your TV a half century ago.
 
Old 11-18-2016, 07:50 AM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,515

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
It may have something to with this from your other thread.
Quote:
I had been using an efi boot and just decided to go with a boot partition this time and put grub on it
Are you mixing efi with legacy boot? Most likely the grub.cfg you created is in the wrong location
 
Old 11-18-2016, 08:02 AM   #6
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 610

Original Poster
Rep: Reputation: 254Reputation: 254Reputation: 254
Just had my Homer Simpson moment. Simple solution to the font problem. Went into /etc/default/grub and un-commented the line for 1024x768x32. DOOOOOOH

Now just have to get rid of the duplication in the grub boot menu. I think there is something to be done in /etc/grub.d/30_os-prober or one of the other files.
 
Old 11-18-2016, 08:11 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by 3rensho View Post
Installed Slack64-14.2 on a new disk after a crash. Install was on a gpt partitioned disk and installed grub into an ef02 partition on /dev/sda1. Rebooted and got an very ugly, large font boot menu but it booted the 4.4.29 kernel. I upgraded to Slack64-current and restored all of my backed up data, settings, etc. Downloaded and built the 4.4.32 kernel, ran grub-mkconfig -o /boot/grub/grub.cfg and got -

root@missi:/boot/grub$ grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-huge-4.4.29
Found linux image: /boot/vmlinuz-huge
Found linux image: /boot/vmlinuz-generic-4.4.29
Found linux image: /boot/vmlinuz-generic
Found linux image: /boot/vmlinuz-4.4.32
Found Slackware Linux (Slackware 14.2) on /dev/sda2
done

Rebooted to get to new kernel but Grub just showed the same ugly menu with the same two entries for Slackware Linux (Slackware 14.2)

Kompared all of the files in /etc/grub.d with the backed up ones and all are identical. Where is grub getting this bogus data? Here's a link to my grub.cfg file -


http://pastebin.com/WxQWL9hn

Can anyone tell me where grub is getting the bogus menu data?? Thanks in advnace
what do you mean the same old uggly menu?
it just saying Slackware without indicating a new kernel?
 
Old 11-18-2016, 08:13 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by 3rensho View Post
Just had my Homer Simpson moment. Simple solution to the font problem. Went into /etc/default/grub and un-commented the line for 1024x768x32. DOOOOOOH

Now just have to get rid of the duplication in the grub boot menu. I think there is something to be done in /etc/grub.d/30_os-prober or one of the other files.
delete it, delete everything(if you want to). then just reinstall grub and do their command to update grub. then it is just like new again. Just do not reboot before you do that.
 
Old 11-18-2016, 08:14 AM   #9
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 610

Original Poster
Rep: Reputation: 254Reputation: 254Reputation: 254
Just fixed the duplicate entries. Added GRUB_DISABLE_OS_PROBER=true to the /etc/default/grub file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
windows 7 wont show in grub menu :/ sevengreen7 Linux - Software 15 12-05-2013 03:37 PM
GRUB does not start nor show a menu malloc Gentoo 1 07-02-2013 08:27 PM
GRUB does not show windows in boot menu mansoor323 Linux - Newbie 1 09-11-2009 10:31 PM
Why kernel didn't show in GRUB menu? yzhong Linux - Newbie 1 11-27-2008 05:31 PM
Why does my grub show me both kernels at startup? Santorres Linux - Newbie 2 06-28-2003 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration