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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco picture

HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco

$13.99



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



SAMSUNG 32GB 2Rx8 PC5-4800 EC8 RDIMM DDR5 ECC Server Memory RAM picture

SAMSUNG 32GB 2Rx8 PC5-4800 EC8 RDIMM DDR5 ECC Server Memory RAM

$99.00



Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM picture

Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM

$64.99



A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM

$87.96