-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Distribution:
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
apt policy kernelstub:
kernelstub:
Installed: 3.1.0
Candidate: 3.1.0
Version table:
*** 3.1.0 100
100 /var/lib/dpkg/status
Issue/Bug Description:
I was following this guide to try and enable single GPU passthrough for qemu, when I got to the kernelstub section (sudo kernelstub --add-options "amd_iommu=on") and the process failed. I was unable to patch the kernel because I ran out of space on the /boot/efi/ partition, and now whenever I login to Ubuntu I get a notice that only about 3 kilobytes are remaining there. This obviously has me worried, what are the reasons for this and is there anything I can do to clear up enough space to still use kernelstub to enable iommu?
I use the lowlatency kernel, but I still have a generic kernel I can boot into if I want, and the system seems to keep a couple of past releases by default. Here are the contents of my /boot/ directory:
# ls -1 /boot
config-5.15.0-116-generic
config-5.15.0-60-lowlatency
config-5.19.0-1030-lowlatency
config-6.2.0-1018-lowlatency
config-6.5.0-41-lowlatency
config-6.5.0-42-lowlatency
efi
grub
initrd.img
initrd.img-5.15.0-116-generic
initrd.img-5.15.0-60-lowlatency
initrd.img-5.19.0-1030-lowlatency
initrd.img-6.2.0-1013-lowlatency
initrd.img-6.2.0-1014-lowlatency
initrd.img-6.2.0-1018-lowlatency
initrd.img-6.5.0-15-lowlatency
initrd.img-6.5.0-21-lowlatency
initrd.img-6.5.0-41-lowlatency
initrd.img-6.5.0-42-lowlatency
initrd.img.old
memtest86+.bin
memtest86+.elf
memtest86+_multiboot.bin
System.map-5.15.0-116-generic
System.map-5.15.0-60-lowlatency
System.map-5.19.0-1030-lowlatency
System.map-6.2.0-1018-lowlatency
System.map-6.5.0-41-lowlatency
System.map-6.5.0-42-lowlatency
vmlinuz
vmlinuz-5.15.0-116-generic
vmlinuz-5.15.0-60-lowlatency
vmlinuz-5.19.0-1030-lowlatency
vmlinuz-6.2.0-1018-lowlatency
vmlinuz-6.5.0-41-lowlatency
vmlinuz-6.5.0-42-lowlatency
vmlinuz.old
Steps to reproduce (if you know):
- Find an Ubuntu install with a non-standard kernel
- Run
sudo kernelstub --add-options "amd_iommu=on"
Expected behavior:
The kernel modification should complete successfully, or the program should give some guidance as to what new files were introduced to the /boot/ directory