inittab problem

inittab problem

am 04.02.2005 12:24:26 von Dermot Paikkos

Hi,

SYS: Slackware 9.1 on Dell Dim 2400, Intel Cel

I have go myself into a bit of a fix. I changed the default runlevel from 3
to 4 so I would get a GUI at boot up. However I haven't correctly
configured my Xserver and now my system is stalling at boot-up and I
can find a way to get access to a shell to edit the inittab.

Does anyone know of a switch/arg I could use that might allow me to
boot the system into single users mode? I thought I could boot from my
floppy which prompts me for a command to use.

Any ideas,
Dp.

~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: inittab problem

am 04.02.2005 12:43:50 von Yannick Van Osselaer

On Friday 04 February 2005 12:24, Dermot Paikkos wrote:
> Hi,
>
> SYS: Slackware 9.1 on Dell Dim 2400, Intel Cel
>
> I have go myself into a bit of a fix. I changed the default runlevel from 3
> to 4 so I would get a GUI at boot up. However I haven't correctly
> configured my Xserver and now my system is stalling at boot-up and I
> can find a way to get access to a shell to edit the inittab.
>
> Does anyone know of a switch/arg I could use that might allow me to
> boot the system into single users mode? I thought I could boot from my
> floppy which prompts me for a command to use.

At the lilo prompt, typ this: init=/bin/sh rw
--
Yannick Van Osselaer

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: inittab problem

am 04.02.2005 13:04:52 von chuck gelm net

Dermot Paikkos wrote:
> Hi,
>
> SYS: Slackware 9.1 on Dell Dim 2400, Intel Cel
>
> I have go myself into a bit of a fix. I changed the default runlevel from 3
> to 4 so I would get a GUI at boot up. However I haven't correctly
> configured my Xserver and now my system is stalling at boot-up and I
> can find a way to get access to a shell to edit the inittab.
>
> Does anyone know of a switch/arg I could use that might allow me to
> boot the system into single users mode? I thought I could boot from my
> floppy which prompts me for a command to use.
>
> Any ideas,
> Dp.
>
> ~~
> Dermot Paikkos * dermot@sciencephoto.com
> Network Administrator @ Science Photo Library
> Phone: 0207 432 1100 * Fax: 0207 286 8668

At the lilo boot prompt
boot: Linux
add 'single', thusly
boot: Linux single
or
boot: Linux multi
perhaps even
boot: Linux emergency

HTH, Chuck

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: inittab problem

am 04.02.2005 16:14:13 von jma5

On Fri, Feb 04, 2005 at 11:24:26AM -0000, Dermot Paikkos wrote:
> Hi,
>
> SYS: Slackware 9.1 on Dell Dim 2400, Intel Cel
>
> I have go myself into a bit of a fix. I changed the default runlevel from 3
> to 4 so I would get a GUI at boot up. However I haven't correctly
> configured my Xserver and now my system is stalling at boot-up and I
> can find a way to get access to a shell to edit the inittab.
>
> Does anyone know of a switch/arg I could use that might allow me to
> boot the system into single users mode? I thought I could boot from my
> floppy which prompts me for a command to use.
>
> Any ideas,
> Dp.
>

At the boot prompt, append a run level number to the kernel image name.

e.g.

boot: zImage 1

(1 is usually single user mode)

boot: zImage 3

(this gets you back into regular multi user text mode)

> ~~
> Dermot Paikkos * dermot@sciencephoto.com
> Network Administrator @ Science Photo Library
> Phone: 0207 432 1100 * Fax: 0207 286 8668
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: inittab problem

am 04.02.2005 16:15:49 von jma5

On Fri, Feb 04, 2005 at 12:43:50PM +0100, Yannick Van Osselaer wrote:
> On Friday 04 February 2005 12:24, Dermot Paikkos wrote:
> > Hi,
> >
> > SYS: Slackware 9.1 on Dell Dim 2400, Intel Cel
> >
> > I have go myself into a bit of a fix. I changed the default runlevel from 3
> > to 4 so I would get a GUI at boot up. However I haven't correctly
> > configured my Xserver and now my system is stalling at boot-up and I
> > can find a way to get access to a shell to edit the inittab.
> >
> > Does anyone know of a switch/arg I could use that might allow me to
> > boot the system into single users mode? I thought I could boot from my
> > floppy which prompts me for a command to use.
>
> At the lilo prompt, typ this: init=/bin/sh rw

You'll have to do a disk sync and run 'umount -a' before turning your computer
off via the power switch if you boot this way.

> --
> Yannick Van Osselaer
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html