All of lore.kernel.org
 help / color / mirror / Atom feed
* hd cloning
@ 2006-03-29 22:11 Giampaolo Bellini
  2006-03-29 22:25 ` Tomáš Ebenlendr
  2006-03-30  7:49 ` Marco Gerards
  0 siblings, 2 replies; 5+ messages in thread
From: Giampaolo Bellini @ 2006-03-29 22:11 UTC (permalink / raw)
  To: grub-devel



Hello...

is it possible to clone an entire HD to another one (with exactly the
same space/sectors/heads etc) without reinstalling grub ?

I'm doing:

        dd if=/dev/hda of=/dev/hdb 

        dd if=/dev/hda of=hda.mbr bs=512 count=1

        sfdisk -d /dev/hda > hda.sf

to clone the HD, save the MBR and partition table, and then:

        dd if=hda.mbr of=/dev/hdb

        sfdisk /dev/hdb < hda.sf

to restore the MBR and partition table on the target drive.

As this seems not to work (at least on i386), do I need to backup
something else ? Of course, the original HD start with a perfectly
working grub.

thanks in advance,

      Giampaolo




^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: hd cloning
@ 2006-03-30 12:18 Giampaolo Bellini
  0 siblings, 0 replies; 5+ messages in thread
From: Giampaolo Bellini @ 2006-03-30 12:18 UTC (permalink / raw)
  To: grub-devel

>How is this related to the development of GRUB 2?
>
>I think such questions belong on bug-grub.  This list is about the
>development of GRUB 2.  You are using GRUB Legacy.
>
>--
>Marco

you are right... sorry for the mistake

   Giampaolo





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-30 12:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-29 22:11 hd cloning Giampaolo Bellini
2006-03-29 22:25 ` Tomáš Ebenlendr
2006-03-29 22:45   ` Carl Karsten
2006-03-30  7:49 ` Marco Gerards
  -- strict thread matches above, loose matches on Subject: below --
2006-03-30 12:18 Giampaolo Bellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.