Since I'm having a lot of hickups installing my pc with LFS and have to begin over and over again I was wondering if it were possible to make a simple bash script that I write. If I have to begin again I can simply start the script, let the computer run until the point where it went wrong.
When I install my pc I copy all the commands to a text file that I make executable.
The only problem I see so far is to make the lfs username and the password because the shell will wait for input (the password).
Is there some way to provide the shell a password or to give a command to create a password file?
cat > /path/passwordfile << "EOF"
Here I paste my original passwordfile