diff --git a/packages/tools/installer/scripts/installer b/packages/tools/installer/scripts/installer index 533d4909e4..10cf0d4e4a 100755 --- a/packages/tools/installer/scripts/installer +++ b/packages/tools/installer/scripts/installer @@ -407,9 +407,12 @@ function bios_backup() { # create an backup from installed bios if [ "$BIOS_UPDATE" = "yes" -a -f "$BIOS_FILE" ]; then + clear echo "##### backup old BIOS to $BIOS_BACKUP #####" usleep 1000000 - flashrom --read "$BIOS_BACKUP" + mount -o remount,rw /flash + flashrom --read /flash/$BIOS_BACKUP + mount -o remount,ro /flash echo "##### Please control the output and press any key to continue #####" read -sn1 @@ -424,6 +427,7 @@ function bios_update() { # update the bios if [ "$BIOS_UPDATE" = "yes" -a -f "$BIOS_FILE" ]; then + clear echo "##### erasing BIOS #####" usleep 1000000 flashrom --erase @@ -445,6 +449,7 @@ function bios_erase() { # erase the bios if [ "$BIOS_UPDATE" = "yes" -a -f "$BIOS_FILE" ]; then + clear echo "##### erasing BIOS #####" usleep 1000000 flashrom --erase