1 |
Generally the way I've handled this situation in the past is like so (this |
2 |
is written from memory, so expect gratuitous problems). |
3 |
|
4 |
On the machine with the drive attached |
5 |
mbuffer -i /dev/mydrive | xz -e -9 | mbuffer -O hostname:port |
6 |
|
7 |
On a machine with storage space |
8 |
mbuffer -I port -o /path/to/storage.xz |
9 |
|
10 |
To make a backup. |
11 |
|
12 |
|
13 |
In terms of cloning windows to another harddrive in general, as long as the |
14 |
destination harddrive is large enough to fit the original drive without |
15 |
issues, simply running: |
16 |
|
17 |
dd if=/dev/original of=/dev/destination |
18 |
(I prefer dcfldd, personally) |
19 |
|
20 |
Is enough. Run gparted (the graphical version, for nice wizards) after, and |
21 |
it'll fixup your partition table for you to match the new size, and you can |
22 |
re-size any partitions you have to make them match as well. I do exactly |
23 |
this all the time and have yet to have a problem. |
24 |
|
25 |
As for windows 10 licensing, don't trust me on this blindly, but your |
26 |
license should be tied to the hardware fingerprint of the laptop. So even |
27 |
installing windows fresh on your new SSD should result in Windows |
28 |
activating automatically. In fact, you might want to take this opportunity |
29 |
to try that out, to get a completely fresh installation without the decade |
30 |
of old cruft built up by window's lack of a package manager. |
31 |
|
32 |
If it doesn't activate as soon as you plug in an ethernet cable, you can |
33 |
just wipe your SSD and copy your old installation as discussed already. |
34 |
|
35 |
|
36 |
|
37 |
On Mon, Jan 6, 2020 at 1:11 PM Mark Knecht <markknecht@×××××.com> wrote: |
38 |
|
39 |
> Hi all, |
40 |
> I haven't been here in a couple of years. IT's great to see some |
41 |
> familiar names posting. Cheers to all. |
42 |
> |
43 |
> I have a laptop running Win 10 with no (working) DVD/CDROM. For various |
44 |
> reasons I want to move from a 10 year old laptop drive to a new SSD and am |
45 |
> looking for guidance on I might do that. Win 10 is properly licensed but |
46 |
> through a weird channel - it was Win 7 that M$ allowed to convert to Win 10 |
47 |
> for free and I'm nervous that if the hard drive died I'd have to purchase a |
48 |
> new license as the free conversion path likely doesn't exist anymore. |
49 |
> |
50 |
> Both drives are nominally 500GB. |
51 |
> |
52 |
> The older hard drive fdisk info shows: |
53 |
> |
54 |
> root@science:~# fdisk --list /dev/sde |
55 |
> Disk /dev/sde: 465.8 GiB, 500107862016 bytes, 976773168 sectors |
56 |
> Disk model: ASM1053E |
57 |
> Units: sectors of 1 * 512 = 512 bytes |
58 |
> Sector size (logical/physical): 512 bytes / 512 bytes |
59 |
> I/O size (minimum/optimal): 512 bytes / 512 bytes |
60 |
> Disklabel type: dos |
61 |
> Disk identifier: 0xe0c5913d |
62 |
> |
63 |
> Device Boot Start End Sectors Size Id Type |
64 |
> /dev/sde1 63 45062324 45062262 21.5G 1c Hidden W95 FAT32 |
65 |
> (LBA) |
66 |
> /dev/sde2 * 45062325 288063133 243000809 115.9G 7 HPFS/NTFS/exFAT |
67 |
> /dev/sde3 288063488 289247231 1183744 578M 27 Hidden NTFS WinRE |
68 |
> /dev/sde4 289249254 976768064 687518811 327.9G fd Linux raid |
69 |
> autodetect |
70 |
> root@science:~# |
71 |
> |
72 |
> The Linux RAID autodetect is from running Gentoo at some earlier time and |
73 |
> probably doesn't need to be copied. I'm not at all sure what /dev/sde3 is |
74 |
> or whether it's required to make M$ happy. |
75 |
> |
76 |
> The new SSD is unused and shows: |
77 |
> |
78 |
> root@science:~# fdisk --list /dev/sdf |
79 |
> Disk /dev/sdf: 465.8 GiB, 500107862016 bytes, 976773168 sectors |
80 |
> Disk model: ASM1053E |
81 |
> Units: sectors of 1 * 512 = 512 bytes |
82 |
> Sector size (logical/physical): 512 bytes / 4096 bytes |
83 |
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes |
84 |
> root@science:~# |
85 |
> |
86 |
> The appear to have the same sector count and overall size. |
87 |
> |
88 |
> I can make a 1TB drive available in my big machine and work over USB |
89 |
> (which is what I'm doing to get the info above) but I'm unclear how much of |
90 |
> this can be done automatically and how much I might need to do by hand. |
91 |
> |
92 |
> As long as I don't hurt the old drive I can put data on the SSD |
93 |
> multiple times to get through the process in case I have trouble. |
94 |
> |
95 |
> Does anyone have experience with this sort of issue and can you point |
96 |
> me toward some instructions I might try? |
97 |
> |
98 |
> Thanks, |
99 |
> Mark |
100 |
> |
101 |
> |
102 |
> |