[英]Kernel compilation from source frozen at update-initramfs: Generating /boot/initrd.img-4.7.1
我一直在尝试从源代码编译Linux内核v4.7.1,这是到目前为止我所获得的最远的成果。 如何成功完成编译?
以下是控制台上的最后几行,在cpu的使用率达到1%之前,因此,我假设此处的编译已冻结。
INSTALL sound/usb/snd-usbmidi-lib.ko
INSTALL sound/usb/usx2y/snd-usb-us122l.ko
INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
INSTALL virt/lib/irqbypass.ko
DEPMOD 4.7.1
sh ./arch/x86/boot/install.sh 4.7.1 arch/x86/boot/bzImage \
System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.7.1 /boot/vmlinuz-4.7.1
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.7.1 /boot/vmlinuz-4.7.1
update-initramfs: Generating /boot/initrd.img-4.7.1
解决方案是添加:
ARRAY <ignore> devices=/dev/sda
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.