Professional Web Applications Themes

Copy an NTFS partition - Linux Setup, Configuration & Administration

Hi there, I want to copy a 40G NTFS partition on an empty 80G harddisk. dd in=/dev/hda out=/dev/hdb is running for hours... Can anybody tell me if, or how if not, this is going to work? Thanks, Stephan...

  1. #1

    Default Copy an NTFS partition

    Hi there,

    I want to copy a 40G NTFS partition on an empty 80G harddisk. dd in=/dev/hda
    out=/dev/hdb is running for hours...
    Can anybody tell me if, or how if not, this is going to work?
    Thanks,


    Stephan


    Stephan Guest

  2. #2

    Default Re: Copy an NTFS partition

    Stephan Bode wrote:
     

    Well, there are some issues, like all the copied files will have the exact
    same ownership and permissions, and spaces in paths are common in NTFS
    filesystems. Might as well try it and see what happens.

    --
    Paul Lutus
    http://www.arachnoid.com

    Paul Guest

  3. #3

    Default Re: Copy an NTFS partition

    Stephan Bode <fh-giessen.de> wrote: 

    yes it should, to make it faster you should have specified a bigger
    blocksize. the default is 512 IIRC which is quite small.

    i am not sure however how you will gain the second 40 gig of
    diskspace...anyone know if ntfs is expandable?


    --

    my life, my universe, my everything
    http://www.dtch.org

    armin Guest

  4. #4

    Default Re: Copy an NTFS partition

    On Fri, 17 Oct 2003 20:16:14 +0200,
    Stephan Bode <fh-giessen.de> wrote: 
    Someone else mentioned blocksize, but

    dd in=/dev/hda1 out=/dev/hda1

    might work better, you are copying the partition, not the disk.

    Michael C.
    --
    com http://mcsuper5.freeshell.org/
    Registered Linux User #303915 http://counter.li.org/


    Michael Guest

  5. #5

    Default Re: Copy an NTFS partition

    > dd in=/dev/hda1 out=/dev/hda1

    That should be
    dd in=/dev/hda1 out=/dev/hdb1

    Note the output file is hdb not hda.

    RF


    Rich Guest

  6. #6

    Default Re: Copy an NTFS partition

    On Sun, 19 Oct 2003 16:48:18 +0100,
    Rich Fearn <com> wrote: 
    >
    > That should be
    > dd in=/dev/hda1 out=/dev/hdb1
    >
    > Note the output file is hdb not hda.[/ref]

    Thanks, I'll try helping when I'm actually awake next time:)

    Michael C.
    --
    com http://mcsuper5.freeshell.org/
    Registered Linux User #303915 http://counter.li.org/


    Michael Guest

  7. #7

    Default Re: Copy an NTFS partition

    Stephan Bode wrote:
     
    Did a similar thing last week, but with bs=64k it went considerably
    faster :). Later on, I could use 'doze2Ks discmanager to make a 2nd
    partition of the remainder.
    --
    Longhorn error#4711: TCPA / NGSCB VIOLATION: Microsoft optical mouse
    detected penguin patterns on mousepad. Partition scan in progress
    to remove offending incompatible products. Reactivate your MS software
    (3 days grace period).
    Walter Guest

  8. #8

    Default Re: Copy an NTFS partition

    Stephan Bode wrote:
     

    First, increase the block size of what you're copying to a *large*
    number. It will take a lot of hours this way, no matter what, because
    you're also copying all the *empty* blocks, swap space, etc.

    Second, don't do this: if possible, use something that duplicates the
    files. If you're not married to using NTFS, use the published NTFS
    read-only drivers to copy the contents to a FAT32 file system.

    Nico Guest

Similar Threads

  1. New to Ubuntu -- NTFS Partition
    By John & Mary Cook in forum Ubuntu
    Replies: 2
    Last Post: March 2nd, 04:03 AM
  2. Maximum size of a NTFS partition under W2003 32bit
    By Brunoz in forum Windows Server
    Replies: 8
    Last Post: June 16th, 06:36 PM
  3. Resize of NTFS partition (Win-XP)
    By Florencio in forum Linux Setup, Configuration & Administration
    Replies: 4
    Last Post: October 4th, 02:13 PM
  4. NTFS partition cannot be resized
    By rajat in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: September 8th, 08:07 PM
  5. Files near end of partition when shrinking XP NTFS part
    By Anton Bossenbroek in forum Linux Setup, Configuration & Administration
    Replies: 1
    Last Post: July 31st, 08:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139