Results 1 to 4 of 4

Thread: problem with copying files

  1. #1
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    14

    problem with copying files

    my windows XP Pro machine crashed the other day when i was deleting some spyware. somehow it messed up the MBR and the boot partition, i now have that fixed so the i can get grub and RedHat but when i go into windows it says it is missing a hal.dill file so now i have to use my XP disk to restore the file but in doing so there is a risk of deleting all of my data. . . . so what i want to do is backup all of my data to my other HDD the one that is dedicated to linux just incase something goes wrong.

    The problem is that when i go to copy anything from hda1 which is my NTFS drive i get this error

    __________________________________________________ ___________

    You do not have enough permissions to read file:/mnt/hda1/Documents and Settings/All Users/Desktop
    (^ ^ or whatever file i am trying to copy ^ ^)

    __________________________________________________ ___________

    How do i get around this on the icon it has a little lock in the left hand corner . . . what do i do

    i have already tried to change the permissions on that particular file but it gives me another error saying

    __________________________________________________ ___________

    "Could not change permissions for /mnt/hda1/Documents and Settings/Josh/Desktop"

    __________________________________________________ ___________

    Thanks,
    jc01

    PS: i HATE windows and an trying to get away from it

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Either do the copying as root or mount the drive from a mountpoint in your /home directory with a line in /etc/fstab which includes users.

    Be a bit careful if you have to copy a file back. It's wise to do that via a fat32 partition (copy to vfat in Linux, copy from vfat into ntfs). Writing directly to ntfs from Linux is likely to trash your ntfs file system.

  3. #3
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    14
    ok

    i am trying that but this is what i get

    Code:
    knoppix@ttyp0[Documents and Settings]$ su
    
    root@ttyp0[Documents and Settings]# cd '/mnt/hda1/Documents and Settings'
    
    root@ttyp0[Documents and Settings]# ls
    Administrator  All Users  Default User  jc01  LocalService  NetworkService
    
    ot@ttyp0[Documents and Settings]# cd '/mnt/hda1/Documents and Settings/jc01'
    
    root@ttyp0[jc01]# ls
    ls: NTUSER.DAT: No such file or directory
    Application Data  Local Settings  Recent      UserData        ntuser.ini
    Cookies           My Documents    SendTo      WINDOWS
    Desktop           NetHood         Start Menu  index.html
    Favorites         PrintHood       Templates   ntuser.dat.LOG
    
    root@ttyp0[jc01]# cd '/mnt/hda1/Documents and Settings/jc01/My Documents'
    bash: cd: /mnt/hda1/Documents and Settings/jc01/My Documents: No such file or directory
    the file is there it even says it is there but why does it say "No such file or directory"? and why cant i get to it?
    when i tried to navigate to Documents and Settings by typing "Documents and Settings" it gave me the same error saying "No such file or directory" so then i dragged and droped the file into the window and selected "cd" then it worked so why does it not work when i type it?

    is there some way to root myself and move these files the GUI way? that would be much more convient.


    thanks,
    jc01

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Linux doesn't usually like spaces in file or directory names, so you should type a backslash \ before a space, or type a couple of chars like "My" and press tab. If there's more than one file or directory beginning with "My" press tab again to see them all and give the extra unique characters needed and press tab again.
    You can run konqueror as root by first typing "su" in a shell and then "konqueror".

Similar Threads

  1. Copying files in Knoppix
    By fordprefect3 in forum General Support
    Replies: 3
    Last Post: 10-13-2004, 03:58 AM
  2. copying files
    By FireStorm in forum General Support
    Replies: 8
    Last Post: 09-15-2004, 11:24 PM
  3. Copying other config files in knoppix.sh
    By cld in forum General Support
    Replies: 0
    Last Post: 07-15-2004, 12:57 AM
  4. install freezes at copying files
    By konfused in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-05-2004, 09:28 AM
  5. Newbie Help - Recovering Data, Copying Files, Using CD-RW
    By Johnny3 in forum General Support
    Replies: 2
    Last Post: 10-31-2003, 07:19 PM

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 PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45

$346.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$250.99



HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45

$287.00



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB

$324.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar

$302.90



HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's picture

HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's

$229.99



Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server picture

Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server

$174.99



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$489.99



Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w picture

Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w

$489.99