--- In "Yan Seiner" <> wrote:
>
> --- In "aceboy200" <Jacques005@> wrote:
> >
> > Hey guys,
> >
> > I am in a sticky situation. I wanted to run a program at startup, so
> > I called the program from /etc/rC.d/rcS.sysinit. However, the program
> > runs forever. I thought I would be able to ctrl-c out of it, but
> > alas, no. It runs in the foreground, causing the console to hang.
> >
> > Basically, I just need to get to the main login prompt so I can fix
> > things, but (I am fairly new to this) I don't know how to get there.
> > I have played around with redboot a bit, but no luck.
> >
> > Any ideas?
> >
>
> I *think* you may be able to append 'single' to the kernel command
> line and it should drop you into a single user shell rather than
> executing any startup scripts. It's been a while since I tried this,
> and I haven't tried this with the TS kernels....
>
> In the future, boot via NFS and do your testing that way. If you blow
> up the NFS image, no big deal. :-)
>
> --Yan
>
If that doesn't work, try adding an 'S' to the command line instead of
'single'.
And if it's still no-go, try adding 'init=/bin/sh' to the command line
instead. That will bypass calling init at startup completely, and
just call bash instead.
Yan's right about NFS ... it's also easier to fix your development
system from the NFS host side.
Regards, ....Charlie
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|