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
  •  


IBM LSI SAS9220-8i M1015 46M0861 SAS/SATA PCI-e RAID Controller Both brackets picture

IBM LSI SAS9220-8i M1015 46M0861 SAS/SATA PCI-e RAID Controller Both brackets

$139.00



LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA picture

LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA

$229.99



XDHXT DELL PERC H710P 6Gbps 1GB PCI RAID CONTROLLER 0XDHXT picture

XDHXT DELL PERC H710P 6Gbps 1GB PCI RAID CONTROLLER 0XDHXT

$59.00



HPE 869102-001 Smart Array E208i-a SR Gen10 Storage Controller RAID SP: 871039 picture

HPE 869102-001 Smart Array E208i-a SR Gen10 Storage Controller RAID SP: 871039

$129.99



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$35.96



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$86.99



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



Yottamaster 5 Bay RAID Hard Drive Enclosure USB3.1 Type C 2.5

Yottamaster 5 Bay RAID Hard Drive Enclosure USB3.1 Type C 2.5"/3.5" SATA HDD SSD

$142.49



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99