From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,520130999c0d84e7,start X-Google-Attributes: gid111c93,public From: xyzzy@u.washington.edu (Trent Piepho) Subject: Re: Big trouble with inittab, Linux is dead, please help Date: 1997/09/04 Message-ID: <5ulrlg$1ee8@nntp6.u.washington.edu>#1/1 X-Deja-AN: 269844661 References: <5ul681$bcf$1@sunburst.ccs.yorku.ca> Organization: University of Washington NNTP-Posting-User: xyzzy Newsgroups: comp.os.linux.alpha In article <5ul681$bcf$1@sunburst.ccs.yorku.ca>, Fan Lin wrote: >I have slackware installed. I was trying to install postgres and propably >mis-changed file "/etc/inittab" a little bit. When I re-boot Linux, the >system reported "pg: duplicated field" and I have no way to log in the >system to make the correction. > >you have any idea to avoid re-install the system? It is very urgent >for me, Thanks in advance. Boot your computer with one of the slackware boot/root disks. I think the tty one will have more stuff on it. Then mount your root partition and make the changes you need to get it to boot. Do not mount your root partition before you have finished booting, ie not from the LILO prompt but from the shell prompt. Also, if you have a working dos partition and a disk editing software, like norton, you could edit the data in the inittab file. Just search for something like "getty" that is in inittab and make the changes you need. You can't insert or delete text this way, just change characters byte by byte. But if all you need to do is change pg to something else... re-installing is for windoze users, you never have to re-install with Linux. -- |Gazing up to the breeze of the heavens \ on a quest, meaning, reason | |came to be, how it begun \ all alone in the family of the sun | |curiosity teasing everyone \ on our home, third stone from the sun. | |Trent Piepho (xyzzy@u.washington.edu) -- Metallica |