Just make a chrome os recovery media and then load the script like on a live os like Ubuntu 23.04 or EndeavourOS