Gentoo Archives: gentoo-user

From: maxim wexler <blissfix@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] after dd many badblocks on new SATA HD
Date: Thu, 17 Nov 2005 02:05:07
Message-Id: 20051117015557.48723.qmail@web31709.mail.mud.yahoo.com
In Reply to: Re: [gentoo-user] after dd many badblocks on new SATA HD by Raymond Lillard
1 --- Raymond Lillard <rlillard@×××××.net> wrote:
2
3 > Iain Buchanan wrote:
4 > > On Tue, 2005-11-15 at 18:03 -0800, maxim wexler
5 > wrote:
6 > >
7 > >>Hello everybody,
8 > >>
9 > >>I ran dd if=/dev/hda of=/dev/sda bs=10240 to copy
10 > the
11 > >>contents of one drive to another as suggested on
12 > this
13 > >>list. And updated fstab and grub.conf. Now the PC
14 > >>boots into a kernel panic.
15 >
16 > bad idea.
17 >
18 > I'm guessing that you need to rewrite the boot block
19 > with the grub shell.
20 >
21 > man grub
22 >
23 > >
24 > >
25 > > does dd use any sort of error checking?
26 >
27 > No.
28 >
29 > >
30 > >>Any suggestions?
31 >
32 > Yes.
33 >
34 > > they way I do it every time, is create the
35 > partitions and use rsync.
36 > > Then you know every file will be copied correctly,
37 > and you can pick up
38 > > at some later stage between reboots.
39 >
40 > Do the above with rsync, or tar, or cpio, or
41 > dump/restore, or cp -a old new.
42 >
43 > all of the above options are preferred over dd
44
45 Tried rsync -a and cp -a. No good. Millions of
46 badblocks remain. But it's OK, Western Digital is
47 shipping another gratis :)
48
49
50
51
52
53 __________________________________
54 Yahoo! Mail - PC Magazine Editors' Choice 2005
55 http://mail.yahoo.com
56 --
57 gentoo-user@g.o mailing list