How does grub boot into initramfs ?

General support questions
Post Reply
ranshalit
Posts: 49
Joined: 2015/12/28 17:01:59

How does grub boot into initramfs ?

Post by ranshalit » 2019/08/14 11:18:55

Hello,

Does anyone knows how kernels knows that it need first to start initramfs ?
I see the line in grub with:
initrd16 <initramfs file>

But I don't understand what actually makes kernel start init in ramfs.

Thanks,
Last edited by ranshalit on 2019/08/18 13:49:49, edited 1 time in total.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: How does grub boot into initramfs ?

Post by aks » 2019/08/17 05:04:17

Grub does not "boot" into initrd, it's passed as an argument and contains the basic things needed (like the device driver to read from persistent storage). More info can be found in the System Administration guide on RHEL 7 docs.

Post Reply