registereduser wrote:Can someone tell me why this won't work?
I placed it into a file and made the file executable, but when I run it, there's no progress for dd displayed. If I enter this command into a virtual terminal it displays the progress in the dd window.
The script's output will not display because it doesn't know where to display its output since it's not running inside an open terminal window. You are running it from within the GUI, which normally doesn't open a terminal window when running scripts. Compare that with running the script with a terminal window already open, you will see whatever output it prints out.
If you want to see output when you run the script within the GUI, the simplest way to do it is select the [Run in Terminal] button when you double-click the icon. Assuming of course that your file manager prompts you, that is.
There are other ways to do this; see this thread
for more info on the issue.