Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive
Date: Mon, 06 Jan 2020 23:37:22
Message-Id: CAK2H+ecjRjzVU0Zm0Q=pWMephMHK=1JPJ_6iE_5Ppv-Cc10d7w@mail.gmail.com
In Reply to: Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive by Michael Jones
1 Michael,
2 I got Win 10 Pro installed via the M$ tool that creates USB install
3 devices. It worked fine. Reading online it seems that if M$ sees the new
4 disk as still the same 'hardware' then it's supposed to automatically
5 validate and I'd be good to go. so far, after 2 hours it hasn't done that
6 but I'll give it awhile and see what happens. As it only took an hour I
7 might still try the disk copy path and see if that comes up validated as
8 that would also transfer the couple of applications I have on the original
9 hard drive.
10
11 Anyway, thanks for the ideas.
12
13 Cheers,
14 Mark
15
16 On Mon, Jan 6, 2020 at 3:01 PM Michael Jones <gentoo@×××××××.com> wrote:
17
18 > You can use the Windows 10 Download Tool (Or similarly named thing, sorry,
19 > I can't find the details of it at this time) to download an ISO image
20 >
21 > Combine that with the rufus program https://rufus.ie/ (I use the portable
22 > one, personally) to create a Windows 10 USB installer stick.
23 >
24 > On Mon, Jan 6, 2020 at 2:39 PM Mark Knecht <markknecht@×××××.com> wrote:
25 >
26 >> Hi Michael,
27 >> Thanks for the response. Great info.
28 >>
29 >> The install Win 10 clean sounds wonderful if it works. With no DVD in
30 >> this machine it sounds like I should investigate an install from USB if the
31 >> machine supports it. It's an Asus gaming laptop circa 2008 so hopefully
32 >> that works but I've never done it on this machine.
33 >>
34 >> Cheers,
35 >> Mark
36 >>
37 >> On Mon, Jan 6, 2020 at 12:56 PM Michael Jones <gentoo@×××××××.com> wrote:
38 >>
39 >>> Generally the way I've handled this situation in the past is like so
40 >>> (this is written from memory, so expect gratuitous problems).
41 >>>
42 >>> On the machine with the drive attached
43 >>> mbuffer -i /dev/mydrive | xz -e -9 | mbuffer -O hostname:port
44 >>>
45 >>> On a machine with storage space
46 >>> mbuffer -I port -o /path/to/storage.xz
47 >>>
48 >>> To make a backup.
49 >>>
50 >>>
51 >>> In terms of cloning windows to another harddrive in general, as long as
52 >>> the destination harddrive is large enough to fit the original drive without
53 >>> issues, simply running:
54 >>>
55 >>> dd if=/dev/original of=/dev/destination
56 >>> (I prefer dcfldd, personally)
57 >>>
58 >>> Is enough. Run gparted (the graphical version, for nice wizards) after,
59 >>> and it'll fixup your partition table for you to match the new size, and you
60 >>> can re-size any partitions you have to make them match as well. I do
61 >>> exactly this all the time and have yet to have a problem.
62 >>>
63 >>> As for windows 10 licensing, don't trust me on this blindly, but your
64 >>> license should be tied to the hardware fingerprint of the laptop. So even
65 >>> installing windows fresh on your new SSD should result in Windows
66 >>> activating automatically. In fact, you might want to take this opportunity
67 >>> to try that out, to get a completely fresh installation without the decade
68 >>> of old cruft built up by window's lack of a package manager.
69 >>>
70 >>> If it doesn't activate as soon as you plug in an ethernet cable, you can
71 >>> just wipe your SSD and copy your old installation as discussed already.
72 >>>
73 >>>
74 >>>
75 >>> On Mon, Jan 6, 2020 at 1:11 PM Mark Knecht <markknecht@×××××.com> wrote:
76 >>>
77 >>>> Hi all,
78 >>>> I haven't been here in a couple of years. IT's great to see some
79 >>>> familiar names posting. Cheers to all.
80 >>>>
81 >>>> I have a laptop running Win 10 with no (working) DVD/CDROM. For
82 >>>> various reasons I want to move from a 10 year old laptop drive to a new SSD
83 >>>> and am looking for guidance on I might do that. Win 10 is properly licensed
84 >>>> but through a weird channel - it was Win 7 that M$ allowed to convert to
85 >>>> Win 10 for free and I'm nervous that if the hard drive died I'd have to
86 >>>> purchase a new license as the free conversion path likely doesn't exist
87 >>>> anymore.
88 >>>>
89 >>>> Both drives are nominally 500GB.
90 >>>>
91 >>>> The older hard drive fdisk info shows:
92 >>>>
93 >>>> root@science:~# fdisk --list /dev/sde
94 >>>> Disk /dev/sde: 465.8 GiB, 500107862016 bytes, 976773168 sectors
95 >>>> Disk model: ASM1053E
96 >>>> Units: sectors of 1 * 512 = 512 bytes
97 >>>> Sector size (logical/physical): 512 bytes / 512 bytes
98 >>>> I/O size (minimum/optimal): 512 bytes / 512 bytes
99 >>>> Disklabel type: dos
100 >>>> Disk identifier: 0xe0c5913d
101 >>>>
102 >>>> Device Boot Start End Sectors Size Id Type
103 >>>> /dev/sde1 63 45062324 45062262 21.5G 1c Hidden W95
104 >>>> FAT32 (LBA)
105 >>>> /dev/sde2 * 45062325 288063133 243000809 115.9G 7 HPFS/NTFS/exFAT
106 >>>> /dev/sde3 288063488 289247231 1183744 578M 27 Hidden NTFS
107 >>>> WinRE
108 >>>> /dev/sde4 289249254 976768064 687518811 327.9G fd Linux raid
109 >>>> autodetect
110 >>>> root@science:~#
111 >>>>
112 >>>> The Linux RAID autodetect is from running Gentoo at some earlier time
113 >>>> and probably doesn't need to be copied. I'm not at all sure what /dev/sde3
114 >>>> is or whether it's required to make M$ happy.
115 >>>>
116 >>>> The new SSD is unused and shows:
117 >>>>
118 >>>> root@science:~# fdisk --list /dev/sdf
119 >>>> Disk /dev/sdf: 465.8 GiB, 500107862016 bytes, 976773168 sectors
120 >>>> Disk model: ASM1053E
121 >>>> Units: sectors of 1 * 512 = 512 bytes
122 >>>> Sector size (logical/physical): 512 bytes / 4096 bytes
123 >>>> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
124 >>>> root@science:~#
125 >>>>
126 >>>> The appear to have the same sector count and overall size.
127 >>>>
128 >>>> I can make a 1TB drive available in my big machine and work over USB
129 >>>> (which is what I'm doing to get the info above) but I'm unclear how much of
130 >>>> this can be done automatically and how much I might need to do by hand.
131 >>>>
132 >>>> As long as I don't hurt the old drive I can put data on the SSD
133 >>>> multiple times to get through the process in case I have trouble.
134 >>>>
135 >>>> Does anyone have experience with this sort of issue and can you
136 >>>> point me toward some instructions I might try?
137 >>>>
138 >>>> Thanks,
139 >>>> Mark
140 >>>>
141 >>>>
142 >>>>

Replies

Subject Author
Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive Bill Kenworthy <billk@×××××××××.au>
Re: [gentoo-user] Guidance on using Gentoo to clone a Win 10 system drive Wols Lists <antlists@××××××××××××.uk>