Using a Linux Live CD to clone XP - Page 8


Page 8 of 8 FirstFirst ... 45678
Results 106 to 115 of 115

Thread: Using a Linux Live CD to clone XP

  1. #106
    Join Date
    Feb 2011
    Posts
    1

    Thanks

    Registered on this forum to say what a great tutorial, thanks a bundle. I used my linux desktop to upgrade the harddrive on my vista laptop by plugging the old and new sata drives into the desktop and following scheme B. Worked without a hitch, just requiring a reboot and partition resizing. Yay linux, and thanks again.

  2. #107
    Join Date
    Jun 2004
    Location
    Newcastle upon Tyne
    Posts
    2,956
    simstud,

    Welcome to Justlinux!
    Linux user started Jun 2004 - No. 361921
    Using a Linux live CD to clone XP
    To install Linux and keep Windows MBR untouched
    Adding extra Linux & Doing it in a lazy way
    A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
    Just cloning tips Just booting tips A collection of booting tips

    Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"

  3. #108
    Join Date
    Sep 2011
    Posts
    4

    Question not seeing a discription of this

    what i need to do is transfer the internal hard drive to another internal hard drive on a laptop problem is i do not have usb external case for the old hard drive to be in or a expansion port transfer wire
    so what i want to try is tranferring the data from the old drive to the external that i am currently running ubuntu on (also have a flash drive boot cd option if needed) as it has several large partitions in addition to the one ubuntu is on and then rebooting with the new hard drive in place and transfer once again to that drive

    my question is simple do you see any potential issue doing it that way?

  4. #109
    Join Date
    Sep 2011
    Posts
    4

    not sure what happened

    i tried it once and it caused the partition to become unknown type and unmountable i noticed after the first reboot that i hadnt made it bootable tried that and rebooted and it still showed as unknown so i reformatted it again to try once more but unsure if it is even possible

  5. #110
    Join Date
    Sep 2011
    Posts
    4
    i noticed the option to repair file system in the disk utility do you think this could help my old hard drive?

  6. #111
    Join Date
    Jun 2004
    Location
    Newcastle upon Tyne
    Posts
    2,956
    You could transfer the whole hard disk as a file into an external hard disk and copy it back into a new hard disk which replaces the old laptop hard disk.

    You should mount the external hard disk partition, which should be larger than the entire laptop hard disk you wish to clone, say on /mnt/sdb3 and call it my_old_hdd using a command like
    Code:
    sudo dd if=/dev/sda of=/mnt/sdb3/my_old_hdd bs=32256
    assuming your laptop hard disk is sda, external hard disk sdb, spare partition is sdb3 and you are booting it via a Linux in a USB CD.

    You then power down, remove the old hard disk, install the new hard disk, boot up the Linux CD as before, check the sda is the source and the external hard disk is still the sdb and mount sdb3 as before. You can then dd it back by command like
    Code:
    sudo dd if=/mnt/sdb3/my_old_hdd of=/dev/sda bs=32256
    You should see dd stops after the same number of records has been transferred in both cases.
    Linux user started Jun 2004 - No. 361921
    Using a Linux live CD to clone XP
    To install Linux and keep Windows MBR untouched
    Adding extra Linux & Doing it in a lazy way
    A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
    Just cloning tips Just booting tips A collection of booting tips

    Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"

  7. #112
    Join Date
    Sep 2011
    Posts
    4

    ok can try that

    should i run it off the live cd to do that then, currently ubuntu is running on the same external but in a different partition, it did copy the exact file numbers when i tried it before, but it didnt recognize the partition on the external after so this time will try using the folder technique

    im guessing the way you have it typed out it just copies the contents of the folder to the new internal not the folder itself and that the folder is just to keep it tidy during the transfer

    will try that if i dont hear back from you but would like to know if its different when running ubuntu on that same drive
    Last edited by panterus; 09-30-2011 at 07:16 PM. Reason: commas :)

  8. #113
    Join Date
    Jun 2004
    Location
    Newcastle upon Tyne
    Posts
    2,956
    I don't think it matters as long as the area of the hard disk you are using dd on has an operational Linux which may try to update the files during the dd operation.

    The dd command actually copies the binary sector by sector and the file system is not involved at all, except as an output file first and then used in the second part as the input file. dd copies the boot sector as well.

    Sorry for the late reply but I am currently holidaying between Australia and Hong Kong.
    Linux user started Jun 2004 - No. 361921
    Using a Linux live CD to clone XP
    To install Linux and keep Windows MBR untouched
    Adding extra Linux & Doing it in a lazy way
    A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
    Just cloning tips Just booting tips A collection of booting tips

    Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"

  9. #114
    Join Date
    Jul 2012
    Location
    NC
    Posts
    4
    Quote Originally Posted by dkeav View Post
    if you hadnt noticed already all of your activation problems hardware etc etc can be solved by running sysprep before you try cloning the drive
    I really enjoyed this thread, Thanks for posting! I love learning stuff like this even though I will have to refer back to this and read it all again if I ever start to actually do it (my brain is old lol).
    Happy New year everyone.

  10. #115
    Join Date
    Jun 2004
    Location
    Newcastle upon Tyne
    Posts
    2,956
    Stanssongs,

    Welcome to JustLinux !


    We are all here to enjoy Linux because the OS's inner working is in the public domain and it is up to us to learn as much as we want.
    Linux user started Jun 2004 - No. 361921
    Using a Linux live CD to clone XP
    To install Linux and keep Windows MBR untouched
    Adding extra Linux & Doing it in a lazy way
    A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
    Just cloning tips Just booting tips A collection of booting tips

    Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"

Posting Permissions

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