OK I tried the script again with the same messages popping up again. Unfortunately no messages were written to install.log cos I guess everything installed properly but the error ocurred at the stage of "Copying in new system files"adding directory /etc/polkit-1/localauthority/50-local.d
first two arguments of install_sysdir() must be existing directories
and im afraid as to why there is nothing written on my install.log this time , cos i remember that it was printing error messages earlier
I end up with a system which clearly has crunchbang installed but nothing starts automatically on login, no obmenu , no nothing ... blank screen and a cursor where no key binding works !
ayushjsh, sorry to hear about this problem, and tahks for sticking with it!
I will be putting up a new version of the script in a few days (I hope!), but if you want to push ahead with trying to fix your issue now, my first question would be: why haven't you got an install.log file? The script should exit with an error if it can't create a log file. Is there a folder .cb-netinstall-logs in your home folder? Watch the initial dot. To see "dotfiles" in Thunar you have to press Ctrl+h, and to list them in a terminal you have to use 'ls -a' instead of 'ls'.
If you find your logfile, perhaps you could post the last 20 or 30 lines?
Well I am waiting for your new script I guess. As far as the log file goes, I know how to look for hidden files and I did find the .cb-netinstall-logs file , but it was empty !!! the folder install logs is present with the other files alongside which I guess are for stuff added and removed.
I am distro-hopping and came here after Archbang and I wanted the comfort of Debian with an openbox environment. the only way to get to that was your script as I cant use legacy bios boot form usb on my new laptop and hence cant create a usb bootable for crunchbang installer ( tried some hack with editing grub from debian and using it with crunchbang ) but only to find that the cb-installer does not detect my ethernet and wifi card ( Debian detects wifi and it works fine ! ).
So I am stuck with installing from your script, unless a new version of cb comes out which will take a while.
Fingers crossed for a new version of your script soon and hope it works. Will give feedback once i try it.
OK now half done.
@ayushjsh I found the same error message as you, and finally traced it to permissions on the /etc/polkit-1/localauthority folder, which have changed recently and now forbid even read access to ordinary users, preventing the script from looking inside it to find /etc/polkit-1/localauthority/50-local.d .
Unfortunately, I still have no idea why you have no install.log. I get a ~/.cb-netinstall-logs folder containing 8 files, including install.log and a README.
The script has now been patched to fix the permissions issue, and should succeed in installing CrunchBang, but the package lists and config files have not yet been updated. You could try the current script (download it again) to get an idea of what CrunchBang Waldorf is like, or wait a few more days for the up to date version, with all the current improvements.
Thank you again for finding that permissions issue, which would probably have caused more problems elsewhere if it hadn't been fixed.
@johnraff: due to the fact, that there's more people interested in this script, would you please consider putting it to GitHub* for example, so more people can work on it? I think that everyone involved and interested can only benefit from that (:
* - GitHub is only an example, any VCS will do and if you want to keep more "private" approach of development, I can provide GitLab instance dedicated to Crunchbang scripts etc. development.