ehh,,, the kernel is read into memory, then the disk unmounted?


On Wednesday 15 August 2001 11:02, Sridhar Dhanapalan wrote:
> Good question. You've gotten me wondering about that too. If you wanted to
> do it manually I would assume that you would have to boot from (or chroot
> to) another filesystem (like a CD or floppy). How do fscks work on boot?
> When an fsck is needed at bootup, it is run _before_ the partiton is
> mounted.
>
> This brings up another question. How is the kernel loaded when the
> filesystem it is on hasn't been mounted yet? I assume that the principle
> would be the same as with the fsck situation above. This question doesn't
> only apply to Linux, but to all kernels.
>
> Hmmm...
>
> On Wed, 15 Aug 2001 20:50, Paul wrote:
> > It was Wed, 15 Aug 2001 08:07:56 +1000 when Sridhar Dhanapalan wrote:
> >
> > One small question then: how would you go about fsck-ing the partition
> > that has the fsck binary on it? You can't run it when it is not mounted,
> > and you can't run it when it's mounted.
> > Would cp-ing the program be the solution?
> > Paul
> >
> > >> The procedure I gave, and for which I believe the question conserned,
> > >> was to be used during boot when the auto fsck is unable to complete
> > >> and the sysetm request that a manual fsck be run.
> > >> If run at this time no partition has has yet been mounted so using
> > >> an unmount command would be pointless and unnecessary.
> > >
> > >Very true. I just thought I should add that disclaimer just in case
> > > someone wanted to fsck a mounted filesystem :-)

----------------------------------------
Content-Type: text/plain; charset="iso-8859-1"; name="message.footer"
Content-Transfer-Encoding: 8bit
Content-Description: 
----------------------------------------

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwww.mandrakestore.com

Reply via email to