no linuxcnc start scripts after new installation
Running from the Live CD works well. All CNC Applications are actually there and can be started. But if I install Ubuntu on the hard drive the application menu “CNC” doesn’t exist and the /usr/bin folder contains no linuxcnc scripts.
Installing from the same CD on another system works just fine. All files are there as expected. But this is my new hardware I bought because of latency troubles with the other system.
The main board is included in the list “hardware that works”:
main board: Asus P5G41-M
graphic card: VERTEX3D Radeon HD5450
hard drive: some Intel SSD
Can somebody help me with this issue?
Please Log in or Create an account to join the conversation.
Sorry I am confused.
Are you installing Ubuntu 10.04 and then trying to install LinuxCNC 2.5, or are you using the LinuxCNC LiveCD and installing Ubuntu 10.04 with LinuxCNC 2.4.7?
You need to install from the LiveCD first, then upgrade to 2.5 if you want to, as per the instructions on the homepage.
There should be no reason the LinuxCNC LiveCD would not install LinuxCNC on your new system ( unless "some Intel SSD" is very small and it ran out of room?)
regards
PS
From a terminal run
ls -l -R /usr/bin > /tmp/install.txt && ls -l -R /usr/realtime-2.6.32-122-rtai >> /tmp/install.txt && ls -l -R /lib/modules/ >> /tmp/install.txt && zip /tmp/install.zip /tmp/install.txt
and post the resultant /tmp/install.zip and I can compare it to a fresh install system and see what is missing
Please Log in or Create an account to join the conversation.
You need to install from the LiveCD first, then upgrade to 2.5 if you want to, as per the instructions on the homepage.
The current 10.04 LiveCD has LinuxCNC v2.5.0 so no need to do anything after installing it.
John
Please Log in or Create an account to join the conversation.
Still no reason it would fail to install LinuxCNC on one machine and not another, unless it aborted abnormally through lack of disk space or similar.
Post your zip and we will be able to see exactly what was installed
regards
Please Log in or Create an account to join the conversation.
Would Ubuntu even work if there is not enough disk space?
John
Please Log in or Create an account to join the conversation.
In fact John it is not clear to me that the LiveCD has 2.5 on it
This is a paste of the Home Page entry and it doesn't say that, whereas 2.4.7 does mention the live CD
I still read it as 2.5 being a package upgrade from the 2.4.7 LiveCD install
LinuxCNC 2.5.0 Release
New major release (changelog).
See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
LinuxCNC 2.4.7 Release
Fresh bugfix release (changelog).
See the download page to download the LiveCD.
Or you can download the source here.
It can't be my cache being out of date because I am accessing from a new install I put in
to check schuhmann's directory listings against
regards
Please Log in or Create an account to join the conversation.
Would Ubuntu even work if there is not enough disk space?
It could do if Linuxcnc was the last package in the list and there wasn't enough room to install it
That would still leave a little disk space spare.
(It wouldn't even have to be last, so long as the base system was installed and the package that failed and
aborted install, left enough space for the system to initialise)
It's just a speculation based on what little info there is
regards
Please Log in or Create an account to join the conversation.
Installing LinuxCNC
The LinuxCNC team now has custom Live-CDs based on Ubuntu:
10.04 Lucid Lynx/LinuxCNC v2.5 (current),
8.04 Hardy Heron (older)
6.06 Dapper Drake (not supported anymore)
The news column seemed to be OK to me.
John
Please Log in or Create an account to join the conversation.
I’m using the Live CD doing the standard procedure for installing on hard drive.
I just loaded the “ubuntu-10.04-linuxcnc2-i386.iso” image again from the main mirror, to make sure I got the right one. And tried it once again. The Result was the same. So I run your script (thanks btw).
The output was:
“Zugriff auf /usr/realtime-2.6.32-122-rtai nicht möglich: Datei oder Verzeichnis nicht gefunden“
Sorry it’s German (because I’m German ).
It tells that there is no /usr/ realtime-2.6.32-122-rtai File not found.
So I checked the /var/log/installer logs and did the installation again. This time in English, so I can show it here.
In syslog it says at line 1254: Removing linuxcnc ...
And right before that: Removing linux-headers-2.6.32-122-rtai ...
(logs attached)
Regards
Please Log in or Create an account to join the conversation.
Incidently it shows that Linuxcnc 2.4 not 2.5 was sourced from the repositories
May 16 11:43:19 ubuntu in-target: Get:1 http://www.linuxcnc.org lucid Release.gpg [198B]
May 16 11:43:19 ubuntu in-target: Ign http://www.linuxcnc.org/emc2/ lucid/base Translation-en_US
May 16 11:43:19 ubuntu in-target: Ign http://www.linuxcnc.org/emc2/ lucid/emc2.4 Translation-en_US
May 16 11:43:19 ubuntu in-target: Get:2 http://www.linuxcnc.org lucid Release [10.0kB]
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/base Packages
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/emc2.4 Packages
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/base Sources
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/emc2.4 Sources
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/base Packages
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/emc2.4 Packages
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/base Sources
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/emc2.4 Sources
May 16 11:43:20 ubuntu in-target: Get:3 http://www.linuxcnc.org lucid/base Packages [5,935B]
May 16 11:43:21 ubuntu in-target: Get:4 http://www.linuxcnc.org lucid/emc2.4 Packages [2,772B]
May 16 11:43:21 ubuntu in-target: Get:5 http://www.linuxcnc.org lucid/base Sources [2,195B]
May 16 11:43:21 ubuntu in-target: Get:6 http://www.linuxcnc.org lucid/emc2.4 Sources [1,975B]
May 16 11:43:21 ubuntu in-target: Fetched 23.1kB in 2s (9,953B/s)
More importantly then ubiquity decides to remove the rtai kernel and all the linuxcnc files and replace with the stock Ubuntu 10.04 kernel
May 16 11:48:06 ubuntu ubiquity: 155319 files and directories currently installed.)
May 16 11:48:06 ubuntu ubiquity: Removing linux-headers-2.6.32-122-rtai ...
May 16 11:48:07 ubuntu ubiquity: Removing linuxcnc ...
May 16 11:48:07 ubuntu ubiquity: Purging configuration files for linuxcnc ...
May 16 11:48:07 ubuntu ubiquity: Removing rtai-modules-2.6.32-122-rtai ...
May 16 11:48:07 ubuntu ubiquity: Purging configuration files for rtai-modules-2.6.32-122-rtai ...
May 16 11:48:07 ubuntu ubiquity: Removing linux-image-2.6.32-122-rtai ...
May 16 11:48:07 ubuntu ubiquity: WARN: Proceeding with removing running kernel image.
May 16 11:48:07 ubuntu ubiquity: Running postrm hook script /usr/sbin/update-grub.
May 16 11:48:08 ubuntu ubiquity: Generating grub.cfg ...
May 16 11:48:09 ubuntu ubiquity: Found linux image: /boot/vmlinuz-2.6.32-41-generic-pae
May 16 11:48:09 ubuntu ubiquity: Found initrd image: /boot/initrd.img-2.6.32-41-generic-pae
May 16 11:48:09 ubuntu ubiquity: Found memtest86+ image: /boot/memtest86+.bin
It also showed various errors relating to ubiquity being unable to resolve host 'ubuntu' near the end, but my syslog has that too.
I will have to run diff on the 2 syslog files to try to see if there is an obvious trigger log event.
This is probably what causes the problem
May 16 11:46:58 ubuntu ubiquity: Selecting previously deselected package linux-image-2.6.32-41-generic-pae.
As soon as that happens, dpkg will purge all the conflicting files and dependencies, ie 2.6.32-122-rtai kernel and all of linuxcnc.
The question is WHY does it revert to the stock kernel?
The only thing that caught my eye so far, is that in the partman log, you chose to format your partition ext4, whereas I always use ext2.
Just wondering if ubiquity thinks the stock kernel is the only one supporting ext4?
Do you fancy having another go, formatting your partition ext2 and re-installing whilst I compare the logs further ?
regards
Please Log in or Create an account to join the conversation.