You are not logged in.

#1 2014-09-30 05:41:13

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

EFIstub, kernel command line parameters

Hello,
I read this post and this post, so I'd like to know about the kernel option to load the command line from a file, rather than write it direclty to the NVRAM, the so-called linux.conf, that should reside in the same kernel path.
Is there with the current kernel, or should I patch it?
What would it be, then, the kernel's command line option to use it?


do it good first, it will be faster than do it twice the saint wink

Offline

#2 2014-09-30 09:10:27

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: EFIstub, kernel command line parameters

Use gummiboot. No kernel patching required.

Offline

#3 2014-10-01 11:33:31

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: EFIstub, kernel command line parameters

I've gummiboot installed, but I usually boot the kernel directly.
The problem remain when I need to update the kernel command line.


do it good first, it will be faster than do it twice the saint wink

Offline

#4 2014-10-01 14:53:00

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: EFIstub, kernel command line parameters

TheSaint wrote:

I've gummiboot installed, but I usually boot the kernel directly.
The problem remain when I need to update the kernel command line.

Why do you refuse to use gummiboot?

Offline

#5 2014-10-01 18:09:46

stevenhoneyman
Member
From: England
Registered: 2014-05-25
Posts: 241

Re: EFIstub, kernel command line parameters

You can either:

1. Use a bootloader
2. Change nvram settings
3. Patch the kernel (but then if it's just for 1 PC, you might as well "hard-code" the parameters in)

Offline

#6 2014-10-02 03:16:43

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: EFIstub, kernel command line parameters

Point 1, I have one scarcely used,
Point 2, maybe I should write the config in a file and tell efibootmgr to load from there. That would avoid keep track of may changes. Reading from NVRAM comes hard, due to the zero spacing (or unicoding) of its content.

On top of the topic, that means there is no kernel yet, which will load command parameters from a file, isn't it?

Probably it is possible, but I should do it on my own as this mentions.


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB