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
  •  


SanDisk 32GB Ultra Drive Dual Go USB Type-C Flash Drive, Green - SDDDC3-032G-G46 picture

SanDisk 32GB Ultra Drive Dual Go USB Type-C Flash Drive, Green - SDDDC3-032G-G46

$8.99



SanDisk 128GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46 picture

SanDisk 128GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46

$10.99



SanDisk 256GB Ultra USB 3.0 Flash Drive - SDCZ48-256G-U46 picture

SanDisk 256GB Ultra USB 3.0 Flash Drive - SDCZ48-256G-U46

$19.99



SanDisk 256GB Ultra Dual Drive Go USB Type-C Flash Drive, Black- SDDDC3-256G-G46 picture

SanDisk 256GB Ultra Dual Drive Go USB Type-C Flash Drive, Black- SDDDC3-256G-G46

$21.99



64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive picture

64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive

$5.99



2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1 picture

2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1

$13.00



Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 512GB 1TB 2TB picture

Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 512GB 1TB 2TB

$11.08



Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack

$4.99



LOT 32GB 64GB 128GB USB 3.0 Flash Drive Memory Stick Retractable Thumb Drive picture

LOT 32GB 64GB 128GB USB 3.0 Flash Drive Memory Stick Retractable Thumb Drive

$420.99



USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture

USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT

$259.34