Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Boot Gentoo to clean windows
Date: Sat, 29 Mar 2008 18:25:55
Message-Id: 466F0D3E-6F7F-4CCC-A576-C29FB1B516EF@stellar.eclipse.co.uk
In Reply to: [gentoo-user] Re: Boot Gentoo to clean windows by Francesco Talamona
1 On 28 Mar 2008, at 19:13, Francesco Talamona wrote:
2
3 > On Friday 28 March 2008, Stroller wrote:
4 >> I deal with h0sed Windows installations for my customers all the
5 >> time. I regularly boot a Knoppix CD and copy the whole C: drive to a
6 >> portable disk so that I have a complete backup. I find it
7 >> reassuring to use Linux for this purpose because I feel confident
8 >> that cp or rsync will copy _every file on the drive_ without just
9 >> silently ignoring those marked with the hidden flag, or bitching
10 >> about permissions.
11 >
12 > I prefer to save the entire partition with PING (Partimage Is Not
13 > Ghost)
14 > or equivalent tools to avoid gotchas with charsets.
15 > rsync and cp are excellent, but you have to mount the partition
16 > with the
17 > right options not to loose coherence in file naming.
18
19 Thanks! I'll look into PING. The documentation on PING's homepage
20 seems a little scanty, but I'm sure a Google will be a bit more
21 forthcoming.
22
23 There are a couple of reasons I appreciate copying on a file-by-file
24 basis - I don't know if PING would allow me the same flexibility.
25
26 Firstly, if I undertake a full format-and-install of XP, I like to
27 copy back _every file_ from the old system back into a folder called
28 "C:\Old Stuff" (and place a shortcut to this on the user's desktop).
29 I find this more reassuring than, say, copying just "My Documents"
30 because occasionally programs save their data somewhere stupid. For
31 instance, I recently discovered that the software for a Canon camera
32 - which offers to automagically import one's photos when the camera
33 is plugged in - stores the pictures in "Program Files/Canon/PhotoEx/
34 Library".
35
36 When I return the PC to the customer I open "Old Stuff", find the old
37 "My Documents" and copy the contents into their new "My Documents". I
38 then right-click on the "Old Stuff" desktop shortcut and choose
39 "search" - I find their internet Favourites folder, and show them how
40 one would find (for example) a file called "letter", so that anything
41 I've missed they can (hopefully) find for themselves.
42
43 In the case of the family photos in the Canon folder, I was very glad
44 to have the whole original contents of the drive available!! I was
45 able to subsequently copy them to My Photos and tell the software to
46 use this as its "library", but it might have been inconvenient had I
47 used a tool that backed up the partition as a single image - I don't
48 think I'd have been able to recover single files from that once back
49 onsite at the customer's house and booted into XP?
50
51 I tend to take this copy-every-file-on-the-system approach so that if
52 ever there is a problem with a file missing from backup I can put my
53 hand on my heart and say, "if it was on your PC before, then you
54 still have a copy of it". I tend to delete only "temp", "temporary
55 internet files", "recycled", "recycler" and "system volume
56 information" directories, plus the old hiberfile (spelling?) &
57 pagefile. Ideally, when a Windows reinstall is required, I suppose I
58 would prefer to preserve completely the original hard-drive, and to
59 do the new reinstall on a brand new hard-disk. However disks are not
60 yet quite cheap enough that one could normally justify the additional
61 expense to a domestic customer, and besides, it would rather seem
62 like a waste to consume a perfectly good hard-drive as a backup that
63 is unlikely ever to be referenced.
64
65 I also find discrete-file copying useful when a computer needs a
66 repair-install of XP, but the PC OEM has configured it with some
67 stupid partitioning scheme (probably packaged with a "System Restore"
68 partition) that is unrecognised by a Microsoft installation CD. In
69 this case one may be able to back up all the files on the disk,
70 delete the partition table, create a new single primary NTFS
71 partition, copy the files back, (edit the boot.ini, if necessary) and
72 then repair install over the top (which also creates the master boot
73 record). There are times when an unbootable system may be recovered
74 to a perfectly usable state, complete with all the users' files &
75 settings intact (and consequently, with little disruption for the
76 user). `ntfsclone` might well allow me to do this same thing - as
77 might PING? - however I haven't yet explored its possibilities - I
78 wonder about how (well) an ntfscloned secondary-partition might be
79 restored as a primary, for example.
80
81 I have experienced file-copy failures using `rsync` and `cp`, and
82 this was quite disconcerting until I discovered the cause likely to
83 be the charset-related problem you mention. I now redirect stderr to
84 a file when copying & review this afterwards - I don't know whether
85 I'm fortunate with the charset used in the UK, but so far I might
86 typically find that only 1 or 3 files from "Temporary Internet Files"
87 fail (amongst the thousands on a Windows hard-drive), so it has not
88 (yet) been a problem here.
89
90 Stroller.
91 --
92 gentoo-user@l.g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Boot Gentoo to clean windows Francesco Talamona <ti.liame@×××××.it>