You are not logged in.

#1 2019-12-02 13:52:15

chuckiv
Member
Registered: 2013-10-28
Posts: 106

[SOLVED] silent boot - adding kernel parameters without a bootloader

When looking at silent boot https://wiki.archlinux.org/index.php/Silent_boot
it says "Change the kernel parameters using the configuration options of your boot loader."

Also https://bbs.archlinux.org/viewtopic.php?id=249106 regarding slow systemd-random-seed.service says add random.trust_cpu=on to the kernel command line in your bootloader.

I don't HAVE a bootloader! LOL!

Can I edit or add new entry like

# efibootmgr --disk /dev/sdX --part Y --create --label "Arch Linux" --loader /vmlinuz-linux --unicode 'root=PARTUUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX rw initrd=\initramfs-linux.img' --verbose

but where do I add things like --random.trust_cpu=on and quiet vga=current?

TIA

I'm reading and trying to make sense of this:
https://linux.die.net/man/8/efibootmgr

I suppose I should not have --verbose in there if I want silent boot and can put --random.trust_cpu=on --quiet loglevel=3 vga=current at the end there?

Last edited by chuckiv (2019-12-02 14:38:18)

Offline

#2 2019-12-02 14:08:12

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,786
Website

Re: [SOLVED] silent boot - adding kernel parameters without a bootloader

https://wiki.archlinux.org/index.php/EFISTUB#efibootmgr

Make sure to read the full thing, not just the bits in code tags.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2019-12-02 14:16:22

chuckiv
Member
Registered: 2013-10-28
Posts: 106

Re: [SOLVED] silent boot - adding kernel parameters without a bootloader

I read everything I just don't know what it means.

For example, "Note that the -u/--unicode argument in quotes is just the list of kernel parameters, so you may need to add additional parameters (e.g. for suspend to disk or microcode). "

Firstly, I don't see --unicode in quotes but I do see it. Secondly, I don't know how to correctly interpret this sentence. WHERE do I add the additional parameters? Is --unicode the placeholder where I add the parameters in addition to or instead of --unicode?

Offline

#4 2019-12-02 14:27:40

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 592

Re: [SOLVED] silent boot - adding kernel parameters without a bootloader

--unicode is an option of efibootmgr, the arguments in quotes are the arguments in single quotes after the option:

--unicode 'the kernel parameters go here'

You want something like:

# efibootmgr --disk /dev/sdX --part Y --create --label "Arch Linux" --loader /vmlinuz-linux --unicode 'root=PARTUUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX rw initrd=\initramfs-linux.img ADD_ADDITIONAL_KERNEL_PARAMETERS_HERE' --verbose

Offline

#5 2019-12-02 14:36:51

chuckiv
Member
Registered: 2013-10-28
Posts: 106

Re: [SOLVED] silent boot - adding kernel parameters without a bootloader

@nl6720 omg thanks so much!

that would be a great example to add to the wiki! noobs love visual examples smile  you just saved me hours of trial and error thanks again

Offline

Board footer

Powered by FluxBB