Thread: Copying OS Partition

  1. #1
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718

    Copying OS Partition

    What I need to do is to copy my OS partition (WinXP Pro, NTFS) into a larger partition onto another drive, and make it so that my PC can boot from the new partition. Anyone have any ideas how to do this?
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Ghost it.

  3. #3
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Do you know of any good free ghosting software?
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  4. #4
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    From what I've heard, it's not possible to copy an XP partition. It just wont boot, although I've never tried it myself.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  5. #5
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Originally posted by XSquared
    Do you know of any good free ghosting software?
    Nope. You have to pay for a good utility like that. What is your reason for not just installing XP to the new drive from the disk?

  6. #6
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    I'm guessing he doesn't want to have to reinstall all the software and such.

    Hmm would it be possible to install XP, move all the files over and then copy the old registry onto the new one?

  7. #7
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    I'm running out of room on my C drive, and the only free space I have is on another drive, so I was hoping I could just move the whole thing onto a bigger partition on the new partition, mainly because I just don't have time to reformat right now.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  8. #8
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    without something like ghost or partition magic, you're pretty much out of luck.

  9. #9
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    What about the Linux 'dd' command? Would it do what I need? I do have Knoppix.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  10. #10
    ___
    Join Date
    Jun 2003
    Posts
    806
    Windows has a program that you can transfer all files and settings to another computer.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  11. #11
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    echo xsqured, that'd be the easiest

    and you can put it on another partition, it will boot as long as the other hardware in the comp is the same...particularly the mobo and proc.
    PHP and XML
    Let's talk about SAX

  12. #12
    Registered User TravisS's Avatar
    Join Date
    Jun 2002
    Posts
    536
    Yes, DD will work great for this task. In fact, I just did the exact same thing about a week ago

    WinXP drive (30 gig) transfered to new 160 gig drive. It's slow as hell (30 gig took about 2.5 hours) but it works great because it's a bit-for-bit copy.

    This is a perfect task for Knoppix

  13. #13
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    What parameters should I use for dd?
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  14. #14
    Registered User TravisS's Avatar
    Join Date
    Jun 2002
    Posts
    536
    example:

    dd if=/dev/hda1 of=/dev/hdb1

    if is in file. This would be the disk/partition with the already existing OS. of is out file. This is the target blank disk. If remember correctly, this disk must be partitioned first in order for linux to mount it, however, any partition will work as it will be overwritten with the source partition.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Disk Partition Stuff
    By CodeMonkey in forum Tech Board
    Replies: 15
    Last Post: 12-19-2008, 11:53 AM
  2. Partition Problem
    By anirban in forum Tech Board
    Replies: 1
    Last Post: 09-30-2007, 03:32 AM
  3. gives me two OS options, only 1 installed
    By BobMcGee123 in forum Tech Board
    Replies: 4
    Last Post: 01-16-2006, 11:27 AM
  4. hardware interaction in c
    By vineetwadwekar in forum C Programming
    Replies: 6
    Last Post: 03-29-2002, 09:01 AM
  5. Copying Windows (not the os)
    By DutchStud in forum Windows Programming
    Replies: 5
    Last Post: 11-02-2001, 07:05 AM