Leendert Meyer wrote:
Normally USER should be set to the user's login id. If not, try:
user=`id -nu`; echo "$user"
I used lowercase becase 1) case matters, and 2) USER is already taken (in use by the system). Thank you so much! I really liked bash scripting, collected a lot of documentation to dig in ;) What does 'grep inittab /root/.bash_history' say? file inittab cat inittab joe /etc/inittab & cat /etc/inittab cat /etc/inittab cat /etc/inittab | grep X11 cat /etc/inittab | grep fdm joe /etc/inittab
I was using joe, only to change the default runlevel. So seems nothing unusual which could harm the files.
INIT: version 2.85 booting INIT: cannot execute "/etc/init.d/boot" INIT: Entering runlevel: 5 INIT: cannot execute "/etc/init.d/rc"
Oops. Is /etc/init.d emptied? I checked...Yes :( One thing really dissapoints me, that it came "just from nowhere", I checked all the .bash_history and nothing (as far as I understand) which can be destructive. Maybe I have done something indirect which caused that. Try 'init=/bin/bash' at the boot prompt. That gives you a shell to work in. Nothing fancy, no services are started, etc.
Maybe the easiest would be to re-install, after you've saved your precious files (if any). Take care, don't rush. ;) Seems that I will have to spend this Sunday on that... Anyway, thank you very much Leendert, you helped me lot and inspired me to go deeper(or higher, if from point of view of learning curve;)) with bash scripting.
Regards, -- Sergey Mkrtchyan Scientific Researcher Department of Molecular Physics, Faculty of Physics, Yerevan State University Tel: (374-10) 55-43-41 Fax: (374-10) 57-76-89