Lost Console Recovery
Wolf Paul
wnp at attctc.Dallas.TX.US
Sun Jul 23 22:35:12 AEST 1989
In article <5817 at pbhyf.PacBell.COM> peb at PacBell.COM (Pat Bowens) writes:
>
>I have a major problem that I need help with. While working with 386
>release 3.0e, I carelessly turned off my console in etc/inittab.
>(I was reaching for the line above it). Now I am in deep spit, as I
>can't get in to turn it back on. (I know....NEXT TIME, PAY ATTENTION)!
>Can anyone suggest a workable recovery from this dumb move?
Step-by-step:
1. Reboot your system using the Build disk from the distribution.
2. /etc/mount /dev/dsk/0s1 /mnt # mount root fs
3. /etc/mount /dev/dsk/0s3 /usr # mount usr fs
(I'm not sure whether the build disk has a /usr directory --
if not, mkdir one.)
4. EXINIT="set directory=/mnt/tmp" ; export EXINIT
(This makes vi use the tmp directory on the hard disk instead
on the floppy)
5. /usr/bin/vi /mnt/etc/inittab # fix inittab
(you can :r /etc/inittab to pull up an original console entry)
6. cd / ; /etc/umount /dev/dsk/0s1 ; /etc/umount /dev/dsk/0s3
7. REBOOT from the hard disk.
--
Wolf N. Paul * 3387 Sam Rayburn Run * Carrollton TX 75007 * (214) 306-9101
UUCP: {texbell, attctc, dalsqnt}!dcs!wnp
DOMAIN: wnp at attctc.dallas.tx.us or wnp%dcs at texbell.swbt.com
NOTICE: As of July 3, 1989, "killer" has become "attctc".
More information about the Comp.unix.microport
mailing list