Try this :
ls -al /boot
You will see a few files with the name vmlinuz-2.x.xx.........   these 
are the Linux kernels - the actual heart of the operating systems.  The 
string of numbers following the vmlinuz is the OS version number.  It 
looks like BDI used a 2.6.12 kernel (mine is 2.6.12.6-magma to be precise)
If you don't see any files like that, it means your kernel is either on 
the /dev/sda5 partition or just gone.

If not a Linux guru, I would not recommend trying to muck about in the 
grub/menu.lst file to resurrect the BDI OS unless you had a really 
strong reason.  So, option 3 is probably the best.

So,  open a terminal window and type :

sudo mkdir /mnt/olddisk
(you may need to give your user password here)
sudo mount /dev/sda5 /mnt/olddisk

You should now be able to see your old BDI file system with commands like :

ls /mnt/olddisk/<directory>

You can copy stuff from old to new with commands like :
cd <new directory>
cp /mnt/olddisk/<some dir>/<some file>  .

Note Linux doesn't actually like spaces in file names, so if any file or 
directory names have spaces in them, the whole path has to be enclosed 
in quotes.  You can copy entire directories with :

cp /mnt/olddisk/xyz/* .

Which will copy all the files in the /xyz directory on the old partition 
to the current directory on the new partition.

There are also utilities like tar that can assemble many files and 
directories into one file (called an archive) for, well, archiving.
cp can also be made to copy trees of many directories from one place to 
another.

Jon
---------------------------------------------------------------------------

Hello Jon

>From 'ls -al /boot' got the following:

[EMAIL PROTECTED]:~$ ls -al /boot
total 15448
drwxr-xr-x  3 root root    4096 2008-10-26 15:57 .
drwxr-xr-x 21 root root    4096 2008-10-26 15:57 ..
-rw-r--r--  1 root root   78002 2008-04-13 16:59 config-2.6.24-16-rtai
drwxr-xr-x  2 root root    4096 2008-10-26 15:57 grub
-rw-r--r--  1 root root 7037544 2008-10-26 15:57 initrd.img-2.6.24-16-rtai
-rw-r--r--  1 root root 6589102 2008-04-24 21:31
initrd.img-2.6.24-16-rtai.bak
-rw-r--r--  1 root root  103204 2007-09-28 12:06 memtest86+.bin
-rw-r--r--  1 root root  755675 2008-04-13 16:59 System.map-2.6.24-16-rtai
-rw-r--r--  1 root root 1186608 2008-04-13 16:59 vmlinuz-2.6.24-16-rtai
[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.
I've checked a few things like sda5 ... says '/dev/sda5 is already mounted
on /mnt/olddisk'.
Some more help please.
Best wishes from a stormy SA
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to