copy boot-able partition
Posted
by
Dima
on Server Fault
See other posts from Server Fault
or by Dima
Published on 2011-06-29T22:16:54Z
Indexed on
2011/06/30
0:23 UTC
Read the original article
Hit count: 348
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)
© Server Fault or respective owner