ubuntu 14.04.1 linuxcnc help

More
19 Dec 2015 03:55 #67142 by Razor_keen
Tim
I haven't had much computer time in the last few days. I'm hoping to have time tomorrow afternoon. It's always a little hectic around holidays. I apologize for holding things up on my end. I got as far as burning a disk with mint kde, mate, and cinnamon. I'm hoping I can test these three after work.

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

More
21 Dec 2015 10:40 - 21 Dec 2015 10:56 #67196 by tjmarch
Jason
I have made a change in the ISO you should re-download ISO again. The change that I made allows for just a sim install if user would like. I have also finished checking all the 32 bit installs. The ISO will work on Ubuntu 14.04.1 or 14.04.2 or 14,04.3 any flavor and Linux Mint 17.1 or 17.2 or 17.3 any flavor. 32-bit or 64-bit Ubuntu and Mint. On a updated OS the install takes about 5 min.
What I checked
Mint
Cinnamon (32-bit) & (64-bit)
KDE (32-bit) & (64-bit)
MATE (32-bit) & (64-bit)
Xfce (32-bit) & (64-bit)

Ubuntu 14.04.3
Ubuntu.desktop (32-bit) & (64-bit)
Ubuntu GNOME (32-bit) & (64-bit)
Kubuntu (32-bit) & (64-bit)
Lubuntu (32-bit) & (64-bit)
Xubuntu (32-bit) & (64-bit)

It is very easy to use LinuxCnc with both Rtai and Rt kernels if installed and switch is done correctly. ISO can be used multiple times without harm just un-install LinuxCnc before using again. I now have to work on the documentation that will be included.

Tim
Last edit: 21 Dec 2015 10:56 by tjmarch.

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

More
21 Dec 2015 21:58 #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
22 Dec 2015 00:30 #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
22 Dec 2015 01:42 - 08 Jan 2016 21:44 #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: 08 Jan 2016 21:44 by tjmarch.

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

More
22 Dec 2015 01:48 - 22 Dec 2015 01:48 #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: 22 Dec 2015 01:48 by tjmarch.

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

More
22 Dec 2015 04:08 - 10 Jan 2016 01:21 #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 Jan 2016 01:21 by tjmarch.

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

More
22 Dec 2015 23:33 #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.

More
23 Dec 2015 01:39 - 23 Dec 2015 02:01 #67253 by tjmarch
Jason I have pulled the ISO you cannot download again until this issue is resolved

To all concerned I have made a request to Canonical to make this ISO public on the Linuxcnc.org web site this was my request.

I have made a ISO to install Linuxcnc software it contains Deb files that I created and packages downloaded from Canonical IP to be used on a pre-installed operating system of Ubuntu 14.04 or Linux Mint 17. The install process of Linuxcnc only will take about 5 minutes. The ISO image must be mounted then a script file is run to install the needed packages that are contained in the image. If any packages that are still needed for the install due to flavor differences will download from Canonical Trusty repo. I am requesting permission to make this ISO public and for no personal gain on the Linuxcnc.org web site. ISO image will be free of charge and no gain for Linuxcnc.org.


Tim March
Last edit: 23 Dec 2015 02:01 by tjmarch.

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

More
23 Dec 2015 17:39 #67267 by Razor_keen
Tim,
I really wished I had more time to help. I'm seeing your post from my phone and if no one else says it, thank you.
Sorry I meant no offense by asking a change in the setup, I just meant some may have a preference, and may opt for both kernels for experimental purposes. Your instructions are very claer, however, that it may not matter.
I wished timing was better, again I apologize.

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

Time to create page: 0.304 seconds
Powered by Kunena Forum