Sharing files between two Linux partitions

akonstam at trinity.edu akonstam at trinity.edu
Mon Aug 29 00:49:10 UTC 2005


On Sun, Aug 28, 2005 at 01:52:14PM +0100, Paul Smith wrote:
> Dear All
> 
> I have two Linux partitions on my computer (but in different hard
> disks) and I would like to transfer some files from my Mandriva
> partition to my Fedora Core 4 partition. I have tried
> 
> mount /dev/hdb1 /mandriva
> 
> and I can access to the Mandriva partition, but my files in my home
> directory (in Mandriva) do not show up. I guess this problem is
> related with my permissions. Is there a different way of achieving my
> goal?
> 
> Thanks in advance,
> 
> Paul
This may be covered in other posting but if you login in such a way
that the Mandriva partition is your home partition and your userid is the
one that allows you to read the files you can use:
scp <files> <user-id on the other system>@<machine-name):/<directory
name>

and that should work. If nothing else works tar the files on one disk
and untar them on the other. Files can't just disappear short of they
are hidden files (name starts with .) or permissions don't let you see
them (but in this case I would expect a permission denied.

One other possibility is the operating system that created one
partition does not recognize the formatting done on the other
partition.
-- 

=======================================================================
"Yo baby yo baby yo."
-- Eddie Murphy
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484




More information about the fedora-list mailing list