Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: xyzzy@u.washington.edu (Trent Piepho)
Subject: Re: Big trouble with inittab, Linux is dead, please help
Date: 1997/09/04	[thread overview]
Message-ID: <5ulrlg$1ee8@nntp6.u.washington.edu> (raw)
In-Reply-To: 5ul681$bcf$1@sunburst.ccs.yorku.ca


In article <5ul681$bcf$1@sunburst.ccs.yorku.ca>,
Fan Lin <yu203403@yorku.ca> 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  |



       reply	other threads:[~1997-09-04  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5ul681$bcf$1@sunburst.ccs.yorku.ca>
1997-09-04  4:00 ` Trent Piepho [this message]
1997-09-05  4:00 ` Big trouble with inittab, Linux is dead, please help Paul Slootman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox