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.
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?
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
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
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 06:16 PM.
Reason: commas :)
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.