ubuntu 14.04.1 linuxcnc help

More
10 years 10 months ago #67222 by Todd Zuercher
So are you guys ready to share a link to your nifty little installation tool yet?

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #67224 by Razor_keen
Ive gotten a little face time to day and ran the iso, downloaded the new one and ran that as well on edubuntu, just to continue the exploration of compatibility. it went really well. like you said it took about five minutes and everything was installed.
I was looking for the .sh file. I glanced for about a minute, but is it similarly titled like in previous .sh files we've experimented with?
The install was very clean, the extra files are now longer present in the home folder.
There was no option if installing both kernels as to which to compile linuxcnc with. Might be an additional thing to consider. The script chose the rtai kernel to compile linuxcnc with.
Im sure you dont mind me making minor tweaks, right?
Sorry ive been a bit scarce. Its typical though, I can never get time to myself when I want it..

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago - 10 years 9 months ago #67225 by tjmarch
Jason
If you choose to load both kernels the deb files will be present in home folder. You are correct when both kernels are loaded the script defaults to Rtai for lcnc install. If you want to use the Rt kernel, (takes about 2 min) there is no need to compile
open Terminal and

sudo dpkg -r linuxcnc <will un-install linuxcnc for Rtai kernel

then use gdebi

sudo gdebi -n linuxcnc-uspace_2.7.3_Rt_i386.deb <will install linuxcnc for Rt, need a internet connections the first time you do this

Open Grub-Coustomizer

Now click the "General Setting" tab
Click on choice box to the right of predefined
In drop down menu choose 3.2.0-0.bpo.4-rt-686-pae for default system boot
Making sure you do not choose (recovery mode) option for your kernel

Then reboot

If you want to go back to using Rtai kernel, (takes about 2 min) there is no need to compile
open Terminal and

sudo dpkg -r linuxcnc-uspace <will un-install linuxcnc for Rt kernel

then use gdebi

sudo gdebi -n linuxcnc_2.7.3_rtai_i386.deb <will install linuxcnc for Rtai

Open Grub-Coustomizer

Now click the "General Setting" tab
Click on choice box to the right of predefined
In drop down menu choose 3.4-9-rtai-686-pae for default system boot
Making sure you do not choose (recovery mode) option for your kernel

Then reboot


Tim
PS note this whole process you never compile Linuxcnc even when first load from ISO
Last edit: 10 years 9 months ago by tjmarch.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago - 10 years 10 months ago #67226 by tjmarch
Todd Zuercher wrote

So are you guys ready to share a link to your nifty little installation tool yet?


I need to make a short document about installation. Please allow me a little time, I am currently working 10 hours a day with my job 7 days a week. Trying to go as fast as I can.

Tim
Last edit: 10 years 10 months ago by tjmarch.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago - 10 years 9 months ago #67229 by tjmarch
Jason
I do not think anything needs to be changed with install process please read on farther. I know we talked about adding a file about latency which can be done at a anytime because we are still in control of content of ISO
I have made a install_note.txt , if txt file makes sense to you I was thinking of making ISO available

Contents of txt file are

To best use this file view in a basic text editor
in full screen
such as
gedit or mousepad or pluma

a word processor will line wrap and trying to copy and paste is faulty

To use ISO for install of Linuxcnc 2.7.3 on a pre-installed updated OS

only works on

Linux Mint 17.1 or 17.2 or 17.3 any flavor

Cinnamon (32-bit) or (64-bit)
KDE (32-bit) or (64-bit)
MATE (32-bit) or (64-bit)
Xfce (32-bit) or (64-bit)


Ubuntu 14.04.1 or 14.04.2 or 14,04.3 any flavor

Ubuntu.desktop (32-bit) or (64-bit)
Ubuntu GNOME (32-bit) or (64-bit)
Kubuntu (32-bit) or (64-bit)
Lubuntu (32-bit) or (64-bit)
Xubuntu (32-bit) or (64-bit)
Edubuntu (32-bit) or (64-bit)

32-bit kernels available
3.2.0-0.bpo.4-rt-686-pae <Rt-preempt - source Debian Squeeze repository
3.4-9-rtai-686-pae <Rtai- source Linuxcnc repository

64-bit kernel available
3.2.0-0.bpo.4-rt-amd64 <Rt-preempt - source Debian Squeeze repository

