Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2013, 05:24 AM
ericjs ericjs is offline
Member
 
Join Date: Aug 2013
Posts: 40
Thanks: 5
Thanked 0 Times in 0 Posts
Default invisible menu entries in grub.cfg
As described in another posting (http://forums.pcbsd.org/showthread.php?t=20663) I had some issues with beadm creating BEs that never appeared in the boot menu. I've since moved on and used zfs destroy to get rid of both the snapshots and the clones from these.

But now, I happened to be looking at /boot/grub/grub.cfg for unrelated reasons, and I find that there are in fact submenus and menu entries in there for these attempted BEs.

Can anyone tell me why they might not show up? How do I get rid of them? The file says quite clearly:

# DO NOT EDIT THIS FILE
Reply With Quote
  #2  
Old 09-19-2013, 01:06 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 2,513
Thanks: 19
Thanked 444 Times in 360 Posts
Default
You might need to re-run the Grub generation process to flush the old menu entries. You can do that in the PC-BSD Control Panel -> Boot Manager -> Emergency Services -> Rebuild Grub Menu. If that doesn't do it, then you probably still have some remnants of the old BE's hanging around your system somewhere.
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #3  
Old 09-19-2013, 03:05 PM
ericjs ericjs is offline
Member
 
Join Date: Aug 2013
Posts: 40
Thanks: 5
Thanked 0 Times in 0 Posts
Default
Thanks, I will try that. Any idea what can cause whole submenus and their entries simply not appear in the boot menu?
Reply With Quote
  #4  
Old 09-19-2013, 03:23 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 2,513
Thanks: 19
Thanked 444 Times in 360 Posts
Default
I think that if Grub can't find the main entry point for the menu (the BE) then it won't show the menu either. I am not a GRUB expert though, so perhaps someone else might have more insight.
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #5  
Old 09-20-2013, 08:34 AM
ericjs ericjs is offline
Member
 
Join Date: Aug 2013
Posts: 40
Thanks: 5
Thanked 0 Times in 0 Posts
Default
Rebuild Grub Menu did indeed get rid of those submenus.

I then proceeded to try making some new BEs, this time using this same graphical Boot Manager tool instead of beadm. These new BEs get added to the grub.cfg as expected.

However, just as with my previous problem with beadm, these do not actually show up in the boot menu displayed when I boot. Only the first two do.

bmss.jpg

Does no one else have this problem with BEs?

The very first BE I made worked...in fact it's the one I always boot because the default got f-ed up by an attempt to upgrade to 9.2. Note in the screenshot Boot Manager thinks it is the default. However when I actually boot it is NOT the default in the boot menu, "default" is the default and unless I down arrow to the one that works, it boots me into the broken "default".

Also, should the mount point be "-" for these new BEs?

FWIW: this is 9.1-RELEASE-p18
and
pcbsd-utils-qt4-1378474934
Reply With Quote
  #6  
Old 09-20-2013, 09:08 AM
ericjs ericjs is offline
Member
 
Join Date: Aug 2013
Posts: 40
Thanks: 5
Thanked 0 Times in 0 Posts
Default
I wonder, if the cause of these problems is that the active BE ('beforeupdate9_1to9_2') is itself a clone of a snapshot of BE 'default'? And these subsequent BEs are clones of snapshots of this clone? Do beadm and Boot Manager simply not know how to handle that situation?

My intention is to eventually zfs promote 'beforeupdate9_1to9_2' and get rid of the broken 'default', but I have been afraid to try this, when these simple, basic BE actions don't work in ways no one seems able to explain.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:24 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.