From 1246d7e3515329a5fcb2ba7a9a59b074e89fa697 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 9 Oct 2009 16:08:25 +0000 Subject: re-read partition table after writing image (from Paulo Ricardo Zanoni) --- rescue/restore-image.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh index 4999e2695..3750c8215 100755 --- a/rescue/restore-image.sh +++ b/rescue/restore-image.sh @@ -293,6 +293,9 @@ function write_image() _msgbox "\nError writing image!\n" sleep 24h fi + + # Now re-read the partition table because 'dd' might have changed it + sfdisk -R /dev/${root} } function grub_setup() -- cgit v1.2.1