I found out the hard way that it is not a good idea to select the kernel numerically (e.g. GRUB_DEFAULT="2>3") since if another kernel is added (by an update?) the order might change.
I now use the string method as below exclusively and have not had any surprises since. GRUB_DEFAULT="Previous Linux versions>Ubuntu, with Linux 3.4-9-rtai-686-pae" Kurt On Thu, Jan 5, 2017 at 3:32 PM, dave <dengv...@charter.net> wrote: > With some help from Kent this turns out to be not too onerous. > > Boot your system and on the boot menu note which kernel you want ( by > number ) starting with 0. > Ditto if you are in the alternate menu. > > #modify /etc/default/grub > > $cd /etc/default > sudo vim grub > change GRUB_DEFAULT=0 to GRUB_DEFAULT="n" or if in alternate menu > to GRUB_DEFAULT="2>n" > save and exit vim > > # or in main menu just GRUB_DEFAULT="count-1" > # in alternate menu = "line number of alternate menu in main > menu>count-1 in menu" > > #update grub.cfg > sudo update-grub > > #reboot > sudo shutdown -r now > > # or you can select the kernel like this by string. > #GRUB_DEFAULT="n>Ubuntu, with Linux 3.4-9-rtai-686-pae" > #where n is the entry you want (count -1). > > #For the original menu I think you can omit the n> and go with it. > #remember anytime you change /etc/default/grub you need to update grub. > Don't ask me > #how I know. > > Now it is up to someone good with good documentation skills to make > certain this is understandable and get it into the docs. > > HTH > > > > > On 01/03/2017 04:43 PM, Sebastian Kuzminsky wrote: > > On 01/03/2017 04:47 PM, dave wrote: > >> Re: > >> http://linuxcnc.org/docs/html/getting-started/getting- > linuxcnc.html#_installing_on_ubuntu_precise > >> > >> The instructions for the install are nicely done. I tried it both by > >> typing individual lines and by enclosing the block of instructions in > {}. > >> Seemed to work either way but no joy on uname -r | uname -a. > >> > >> Apparently grub does not get updated by the install and therefore one > >> boots into the ...generic. > >> I've pretty well worked my way thru grub but need to weed the list to a > >> generic, generic(recovery) and > >> rtai. Rtai comes up on a secondary list and I need to change that. > >> > >> Not complaining just a heads up. Nice to have it all laid out. > > If you figure out a clear way to describe the changes needed to the GRUB > > config, an update to the docs would be much appreciated! > > > > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- *Kurt Jacobson* MET Student - Southern Polytechnic College of Engineering Vice President - Kennesaw Nuclear Society Student Assistant - Center for Nuclear Studies Kennesaw State University | Marietta Campus Cell: 505-303-1933 - *NOTE:* Changed as of 12/1/16 E-mail: kurtjacob...@bellsouth.net ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users