mistyping the kernel version can do you in
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
I mistyped the kernel version when running update-initramfs e.g.:
sudo update-initramfs -u -k 4.1.3.0-11-generic
[sudo] password for bdmurray:
update-initramfs: Generating /boot/initrd.
WARNING: missing /lib/modules/
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/
depmod: WARNING: could not open /var/tmp/
I now have a bad(?) initrd in my /boot partition:
ls -lh /boot
...
-rw-r--r-- 1 root root 8.8M Oct 5 15:10 initrd.
-rw-r--r-- 1 root root 32M Oct 4 14:46 initrd.
-rw-r--r-- 1 root root 32M Oct 4 14:49 initrd.
...
And that version number was written to /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: initramfs-tools 0.125ubuntu11
ProcVersionSign
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Oct 5 15:14:04 2017
InstallationDate: Installed on 2016-01-22 (622 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160117)
PackageArchitec
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: wayland-session |
summary: |
- a mistype of the kernel version can do you in + mistyping the kernel version can do you in |