I was referring to the partition that the kernel is on. The kernel can't be read without its partition being mounted in some kind of way. As Tom suggested, I think the partition is mounted read-only at first and then mounted read-write after the kernel is loaded and fscks (if any) are done. On Thu, 16 Aug 2001 08:51, etharp wrote: > 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: > ---------------------------------------- -- Sridhar Dhanapalan. "There are two major products that come from Berkeley: LSD and UNIX. We don't believe this to be a coincidence." -- Jeremy S. Anderson
Want to buy your Pack or Services from MandrakeSoft? Go to http://wwww.mandrakestore.com