[SOLVED] How to create /etc/kernel/cmdline

jjuk

New Member
Jun 30, 2023
13
2
3
My PVE doesn't has cmdline file in /etc/kernel/. Therefore, I think I have to create one.
Many people have post their cmdline file content on the web. It is "root=ZFS=rpool/ROOT/pve-1 boot=zfs". What makes me concern about is the "ZFS". I believe it means the file system. However, none of the storage in my PVE use ZFS. My PVE is boot from a BTRFS volume. I also has a LVM-thin volume for storing VM images.

I've tried copying the content in /proc/cmdline (below), and then paste on the newly created /etc/kernel/cmdline. After run "pve-efiboot-tool refresh" and restart. I couldn't see anything has changed.
BOOT_IMAGE=/boot/vmlinuz-6.2.16-3-pve root=UUID=db31bc35-1226-426e-bcf4-a285c235f0d5 ro quiet​

The reason of adding /etc/kernel/cmdline file is that I want to enable IOMMU. Any suggestion is appreciated.
 

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!