Re: [systemd-devel] hardware conditional OS boot/load

2021-11-19 Thread Greg KH
On Thu, Nov 18, 2021 at 07:16:55PM +, lejeczek wrote:
> Hi guys.
> 
> I hope an expert(or two) could shed some light - I ain't a kernel nor
> hardware expert so go easy on me please - on whether it is possible to boot
> system only under certain conditions, meaning: as early as possible (grub?)
> and similarly securely, Linux checks for certain hardware, eg. CPU serial
> no. and continue to load only when such conditions are met?
> 
> I realize that perhaps kernel devel be the place for such questions but seen
> I'm subscriber here, knowing people here are experts of same caliber, I
> decided to ask.

Try asking on the kernelnewbies mailing list.


Re: [systemd-devel] hardware conditional OS boot/load

2021-11-19 Thread Lennart Poettering
On Do, 18.11.21 19:16, lejeczek (pelj...@yahoo.co.uk) wrote:

> Hi guys.
>
> I hope an expert(or two) could shed some light - I ain't a kernel nor
> hardware expert so go easy on me please - on whether it is possible to boot
> system only under certain conditions, meaning: as early as possible (grub?)
> and similarly securely, Linux checks for certain hardware, eg. CPU serial
> no. and continue to load only when such conditions are met?
>
> I realize that perhaps kernel devel be the place for such questions but seen
> I'm subscriber here, knowing people here are experts of same caliber, I
> decided to ask.

You can certainly hack something up like this, but to my knowledge
none of the boot loaders currently implement something like this.

Lennart

--
Lennart Poettering, Berlin