init (and so is framebuffer mode I think) runs after initrd. I think initrd is also optional unless I'm mixing things.
Top-level
init (and so is framebuffer mode I think) runs after initrd. I think initrd is also optional unless I'm mixing things. 4 comments
@iska @Suiseiseki Then a lot of other shit happens, agetty or something similar gets started and you get the login prompt. At last! I thought you see the panic in grub's console, at least at this stage. |
@iska @Suiseiseki It sure does! the bootloader reads initrd image and just passes it to the kernel. Kernel doesn't know shit about most file systems at this point. The init itself is in initrd image (so initrd comes first), so are the filesystem modules. Init inserts filesystem modules (and the modules required for the block devices to work) into the kernel then mounts the real root filesystem, now that it has the proper filesystem support and has the block device accessible.