[SOLVED] Edit systemd-boot

NotABot

Active Member
Nov 13, 2018
11
0
41
52
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!