[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Technical Inquiry



On Sat, Mar 21, 2009 at 02:13:23PM -0400, Chris Jones wrote:
> On Sat, Mar 21, 2009 at 10:13:44AM EDT, Douglas A. Tutty wrote:
> > On Fri, Mar 20, 2009 at 04:57:29PM +0000, Lisi Reisz wrote:
> 
> > > The method suggested by Doug would still not give you write access,
> > > which you would need in order to change root's password.
> 
> > Well, once you're root (with init=/bin/sh), you remount / rw.  If you
> > have a non-traditional / setup, one possibility is to run each of the
> > initscripts in /etc/rcS.d with the "start" parameter, in numerical
> > order, until / is mounted rw.
> 
> Shouldn't..
> 
> # mount
> 
> .. tell you all you need to know?
> 
> Or are you referring to something else?

Well, if you look in /etc/rcS.d, you'll see all the initscripts that get
run prior to / being mountd rw.  For example, one is setting the system
clock.  Another is mounting the kernel virt fs.

On my particular box, I can probably go ahead and remount / rw from the
sh prompt without any preliminary steps.  However, I don't know what the
OP's box is like.  

Doug.


Reply to: