Link to home
Start Free TrialLog in
Avatar of errorik
errorik

asked on

logging in without /dev/ttyX? or general slackware question?

while fixing the kernel to my laptop (slackware 3.5 <2.0.30>), i added the line "/sbin/depmod -a" to my /etc/rc.S file. the problem that i encountered was that i was using a precompiled version of microEMACS that (unknown) to me changed the permissions on rc.S to 700.

so now when i boot up linux can't find the rc.S file, and when i try and log on i get:
        unable to change tty '/dev/tty1' for user 'root'
        unable to change tty /dev/tty1: Bad file number

so is there a way to log into linux with using a tty device?
it is not networked, i was hoping to try sunglu user mode but that fails as well.

one solution that i've seen is that on somewhat related redhat problems, ths user can start a reinstall of the OS, but when asked to do so <ctrl-z> and mount the drive and fix the problem. so if there is not a way to boot into linux i guess i'll be giving that a try.

erik
ASKER CERTIFIED SOLUTION
Avatar of richrussell
richrussell

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of errorik
errorik

ASKER

what i ended up doing was just loading the bootdisk, and when it asked for extra parameters i just had it mount my root partition.

ohterwise the fix that i applied (that caused the problem) didn't work so it was all for naught.

thanks, though.
erik