-----Original Message-----
From: Dave Houghton [mailto:[EMAIL PROTECTED] 
Sent: 06 November 2008 04:41 PM
To: 'Enhanced Machine Controller (EMC)'
Subject: Re: [Emc-users] Partition problem



-----Original Message-----
From: Jon Elson [mailto:[EMAIL PROTECTED] 
Sent: 06 November 2008 04:50 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Partition problem

Dave Houghton wrote:
>
> >From 'ls -al /boot' got the following:
>
> [EMAIL PROTECTED]:~$ ls -al /boot
>   
<snip>
> w-r--r--  1 root root 1186608 2008-04-13 16:59 vmlinuz-2.6.24-16-rtai
>   
OK, that is definitely NOT your BDI kernel, but it must be an 8.04 
kernel.  I don't have that running here.
This is pretty much what we expected.  If you were to mount sda1 onto 
/mnt/olddisk and look in the /mnt/olddisk/boot directory, you would 
likely find your BDI kernel, with a lower version number, probably 2.6.12
> [EMAIL PROTECTED]:~$
>
> Now with 'ls /mnt/olddisk' I get some directories - boot, dev, home
> etc...all in pretty colours. 
>
> Now with 'ls /mnt/olddisk/home/dave  I get some more directories one of
> which is emc2.
> I'm confused now - why is emc2 in the olddisk, I really did not expect to
> see emc2.
>   
This is everything that was part of the EMC2 install that was on your 
BDI system.  So, of course, it has your OLD emc directory.
You have TWO COMPLETE, but DIFFERENT file systems on your hard drive, in 
different partitions.  One is old, from the BDI system (sda1) and one is 
newer, from your Ubuntu system (sda5).  Much of what is on the old 
partition is obsolete.  the only thing in the emc2 directory that might 
be useful is the ini file that you actually used on your machine.  Don't 
just copy it over, as a lot of stuff has changes, such as the 
introduction of HAL  But, you might want to print out a copy of it to 
save the variables you set up for your machine.  Any CNC files for parts 
you might want to make again, or any other custom software or G-code 
shoudl be copied over to your user directory on the Ubuntu system.
> I've checked a few things like sda5 ... says '/dev/sda5 is already mounted
> on /mnt/olddisk'.
>   
I thought sda5 would be your Ubuntu system's main directory tree.  I 
would have expected it to be mounted to /, not /mnt/olddisk.
But, maybe it is /dev/sda2 that is the Ubuntu main file system.
If you just type
ls /

You will see a simlar directory tree, and it will ALSO have an emc2 
directory, that is your NEW EMC2 directory as part of the Ubuntu install.
They will have almost exactly the same file names, but some will have 
newer dates - those would be the files updated since the BDI.

You can find out what is mounted where by looking at /etc/fstab, with a 
command like :
more /etc/fstab

The first column is usually the /dev/xxx partition id, although it can 
also be the volume label of the FS.  The second column is the mount 
point, like /mnt/olddisk, or / for the system's main file system.

Jon


Hello Jon

I think I may have confused you, or at least I am.
EMC2 was installed along with Ubuntu from the "live CD" a couple of weeks
ago. (This is great runs well - no problems):-) 
BDI/EMC was installed a few months back from the "Sherline CD" it was the
old EMC not the new EMC2.
Does that make more sense, or am I really lost.

Some more help please Jon
Regards 
Dave
Hey I can use a slide rule!    


Hi Jon
Since the above I've done the following:
Mounted sda1,sda2,sda3,sda4, sda5 & sda6 in turn and use 'ls /mnt/olddisk'
for each sda# to see what is there.

sda2 - This is my old Sherline/EMC install because I found my 'gcode' file
and 'vmlinuz 2.2.6.16.20-rtai'
sda3 - says "looks like swapspace - not mounted"
        "mount: you must specify the file system type"
sda4 - says "mount: you must specify the filesystem type"

sda5 - EMC2 latest Ubuntu/EMC2 download

sda6 - says "looks like swapspace - not mounted"
        "mount: you must specify the file system type"

sda1 - [EMAIL PROTECTED]:~$ sudo mount /dev/sda1 /mnt/olddisk
        [sudo] password for dave: 
        mount: /dev/sda1 already mounted or /mnt/olddisk busy
        mount: according to mtab, /dev/sda1 is already mounted on
/mnt/olddisk
        [EMAIL PROTECTED]:~$ ls mnt/olddisk/
        ls: cannot access mnt/olddisk/: No such file or directory

sda1 seems to have a lot to say, I'm not sure what it all means.

So where should I go from here, I'm quite happy now I think I know what
happening. I just want to keep EMC2/Ubuntu8.04 on my computer, that was
loaded from the "live CD". Which bits can I delete.

Thanks 
Dave 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to