Gentoo Archives: gentoo-user

From: 7v5w7go9ub0o <7v5w7go9ub0o@×××××.com>
To: for list <gentoo-user@l.g.o>
Subject: [gentoo-user] Re: Fast checksumming of whole partitions
Date: Sat, 05 Jun 2010 23:47:29
Message-Id: 4C0AE15D.8020408@gmail.com
In Reply to: Re: [gentoo-user] Re: Fast checksumming of whole partitions by meino.cramer@gmx.de
1 On 06/05/10 15:23, meino.cramer@×××.de wrote:
2
3 []
4 > That looks really interesting. The only problem I have with this is
5 > that I have to have /dev/sda as /dev/sdb idle (not mounted) and
6 > because of that I use knoppix as temporary system to boot. And I dont
7 > think that knoppix has this tool "on board".
8
9 Just boot up knoppix, mount root partition that contains dcfldd, go to
10 wherever the executable is located (e.g. /usr/bin/dcfldd):
11
12 1. boot up knoppix
13 2. create a partition: mkdir /work
14 3. mount /work to the root partition: mount /dev/sdc /work
15 4. cd /work/usr/bin
16 5. run dcfldd: ./dcfldd
17
18 If your root partition is encrypted (e.g. mine is), then place a copy of
19 dcfldd on the boot partition; no boot partition, put a copy on its own
20 dedicated little partition.
21
22 Of course, you can always put a copy on a USB jumpdrive. As a last
23 alternative, download and compile a copy while in knoppix.
24
25 > Or is there a way to do such copies from a one disk to another while
26 > one disk is booted???
27
28 Sure, but the running disk/sector would have temporary files that would
29 not consistently hash when you did the hash check. If you do this, try
30 it in linux without bringing up X. This might avoid copying some software
31 "locks" that could block startup on the copied disk/sector.
32
33 HTH

Replies

Subject Author
Re: [gentoo-user] Re: Fast checksumming of whole partitions Andrea Conti <alyf@××××.net>