[SOLVED] Edit systemd-boot

NotABot

Active Member
Nov 13, 2018
11
0
41
53
Hello,

I'd like to add a kernel command to systemd-boot but only have its syntax for grub

GRUB_CMDLINE_LINUX_DEFAULT="usbcore.quirks=0bda:8156:k quiet splash"

Specifically I'd like to add
usbcore.quirks=0bda:8156:k

Can anyone help with the correct syntax for systemd-boot to go into /etc/kernel/cmdline

I'd like to confirm before I go about testing stuff and breaking stuff :)

Thanks
 
I'd like to add a kernel command to systemd-boot but only have its syntax for grub

GRUB_CMDLINE_LINUX_DEFAULT="usbcore.quirks=0bda:8156:k quiet splash"

Specifically I'd like to add
usbcore.quirks=0bda:8156:k

Can anyone help with the correct syntax for systemd-boot to go into /etc/kernel/cmdline
The kernel command-line syntax for setting kernel parameters is always the same. Just make sure to put in on a single line (see also the Proxmox manual). If you share the output of cat /etc/kernel/cmdline, please can show you to just add it at the end of the line (after a space).
 
Thanks for your help in confirming both the syntax and where to place my command.

Output of cat /etc/kernel/cmdline

root=ZFS=rpool/ROOT/pve-1 boot=zfs usbcore.quirks=0bda:8156:k

But From what you said it should probably be

root=ZFS=rpool/ROOT/pve-1 boot=zfs usbcore.quirks=0bda:8156:k
 
Last edited: