I have an disk image with 3 partitions:
first partition (hd0,0) is boot-able with GRUB1 with the following configuration GRUB file:
default=0
timeout=5
title Bank A
root (hd0,1)
chainloader +1
title Bank B
root (hd0,2)
chainloader +1
The partitions (hd0,1) and (hd0,2) are also boot-able.
I'm trying to clone partition (hd0,1) to (hd0,2) by creating device map using kpartx and copying whole partition using dd command.
The problem is: after partition cloning, the cloned partition did not boot (but all files are OK).
What the wrong?
I need both partitions to bee identical (I'm using them for fail-over purposes into embedded device)