Results 1 to 6 of 6

Thread: How to copy a folder

  1. #1
    Junior Member
    Join Date
    May 2005
    Posts
    7

    How to copy a folder

    I want to copy a folder My Documents (/mnt/hda1/Documents and Settings/Alex/My Documents/) to my USB Drive (/mnt/ubb1)
    but an error announced that I cound't make folder. What can I do?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: How to copy a folder

    1. Be root.
    2. Make sure the USB drive is mounted R/W (' mount ')

    Command line:
    ' cd /mnt/hda1/Documents and Settings/Alex/My Documents/ '
    ' cp -apRv . /mnt/ubb1 '

    --See ' man cp ' for what the flags mean.

    Quote Originally Posted by alex610
    I want to copy a folder My Documents (/mnt/hda1/Documents and Settings/Alex/My Documents/) to my USB Drive (/mnt/ubb1)
    but an error announced that I cound't make folder. What can I do?

  3. #3
    Junior Member
    Join Date
    May 2005
    Posts
    7

    Re: How to copy a folder

    cp: cannot create regular file `/mnt/uba1/./P1010114.JPG': Read-only file system
    What does it mean?

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: How to copy a folder

    It means that nobody can write to the filesystem.

    Is it FAT32 ? Post the results of ' fdisk -l '.

    Also, try:
    ' mount /mnt/uba1 -oremount,rw ' == Remount filesystem read/write


    Quote Originally Posted by alex610
    cp: cannot create regular file `/mnt/uba1/./P1010114.JPG': Read-only file system
    What does it mean?

  5. #5
    Junior Member
    Join Date
    May 2005
    Posts
    7
    Thanks. I got it.
    But What if my disk is formatted NTFS, how can I install captive-ntfs driver?

  6. #6
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    alex610,

    What if your FS is NTFS ?

    OUCH!

    What I would do... Copy the folder from a NTFS file system, to a FAT file system, from within Windows... THEN, go into Knoppix, and do the same commands as mentioned above, from the FAT file system folder location ( from the copy made within Windows ), to the location you wanted within Linux.

    NTFS is a tricky "bugger" - its proprietary of Windows, and not much support within Windows is working "at best" winthin Linux - your best bet, this is saying without knowing how much work "newly" has been done with NTFS support in Linux, but, best bet is to use FAT for any Linux to Windows, or Windows to Linux, transfers. ( IMHO )

    Hope this helps,
    Ms. Cuddles

Similar Threads

  1. unable to copy a folder to USB pen drive
    By malicej in forum Hardware & Booting
    Replies: 2
    Last Post: 12-12-2005, 05:07 PM
  2. Knoppix Folder.
    By ScrewzLuse in forum General Support
    Replies: 0
    Last Post: 08-11-2005, 08:52 AM
  3. Trying to copy over my user folder from ntfs fs hd.
    By bluedevlx in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 05-18-2005, 04:09 PM
  4. Could Not make Folder
    By mlrible in forum Hardware & Booting
    Replies: 1
    Last Post: 05-08-2005, 06:35 AM
  5. How to copy the repertory /dev/*, can I copy nodes???
    By gadave in forum Customising & Remastering
    Replies: 2
    Last Post: 07-08-2003, 09:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell - 800GB SSD SAS 12G MLC WI 2.5in PX05SM CN3JH picture

Dell - 800GB SSD SAS 12G MLC WI 2.5in PX05SM CN3JH

$98.99



WD_BLACK 4TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS400T2X0E picture

WD_BLACK 4TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS400T2X0E

$309.99



Dell 800GB SSD U.2 NVMe 2.5

Dell 800GB SSD U.2 NVMe 2.5" PCIe Gen3 KWH83 MZWLL800HEHP-000D3 PM1725a

$71.99



SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G25 picture

SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G25

$129.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Lenovo Samsung 512GB NVMe M.2 2280 SSD MZ-VKW5120 0UP440 picture

Lenovo Samsung 512GB NVMe M.2 2280 SSD MZ-VKW5120 0UP440

$23.99



Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe picture

Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe

$109.99



Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$249.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$197.99