Who reads etc fstab?

Who reads etc fstab?

The /etc/fstab file is used by the mount command, which reads the file to determine which options should be used when mounting the specified device. A line that begins with a hash mark (#) is a comment and is ignored. As you can see from the output above, each line consists of six fields.

Is initramfs needed?

The only purpose of an initramfs is to mount the root filesystem. The initramfs is a complete set of directories that you would find on a normal root filesystem. It is bundled into a single cpio archive and compressed with one of several compression algorithms. In this situation, an initramfs is rarely needed.

What do you need to know about initramfs?

What you need to understand about initramfs is that it is a filesystem. Since kernel 2.6 it is, basically, the only kernel-imposed filesystem (leaving aside VFS, which is arguably also a filesystem) on your machine. Your initramfs image is a disk image.

What does initramfs mean in Ubuntu 15.10?

/dev/sda1: Unexpected … fsck exited …. The root filesystem on /dev/sda1 requires manual fsck. If you are dropped into initramfs, it means that the boot flow stop at the stage of mounting your root filesystem, which is usually in somewhere of your hard disk.

Why is my initramfs trying to mount the partition?

Upon booting the next time, you will see that your initramfs tries to mount the partition before trying to access /etc/fstab and mounting the file systems. See question ” Does initramfs use /etc/fstab? ” for more details.

Where does the boot flow stop in initramfs?

The root filesystem on /dev/sda1 requires manual fsck. If you are dropped into initramfs, it means that the boot flow stop at the stage of mounting your root filesystem, which is usually in somewhere of your hard disk. To understand the above statement, you need to know the knowledge about the booting flow, which in general is: