How to recover from invalid inittab file?
akonstam at trinity.edu
akonstam at trinity.edu
Mon Feb 14 21:59:22 UTC 2005
On Mon, Feb 14, 2005 at 08:06:56AM -0800, Daniel Buggie wrote:
<snip>
> >
>
> Either boot using Roberts suggestion or use rescue mode. Either way,
> once your booted do the following:
>
> Back up the existing (bad) inittab file in case this doesn't work.
>
> Get a copy of the initscripts rpm appropriate for your version of
> Fedora, then run the following:
>
> rpm2cpio initscripts-x.y.z.i386.rpm | cpio -ivd ./etc/inittab
>
> Check out the new inittab file and compare with the old. If the new one
> seems sane, copy it to /etc/, reboot, and cross your fingers.
>
> Daniel
>
I support Daniels suggestion but I suspect the line:
id:5:initdefault:
is what is missing. You could add that line as the first uncommented
line in the file and see what happens.
--
=======================================================================
What passes for optimism is most often the effect of an intellectual error.
-- Raymond Aron, "The Opium of the Intellectuals"
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
One Trinity Place.
San Antonio, TX 78212-7200
telephone: (210)-999-7484
email:akonstam at trinity.edu
More information about the fedora-list
mailing list