Iain Buchanan wrote:
On Tue, 2005-11-15 at 18:03 -0800, maxim wexler wrote:
Hello everybody,
I ran dd if=/dev/hda of=/dev/sda bs=10240 to copy the
contents of one drive to another as suggested on this
list. And updated fstab and grub.conf. Now the PC
boots into a kernel panic.
bad idea.
I'm guessing that you need to rewrite the boot block
with the grub shell.
man grub
does dd use any sort of error checking?
No.
Any suggestions?
Yes.
they way I do it every time, is create the partitions and use rsync.
Then you know every file will be copied correctly, and you can pick up
at some later stage between reboots.
Do the above with rsync, or tar, or cpio, or dump/restore, or cp -a old new.
all of the above options are preferred over dd
Good luck,
Ray
--
gentoo-user@gentoo.org mailing list