从 Linux 4.2.0-35-generic 升级到 4.6.0-040600-generic 后 Ubuntu 14.04 将无法启动

从 Linux 4.2.0-35-generic 升级到 4.6.0-040600-generic 后 Ubuntu 14.04 将无法启动

我刚刚尝试在 Dell XPS 15 9550 上的 Ubuntu 14.04 中将内核从 4.2 更新到 4.6。我对 4.6 内核中 USB-C 支持的改进和“戴尔笔记本电脑支持改进”感兴趣。

我通过下载linux-headers-4.6.0-040600_4.6.0-040600.201606100558_all.deblinux-headers-4.6.0-040600-generic_4.6.0-040600.201606100558_amd64.deblinux-image-4.6.0-040600-generic_4.6.0-040600.201606100558_amd64.debhttp://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/进入/tmp并运行dpkg -i /tmp/*.deb.当我尝试使用 4.6 内核启动时,它会将我带入 initramfs BusyBox shell,并显示错误消息ALERT! /dev/disk/by-uuid/1e4790ae-0501-4be4-b965-e2b7c77392eb does not exist. Dropping to a shell

我发现这个类似的问题但无法使用那里的信息来解决这个问题。以下是一些我认为可能有用的信息(blkid/etc/fstabfdisk -l/boot/grub/grub.cfg):(如果还有其他有用的信息,请告诉我!)

17:52:11 ~  λ sudo blkid
/dev/nvme0n1p1: LABEL="ESP" UUID="6441-2C20" TYPE="vfat" 
/dev/nvme0n1p3: LABEL="OS" UUID="8CFA6776FA675C08" TYPE="ntfs" 
/dev/nvme0n1p4: LABEL="WINRETOOLS" UUID="3072C71172C6DAAC" TYPE="ntfs" 
/dev/nvme0n1p5: LABEL="Image" UUID="9676C7B376C79283" TYPE="ntfs" 
/dev/nvme0n1p6: UUID="1e4790ae-0501-4be4-b965-e2b7c77392eb" TYPE="ext4" 
/dev/nvme0n1p7: UUID="5a41f7e3-23ba-4c8d-95cd-7cbfc6579720" TYPE="swap" 
17:55:03 ~  λ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p6 during installation
UUID=1e4790ae-0501-4be4-b965-e2b7c77392eb /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=6441-2C20  /boot/efi       vfat    defaults        0       1
# swap was on /dev/nvme0n1p7 during installation
UUID=5a41f7e3-23ba-4c8d-95cd-7cbfc6579720 none            swap    sw              0       0
17:55:08 ~  λ sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/nvme0n1'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/nvme0n1: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x09e97f16

    Device Boot      Start         End      Blocks   Id  System
/dev/nvme0n1p1               1   500118191   250059095+  ee  GPT
17:55:18 ~  λ cat /boot/grub/grub.cfg
[... elided ...]
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1e4790ae-0501-4be4-b965-e2b7c77392eb' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  1e4790ae-0501-4be4-b965-e2b7c77392eb
else
  search --no-floppy --fs-uuid --set=root 1e4790ae-0501-4be4-b965-e2b7c77392eb
fi
linux   /boot/vmlinuz-4.6.0-040600-generic root=/dev/nvme0n1p6 ro  quiet splash nouveau.modeset=0 $vt_handoff
initrd  /boot/initrd.img-4.6.0-040600-generic
}
[...elided ...]

答案1

也许 dpkg 这里缺少一些步骤。

IIRC,在 Ubuntu 上可以将内核 ppa 添加到您的存储库(使用add-apt-repository),然后用于apt-get安装新内核。

相关内容