Corrected, thanks! Re: How do I correct FSTAB?

Derek Broughton news at pointerstop.ca
Mon Sep 18 16:58:08 UTC 2006


Ted Quick wrote:

> That definitely solved it. Thanks for the help. Now I just have to get rid
> of old ideas about how Linux filesystems work.

LOL.  I'm not so sure you need to get rid of ideas about how filesystems
work so much as ideas about how (& when) they become available.

In the initial phase of the load, there's just enough information available
to find the kernel and initrd images (which will usually be in /boot).  I
think lilo actually records physical cylinder/track/sector addresses for
these.  Grub is a little more flexible and only needs you to specify an
address for the partition, and it can find the files from there.

The initrd will contain the filesystem driver for your root (/) filesystem -
but not necessarily any filesystems on other partitions.  So then, / is
checked & mounted.  Since / must contain /etc, at that point /etc/fstab is
available.  Only then are the filesystems named in /etc/fstab mounted.

hth.
-- 
derek





More information about the ubuntu-users mailing list