By accident, I renamed /bin/bash into /bin/notbash and as a result, Linux won't run. Is there a way for me to make linux use the notbash instead of bash when it boots? Some boot parameter maybe?
Printable View
By accident, I renamed /bin/bash into /bin/notbash and as a result, Linux won't run. Is there a way for me to make linux use the notbash instead of bash when it boots? Some boot parameter maybe?
What version of linux mandrake or red hat??
..or Slackware or Debian or SuSE :pQuote:
Originally posted by Beacon
What version of linux mandrake or red hat??
or *shudder* corel
Quote:
Originally posted by Microbasic
By accident, I renamed /bin/bash into /bin/notbash and as a result, Linux won't run. Is there a way for me to make linux use the notbash instead of bash when it boots? Some boot parameter maybe?
This is the silliest thing to do... why would you rename a shell ?
Do you have a "Linux in a floppy" distro?
One such thing is here
http://www.wu-wien.ac.at/usr/h93/h9301726/dlx.html
Just download and ave it to a floppy. Boot from it.
mount your existing ext2 system on the hard disk.
Rename the notbash to bash file.
I must agree renaming a shell isnt this best thing you can do!
It's like renaming the windows directory!!