LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-23-2010, 09:43 AM   #1
mdynac
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware-14
Posts: 46

Rep: Reputation: 16
i lost my system shell......


well okay, this time i really borked it up.

i was attempting to "speed up boot time" by using the "dash" shell instead of "bash"

there is a post on here which describes this.

i installed the scripts and uhhhh....rebooted

now it seems that i kinda sorta forgot to install "dash" before reboot and now i
have no system shell.

no root user access
only my regular user works, kinda...

it seems that i cannot edit anything either

it won't do any temp data
so with mc i cannot save any edited files.....

prompt looks like this

michael@(none):



i am hoping i just need to install dash......
but with limited power at the command prompt this may be interesting.

any help would be appreciated.

michael
 
Old 04-23-2010, 09:48 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
which post has the instructions?
 
Old 04-23-2010, 09:55 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,382

Rep: Reputation: Disabled
Boot with slack install disk.
mount /dev/sda1 /mnt (or whatever your partition is)
vi /mnt/etc/rc.d/rc.whateverfilesyouchanged

Change them back to bash. Reboot. Install dash. Start again.
 
Old 04-23-2010, 09:57 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,547

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
Quote:
Originally Posted by mdynac View Post
well okay, this time i really borked it up.

i was attempting to "speed up boot time" by using the "dash" shell instead of "bash"

there is a post on here which describes this.

i installed the scripts and uhhhh....rebooted

now it seems that i kinda sorta forgot to install "dash" before reboot and now i
have no system shell.

no root user access
only my regular user works, kinda...

it seems that i cannot edit anything either

it won't do any temp data
so with mc i cannot save any edited files.....

prompt looks like this

michael@(none):



i am hoping i just need to install dash......
but with limited power at the command prompt this may be interesting.

any help would be appreciated.

michael
Slackware requires bash as the default shell for the root user as well as the init scripts.
If you use any other shell, correct behaviour of Slackware is not guaranteed. Your mileage may vary but don't complain if thing won't work...

Eric
 
Old 04-23-2010, 09:57 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Boot a live CD and either install dash or change the scripts back to normal. The same thing happened to me, I changed the scripts back to normal. I figure stability and flexibility are more important than speed.
 
Old 04-23-2010, 10:51 AM   #6
mdynac
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware-14
Posts: 46

Original Poster
Rep: Reputation: 16
okay

i booted with a ubuntu live cd.

mounted the hard drive and edited the files back
to bash.

now things are back to normal.

thanks much guys....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 07:38 PM
[SOLVED] shell script returning counter value from a while loop - lost upon completion logan960 Programming 2 11-19-2009 06:30 AM
KNetworkManager and Shell Scripts ~ lost in execution. javaguy78 Linux - Hardware 0 07-17-2006 12:50 AM
'sh' shell - Actually calls legacy Bourne shell, or uses system default? Dtsazza Linux - Software 1 10-28-2005 09:20 AM
Lost pane,issues when creating alias from the bash shell spoult Linux - Software 2 04-19-2005 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration