Re: [opensuse] GRUB hangs after cloning root partition from one machine to another machine
On 17 Apr 2015, at 15:49, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
On Fri, Apr 17, 2015 at 3:08 PM, Keith Roberts <keith.roberts@ecric.nhs.uk> wrote:
Hi all.
I used Clonezilla to make a backup of a suse 12.3 root and home partition on a production machine OK. A Dell PowerEdge R240.
Previous to that on an identical test machine, I was able to make snapshots of sda2 + sda3, and restore these partitions again to that same test machine, and it booted OK from the GRUB prompt.
So that was my DR plan in place and documented!
Now I have used Clonezilla to make a snapshot of the production machine’s root and home partitions, and when I try to restore the root OS partition to the test machine I cannot even get a GRUB command line prompt. All I get is the word GRUB and a frozen command line.
Can anyone shed some light on this please?
GRUB encodes absolute disk location(s) in its primary boot block. If these locations change (e.g. you restored on disk with different geometry) grub will load garbage and execute it. With more or less unpredictable results.
Hi Andrei. Thanks for your reply. The disk UUID’s have changed so maybe that is the problem? Does grub use the disk’s UUID in it’s boot block? Kind Regards, Keith -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-04-17 17:47, Keith Roberts wrote:
On 17 Apr 2015, at 15:49, Andrei Borzenkov <> wrote:
GRUB encodes absolute disk location(s) in its primary boot block. If these locations change (e.g. you restored on disk with different geometry) grub will load garbage and execute it. With more or less unpredictable results.
Hi Andrei.
Thanks for your reply.
The disk UUID’s have changed so maybe that is the problem?
Does grub use the disk’s UUID in it’s boot block?
No, he is talking about block numbers (LBA). You have to reinstall grub. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlUxrRMACgkQja8UbcUWM1x2+wEAg2q5vSo1bzRciwVFhVi0JSOX 64NqlsYF945W4cNanZMA/0S/2OX5m2u7A+Nq/7Z4hy+SFiAS3YJdlhJ6YLbApQvb =+eu5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Carlos E. R.
-
Keith Roberts