Path: utzoo!censor!geac!jtsv16!uunet!wugate!wuarchive!swbatl!texbell!vector!attctc!wnp From: wnp@attctc.Dallas.TX.US (Wolf Paul) Newsgroups: comp.unix.microport Subject: Re: Lost Console Recovery Keywords: Console Message-ID: <8736@attctc.Dallas.TX.US> Date: 23 Jul 89 12:35:12 GMT References: <5817@pbhyf.PacBell.COM> Reply-To: wnp@attctc.Dallas.TX.US (Wolf Paul) Distribution: usa Organization: The Unix(R) Connection BBS, Dallas, Tx Lines: 33 In article <5817@pbhyf.PacBell.COM> peb@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@attctc.dallas.tx.us or wnp%dcs@texbell.swbt.com NOTICE: As of July 3, 1989, "killer" has become "attctc".