* Re: Big trouble with inittab, Linux is dead, please help
[not found] <5ul681$bcf$1@sunburst.ccs.yorku.ca>
@ 1997-09-04 4:00 ` Trent Piepho
1997-09-05 4:00 ` Paul Slootman
1 sibling, 0 replies; 2+ messages in thread
From: Trent Piepho @ 1997-09-04 4:00 UTC (permalink / raw)
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 |
^ permalink raw reply [flat|nested] 2+ messages in thread