2

I understand that the file fstab serves to know how, where, and with what options to mount each of the partitions, including the root partition. But, how can it be that the system reads the file fstab, if it is assumed that the root partition is not mounted until the system reads the fstab file and knows how to mount the root partition? When is the root partition mounted?

4
  • 1
    That is what the initrd file is for. Feb 21, 2018 at 10:08
  • Related question: How does a kernel mount the root partition?
    – ErikF
    Feb 21, 2018 at 10:09
  • So, what is the use of specifying the options of the root partition in fstab if they are already in initrd?
    – Daniel
    Feb 21, 2018 at 10:11
  • 2
    @Daniel It allows for the root filesystem to be remounted with the mount options specified in that file.
    – Kusalananda
    Feb 21, 2018 at 10:13

0

Browse other questions tagged or ask your own question.