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 System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$99.99



IBM System x3550 M4 Server 2 x Intel Xeon E5-2609 36GB RAM No HDDs picture

IBM System x3550 M4 Server 2 x Intel Xeon E5-2609 36GB RAM No HDDs

$149.99



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$27.25



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



ibm server z series picture

ibm server z series

$16000.00



IBM BladeCenter HS21 7995 AC1 Server - 1x Xeon E5440 2GB RAM - NO HDDs picture

IBM BladeCenter HS21 7995 AC1 Server - 1x Xeon E5440 2GB RAM - NO HDDs

$22.43



IBM SYSTEM x3200 M2 Server - HDD wiped, No OS picture

IBM SYSTEM x3200 M2 Server - HDD wiped, No OS

$75.00



IBM SYSTEM x3650 M4 Xeon E5-2609 2.40GHZ 16GB DDR3-1066MHZ 2x 550W PSU TESTED picture

IBM SYSTEM x3650 M4 Xeon E5-2609 2.40GHZ 16GB DDR3-1066MHZ 2x 550W PSU TESTED

$109.95



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99