ts-7000
[Top] [All Lists]

[ts-7000] Re: How to Bypass/Edit Startup Script (rcS.sysinit)

To:
Subject: [ts-7000] Re: How to Bypass/Edit Startup Script (rcS.sysinit)
From: "charliem_1216" <>
Date: Fri, 12 Jan 2007 00:53:01 -0000
--- 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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU