Results 1 to 4 of 4

Thread: n00b needs help moving files

  1. #1

    n00b needs help moving files

    Sorry my first post is one asking for help.

    Here is the situation:

    I have a neighbor's HP PC which the system restore files are on a 5GB hidden partition (HDA1, NTFS).

    I want to reinstall his OS (Win XP home) on the already formatted C:\ (HDA2) after I can recover the files from the hidden partition.

    I have temporarily placed a 2nd hard drive in the machine to copy the 4GB of system restore files from HDA1 to HDB5 (the 2nd hard drive, FAT32).

    I am running Knoppix Live from the CD.

    I opened the console and typed su to logon as root.

    Typed the following command to copy all files and folders from HDA1 to HDB5:
    cp -R/mnt/hda1/* /mnt/hdb5/

    this is what was returned to me:

    cp: cannot create regular file '/mnt/hdb5/insert filename here' : Read-only file system

    How can I change the permissions so that I can copy all the files from the hidden partition to the 2nd hard drive, WITHOUT destroying the files on the hidden partiton?

    and

    Is there a simple way to restore the permissions to original after the copy (if the permissions are changed)?

    thank you for any help you can provide.
    ---------
    Alan

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Do you have the partitions mounted? Did you change hdb5 to read-write mode?

    To mount hda1 (NTFS) - as root: mount -t ntfs -o ro /dev/hda1 /mnt/hda1
    To mount hdb5 (FAT32) - as root: mount -t vfat -o rw /dev/hdb5 /mnt/hdb5

    Or mount them and change hdb5 to read-write mode, using the desktop icons.

    That's assuming Knoppix created a "/mnt/hdb5" folder when it detected your hardware - if not, you can use any of the unused folders in /mnt as a mountpoint (e.g. replace "/mnt/hdb5" with "/mnt/test").

    Not sure what you mean about permissions.

  3. #3
    Thank you, eco2geek

    that worked!

    -------
    Alan

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    use
    Code:
    cp -p -R ...
    to preserver mode, ownership and timestamp!

Similar Threads

  1. Moving Files from Knoppix Live to WinXP Pro
    By Girtych in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 12-26-2004, 02:56 PM
  2. moving to 3.4
    By firebyrd10 in forum General Support
    Replies: 1
    Last Post: 05-28-2004, 01:09 AM
  3. Moving up from 3.3 to 3.4
    By liebrand in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-20-2004, 04:28 PM
  4. Moving files..Access Denied
    By tha_raptest in forum General Support
    Replies: 0
    Last Post: 02-12-2004, 08:05 PM
  5. Moving files around in knoppix
    By kleptophobiac in forum General Support
    Replies: 1
    Last Post: 08-06-2003, 03:36 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
  •  


Vintage Truevision NuVista+ NuBus Video Capture Card DIN-96CCPC-SR1 3091 picture

Vintage Truevision NuVista+ NuBus Video Capture Card DIN-96CCPC-SR1 3091

$450.00



Compaq Presario 1640 Laptop HP 2940A Vintage Computer, Power Supply and mouse picture

Compaq Presario 1640 Laptop HP 2940A Vintage Computer, Power Supply and mouse

$159.95



Vintage Apple Mac A1048 White Wired Full Size Keyboard w/ 2 USB Ports TESTED picture

Vintage Apple Mac A1048 White Wired Full Size Keyboard w/ 2 USB Ports TESTED

$22.89



Compaq 7550 17

Compaq 7550 17" CRT Retro Gaming Monitor PE1160-FS7550 VGA Vintage 2003 WORKING

$279.99



Vintage DataArm RBX Ergonomic Computer Arm Supports Desk Mount Pair Wrist Rests picture

Vintage DataArm RBX Ergonomic Computer Arm Supports Desk Mount Pair Wrist Rests

$99.99



Vintage Apple Macintosh Ethernet Network Card 820-0207-A 1987 NuBus Adapter picture

Vintage Apple Macintosh Ethernet Network Card 820-0207-A 1987 NuBus Adapter

$55.00



Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot picture

Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot

$316.95



Vintage Chyron Duet Keyboard Modules - Private Listing for Kris picture

Vintage Chyron Duet Keyboard Modules - Private Listing for Kris

$269.99



Vintage HP-85A Series 80 Computer Hewlett Packard Working Powers On + Case RAM picture

Vintage HP-85A Series 80 Computer Hewlett Packard Working Powers On + Case RAM

$275.00



Vintage Ampex Chip Boards Memory Processor  Other picture

Vintage Ampex Chip Boards Memory Processor Other

$299.99