[opensuse] GRUB hangs after cloning root partition from one machine to another machine
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? I can run the restored OS to make changes using System Rescue CD, but I still obviously need to get the machine to boot from the GRUB command line. sda is a RAID-1 set divided into four primary partitions. sda1 swap sda2 / sda3 /home sda4 /other TIA Kind Regards, Keith Roberts-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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.
I can run the restored OS to make changes using System Rescue CD, but I still obviously need to get the machine to boot from the GRUB command line.
sda is a RAID-1 set divided into four primary partitions.
sda1 swap sda2 / sda3 /home sda4 /other
TIA
Kind Regards,
Keith Roberts-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Keith Roberts