Re: [Emc-users] rtai on 12.04 Ubuntu
Ah! Might change and probably will. Murphy and all his cousins are alive and well. Thanks for the comment. However, I update very sparselystill running on a 1200 Duron and 2.5? Clearly time to upgrade. ;-) My goal is to consistently make chips. Dave On 01/05/2017 05:15 PM, Kurt Jacobson wrote: > 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, davewrote: > >> 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 >> > -- > 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 -- 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
Re: [Emc-users] rtai on 12.04 Ubuntu
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, davewrote: > 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 > -- 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
Re: [Emc-users] rtai on 12.04 Ubuntu
2017-01-05 22:32 GMT+02:00 dave: > 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. > > I successfully used grub-customizer to change boot options (isolcpus etc.) an set defaults. Andrew -- 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
Re: [Emc-users] rtai on 12.04 Ubuntu
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, davewrote: > 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
Re: [Emc-users] rtai on 12.04 Ubuntu
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
Re: [Emc-users] rtai on 12.04 Ubuntu
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! -- Sebastian Kuzminsky -- 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
Re: [Emc-users] rtai on 12.04 Ubuntu
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. Dave -- 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