尝试使用 dpkg 手动安装新内核版本 (linux-image-4.4.0-121-generic_4.4.0-121.145_amd64.deb),但似乎失败了,仅报告:Failed to probe /dev/sdc3 for filesystem type
。直到该行之前一切看起来都很好,后面跟着“done”。
我认为我试图将它安装在错误的位置或挂载点。我有 /dev/sda1 和 /dev/sda2,但还有一些其他挂载点。我如何确定安装此包的正确位置并将其指向那里而不是 /dev/sdc3?
更新:
以下是命令和输出:
$ sudo dpkg -i linux-image-4.4.0-121-generic_4.4.0-121.145_amd64.deb
(Reading database ... 237839 files and directories currently installed.)
Preparing to unpack linux-image-4.4.0-121-generic_4.4.0-121.145_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-121-generic (4.4.0-121.145) over (4.4.0-121.145) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
run-parts: executing /etc/kernel/postrm.d/x-grub-legacy-ec2 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
Setting up linux-image-4.4.0-121-generic (4.4.0-121.145) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(4.4.0-121.145 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(4.4.0-121.145 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-121-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-4.4.0-121-generic
Found kernel: /vmlinuz-4.4.0-119-generic
Found kernel: /vmlinuz-4.4.0-116-generic
Found kernel: /vmlinuz-4.4.0-75-generic
Found kernel: /vmlinuz-4.4.0-72-generic
Found kernel: /vmlinuz-4.4.0-71-generic
Found kernel: /vmlinuz-4.4.0-121-generic
Found kernel: /vmlinuz-4.4.0-119-generic
Found kernel: /vmlinuz-4.4.0-116-generic
Found kernel: /vmlinuz-4.4.0-75-generic
Found kernel: /vmlinuz-4.4.0-72-generic
Found kernel: /vmlinuz-4.4.0-71-generic
Updating /boot/grub/menu.lst ... done
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-121-generic /boot/vmlinuz-4.4.0-121-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-121-generic
Found initrd image: /boot/initrd.img-4.4.0-121-generic
Found linux image: /boot/vmlinuz-4.4.0-119-generic
Found initrd image: /boot/initrd.img-4.4.0-119-generic
Found linux image: /boot/vmlinuz-4.4.0-116-generic
Found initrd image: /boot/initrd.img-4.4.0-116-generic
Found linux image: /boot/vmlinuz-4.4.0-75-generic
Found initrd image: /boot/initrd.img-4.4.0-75-generic
Found linux image: /boot/vmlinuz-4.4.0-72-generic
Found initrd image: /boot/initrd.img-4.4.0-72-generic
Found linux image: /boot/vmlinuz-4.4.0-71-generic
Found initrd image: /boot/initrd.img-4.4.0-71-generic
Failed to probe /dev/sdc3 for filesystem type
done
我正在使用的机器上有 sdc1-9。我没有配置这台机器。