LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2004, 07:34 PM   #1
ylkien
LQ Newbie
 
Registered: May 2004
Posts: 16

Rep: Reputation: 0
Transfer files from partition


Hi,

i have 1 hard disk, and there are 2 partitions (hda1 and hda6). I can see them when i type "df". How do i transfer files from partition hda6 to hda1? I tried looking in the folder "dev" and can't figure out.


thanks.
 
Old 09-10-2004, 07:37 PM   #2
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
The partitions need to be mounted somewhere for you to be able to access to them. If they're showing up in df then they must be mounted, so look on the far right column of the df output to see what directory they're mounted on.

For example, here's on of my systems:

Code:
/dev/hda7             28209532  10437636  16338900  39% /
/dev/hda1             28898080   6661280  20768864  25% /home
/dev/hdb1            115377640  87424512  22092216  80% /home/share/backup
/dev/hdc1            240362656 169530520  58622336  75% /home/share/media
There you can see that /dev/hda1 is mounted as /home.

Last edited by dsegel; 09-10-2004 at 07:39 PM.
 
Old 09-10-2004, 07:41 PM   #3
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
Almost forgot - you can use the 'mv' command to move the files, or 'cp' to copy them. Syntax is like DOS:

cp src dest

ex: cp /home/file1 /mnt/gentoo/

copies the file named 'file1' in the /home directory to the /mnt/gentoo directory.
 
Old 09-13-2004, 02:37 PM   #4
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
you can access it by mounting them but it depends on what is in
(hda1 and hda6) if it is micro$oft window$ you can mount it by

mount -t vfat /dev/hda1 /mnt/windows

assuming that windows is in hda1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How transfer files? zpxykm Linux - Newbie 4 11-24-2005 03:03 AM
Can't Transfer Files derek-888 Linux - General 9 11-29-2003 12:41 PM
how do I transfer files dogma Linux - Newbie 5 05-27-2003 06:11 PM
Transfer files ust Linux - General 1 04-10-2003 07:19 AM
Best Way to Transfer Files? Cynthia Blue Linux - Newbie 20 12-14-2002 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration