Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-16 Thread marco restelli
2017-02-15 16:19 GMT+01:00, Rich Freeman : >> >>> Anytime you see something like root=UUID=* that is being handled by an >>> initramfs. >> >> I understand that this parameter is passed by the kernel to the init >> script inside the initramfs which then uses "busybox findfs" to >> translate the UUID

Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-15 Thread Rich Freeman
On Wed, Feb 15, 2017 at 5:58 AM, marco restelli wrote: > >> The short version is that the kernel is very limited in what it can >> take in the root= option on the command line, and grub and other >> bootloaders don't do anything to ID the root filesystem other than >> passing whatever root= parame

Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-15 Thread marco restelli
2017-02-13 12:47 GMT+01:00, Johannes Rosenberger : > On 13.02.2017 12:34, Rich Freeman wrote: >> On Mon, Feb 13, 2017 at 5:53 AM, marco restelli >> wrote: >>> Could you suggest any reference about how an initramfs can help making >>> it easier to identify the correct root filesystem? Does this >>>

Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-15 Thread marco restelli
2017-02-13 12:34 GMT+01:00, Rich Freeman : > On Mon, Feb 13, 2017 at 5:53 AM, marco restelli > wrote: >> >> Could you suggest any reference about how an initramfs can help making >> it easier to identify the correct root filesystem? Does this >> functionality overlap with what grub can do, or is s

Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-13 Thread Daniel Frey
On 02/13/2017 03:34 AM, Rich Freeman wrote: > Anytime you see something like root=UUID=* that is being handled by an > initramfs. And of course a UUID is more reliable than a device name, > since the latter can change if you add/remove a device, or maybe even > if your firmware is having a bad day

Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-13 Thread Johannes Rosenberger
On 13.02.2017 12:34, Rich Freeman wrote: > On Mon, Feb 13, 2017 at 5:53 AM, marco restelli wrote: >> Could you suggest any reference about how an initramfs can help making >> it easier to identify the correct root filesystem? Does this >> functionality overlap with what grub can do, or is somethin

Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-13 Thread Rich Freeman
On Mon, Feb 13, 2017 at 5:53 AM, marco restelli wrote: > > Could you suggest any reference about how an initramfs can help making > it easier to identify the correct root filesystem? Does this > functionality overlap with what grub can do, or is something > different? > The dracut references are

Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-13 Thread marco restelli
2017-02-10 13:35 GMT+01:00, Rich Freeman : > On Fri, Feb 10, 2017 at 6:58 AM, marco restelli > wrote: >> Hi all, >>I am trying to understand a bit initramfs and genkernel and I have >> few (basic) questions. > >> - how does genkernel decide which modules to put in the initramfs ? > > I can't s

Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-10 Thread Rich Freeman
On Fri, Feb 10, 2017 at 6:58 AM, marco restelli wrote: > Hi all, >I am trying to understand a bit initramfs and genkernel and I have > few (basic) questions. > > I understand that one must have in the initramfs those modules which > are required to boot the system, for instance to access /dev

[gentoo-user] Kernel modules: initramfs vs. /lib/modules

2017-02-10 Thread marco restelli
Hi all, I am trying to understand a bit initramfs and genkernel and I have few (basic) questions. I understand that one must have in the initramfs those modules which are required to boot the system, for instance to access /dev . Now: - can a module be present both in the initramfs and as kern