after running the command " sudo update-initramfs -u", the outut was:
update-initramfs: Generating /boot/initrd.img-6.8.0-51-generic I: The initramfs will attempt to resume from /dev/sda8 I: (UUID=b0bb9508-cec9-462b-a6b9-79c05117cf70) I: Set the RESUME variable to override this. cpio: 写错误: 设备上没有空间 E: mkinitramfs failure uncompressed cpio 2 update-initramfs: failed for /boot/initrd.img-6.8.0-51-generic with 1. I wonder what size is more appropriate for linux /boot Settings. Thank you very much. ------------------ Original ------------------ From: "Benjamin Drung"<[email protected]>; Date: Tue, Jan 21, 2025 09:25 PM To: "zhangzhichao"<[email protected]>; Subject: [Bug 2095405] Re: package initramfs-tools 0.142ubuntu25.1 failed to install/upgrade: 已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1 Thank you for taking the time to report this bug and contributing to Ubuntu. The DpkgTerminalLog.txt does not contain the needed logs. Can you run following command and post the output? sudo update-initramfs -u Looking at Df.txt points to a probable cause: Your /boot is only 300 MB in size and 79% used. This is probably too small. ** Changed in: initramfs-tools (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/2095405 Title: package initramfs-tools 0.142ubuntu25.1 failed to install/upgrade: 已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1 Status in initramfs-tools package in Ubuntu: Incomplete Bug description: I was prompted to complete the installation of ubuntu24.04 and was prompted with this error. Please help me solve it. ProblemType: Package DistroRelease: Ubuntu 24.04 Package: initramfs-tools 0.142ubuntu25.1 ProcVersionSignature: Ubuntu 6.8.0-51.52-generic 6.8.12 Uname: Linux 6.8.0-51-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CasperMD5CheckResult: pass Date: Tue Jan 21 10:47:49 2025 ErrorMessage: 已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1 InstallationDate: Installed on 2025-01-21 (0 days ago) InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1) PackageArchitecture: all Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.22.6ubuntu6.1 apt 2.7.14build2 SourcePackage: initramfs-tools Title: package initramfs-tools 0.142ubuntu25.1 failed to install/upgrade: 已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2095405/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2095405 Title: package initramfs-tools 0.142ubuntu25.1 failed to install/upgrade: 已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2095405/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