Place lcncInstall.iso in home directory then
open terminal

sudo su -
mkdir -p /mnt/disk;mount -o loop /home/`who | cut -d' ' -f1 | sort | uniq`/lcncInstall.iso /mnt/disk;/mnt/disk/install.sh;umount /mnt/disk -l

Follow direction displayed in Terminal


If you choose to install Sim only 32-bit or 64-bit, sim install dose not install a new kernel
but now you want to install realtime kernel or kernels
open Terminal

sudo dpkg -r linuxcnc-uspace <will un-install linuxcnc for Sim

Then need to use ISO again

sudo su -
mkdir -p /mnt/disk;mount -o loop /home/`who | cut -d' ' -f1 | sort | uniq`/lcncInstall.iso /mnt/disk;/mnt/disk/install.sh;umount /mnt/disk -l

Follow direction displayed in Terminal

NOTE: for sim install no reboot is required, but menu items will most likely be in category Other
after you you log out of system then back in or a reboot menu items will then be in CNC


If you choose to load both kernels the deb files will be present in home folder.
The script defaults to Rtai for install of Linuxcnc if both kernels are installed.
If you want to use the Rt kernel, (takes about 2 min)
open Terminal and

sudo dpkg -r linuxcnc <will un-install linuxcnc for Rtai kernel

then use gdebi

sudo gdebi -n linuxcnc-uspace_2.7.3_Rt_i386.deb <will install linuxcnc for Rt, need a internet connections the first time you do this

Find Grub-Coustomizer in start menu
Open Grub-Coustomizer
Now click the "General Setting" tab
Click on choice box to the right of predefined
In drop down menu choose 3.2.0-0.bpo.4-rt-686-pae for default system boot
Making sure you do not choose (recovery mode) option for your kernel

Then reboot

If you want to go back to using Rtai kernel, (takes about 2 min)
open Terminal and

sudo dpkg -r linuxcnc-uspace <will un-install linuxcnc for Rt kernel

then use gdebi

sudo gdebi -n linuxcnc_2.7.3_rtai_i386.deb <will install linuxcnc for Rtai

NOTE you will see a error it is not a problem linuxcnc is not happy with the current booted kernel

Find Grub-Coustomizer in start menu
Open Grub-Coustomizer
Now click the "General Setting" tab
Click on choice box to the right of predefined
In drop down menu choose 3.4-9-rtai-686-pae for default system boot
Making sure you do not choose (recovery mode) option for your kernel

Then reboot
If you only choose to install one 32-bit kernel but now what to install the other
You must install both kernels , deb files will only be available in home directory if you choose to install both kernels
The script defaults to Rtai for install of Linuxcnc if both kernels are installed.
Re-install of kernel that is already installed will not hurt anything.
But first you need to un-install Linuxcnc

To un-install Linuxcnc on Rtai
open Terminal

sudo dpkg -r linuxcnc <will un-install linuxcnc for Rtai kernel

or

To un-install Linuxcnc on Rt
open Terminal

sudo dpkg -r linuxcnc-uspace <will un-install linuxcnc for Rt kernel

Then if booted into Rtai or Rt kernel
use of ISO is a little different

sudo su -
modprobe loop
mkdir -p /mnt/disk;mount -o loop /home/`who | cut -d' ' -f1 | sort | uniq`/lcncInstall.iso /mnt/disk;/mnt/disk/install.sh;umount /mnt/disk -l

Follow direction displayed in Terminal


NOTE
If you installed Linuxcnc for Rt kernel you can run linuxcnc booted into a generic or Rtai kernel in sim mode only
With Rtai install if not in Rtai kernel and trying to run linuxcnc you will get error message on screen

It is always good to check what kernel you are booted into to do this
open Terminal

uname -r

Another good check for Linuxcnc Rt kernel install
start linuxcnc from Terminal
open Terminal

linuxcnc

Choose and run a configuration

if you are in sim only mode you will see in Terminal

Note: Using POSIX non-realtime

if you are booted into Rt kernel you will see in Terminal

Note: Using POSIX realtime


Tim
I have to update ISO to include this txt file
I also will start working on latency doc I will most likely make it a pdf
Last edit: 10 years 9 months ago by tjmarch.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #67249 by tjmarch
I have updated ISO to contain install_note.txt as described in previous post also added empty file called latency.pdf

Tim

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum