Linux command for copying a directory in windows to the Linux partition
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi and welcome to LQ. If you are dual booting, you can do this using a file manager (its either Konqueror if you are using KDE or Nautilus if you are using GOME). An alternative would be to use the command, "cp" (without quotes). You can find out more information about the cp command by entering the command "info cp" or "man cp" in a terminal.
Thanks for the quick response.I know there is a command like 'mount windows dir linux dir'. The problem is i dont know the exact usage of that. Can u please help me to figure out the exact command for the same.
Thanks for the quick response.I know there is a command like 'mount windows dir linux dir'. The problem is i dont know the exact usage of that. Can u please help me to figure out the exact command for the same.
You can help us by replying with the output of "fdisk -l". Then we can tell you exactly what to type.
In the general case, you need a mount point:
Code:
# mkdir /mnt/windows
Then you need to mount your windows partition:
Code:
# mount -tntfs /dev/sda1 /mnt/windows
These instructions assume your are trying to mount a Windows NTFS partition and that it is the first partition on the first drive, and the first drive is handled as SCSI device by the kernel. If you have an older kernel, or you are using a FAT32 partition, you might need
Thanku so much for the reply. Now i know how to mount a windows folder on to a linux folder.
Now i want to know whether this mounting is persistent. If i restart the syetem will the mounting remain the same. If it does not please tell me how to make the mounting permanent.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.