Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Transfer files from partition


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.

Old 09-10-2004, 08:37 PM   #2
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:

/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 08:39 PM.
Old 09-10-2004, 08:41 PM   #3
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, 03:37 PM   #4
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:03 AM
Can't Transfer Files derek-888 Linux - General 9 11-29-2003 01:41 PM
how do I transfer files dogma Linux - Newbie 5 05-27-2003 07:11 PM
Transfer files ust Linux - General 1 04-10-2003 08:19 AM
Best Way to Transfer Files? Cynthia Blue Linux - Newbie 20 12-14-2002 03:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:17 PM.

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