Re: Theoretical Question--Mounting Root at Boot



Linux A. Wannabe PizzaPie wrote:
Hi,

I'm a mid-level noob, and I'm trying to better understand the bootup
process.  I learned rdev tells your kernel where to find the root
filesystem.  So the kernel must mount that filesystem on / (how does the
kernel know what mount options to use here?).  After mounting the root
fs,  Linux can now access /etc/fstab.  So why does fstab need a line for
how to mount root,  if the kernel somehow already mounted root
successfully?

I am an experienced noob as well. But I do belieave that the kernal mounts root as read-only then mounts it as Read/write. If I am wrong sombody correct me please, Thanks.
.




Relevant Pages

  • 2.6 kernel NFS root mount problem
    ... I'm tying to run 2.6.18 kernel on ARM AT91RM9200DK board with NFS mount ... usb usb1: Product: AT91 OHCI ... Unable to mount root fs via NFS, ...
    (Linux-Kernel)
  • NFS root mount problem
    ... I'm tying to run 2.6.18 kernel on ARM AT91RM9200DK board with NFS mount ... usb usb1: Product: AT91 OHCI ... Unable to mount root fs via NFS, ...
    (Linux-Kernel)
  • Re: mount weirdness
    ... the first call to mount, just after boot ... the root partition, which contains /etc/fstab. ... grub and lilo load the kernel, but do no mounting of any kind (grub ... The kernel, once loaded, then mounts the root filesystem or loads code ...
    (uk.comp.os.linux)
  • Re: fsck fails during boot with 2.6.9-34.0.1.EL kernel because root filesystem is already rw mou
    ... I think there was a little fault in building the new initrd. ... The mount-command of the init-script is wrong and makes confusing, e.g.: first the root-filesystem must mount read/write, it accepts. ... It looks like in the early stage of the booting, when the kernel is using the initrd to load the ... I still do not understand why in my new initrd file, with the new kernel, the root filesystem is ...
    (RedHat)
  • Re: [RFC] FUSE permission modell (Was: fuse review bits)
    ... This can be disabled by one of two mount ... However you can't restrict root that way, ... you need the userspace daemon to set the permissions on the root ... > But why does the kernel need to know anything about this? ...
    (Linux-Kernel)