summaryrefslogtreecommitdiffstats
path: root/rescue/restore-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/restore-image.sh')
-rwxr-xr-xrescue/restore-image.sh3
1 files changed, 3 insertions, 0 deletions
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()