来自update-initramfs的源代码的内核编译:生成/boot/initrd.img-4.7.1

时间:2018-02-08 14:58:30

标签: linux

我一直在尝试从源代码编译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

1 个答案:

答案 0 :(得分:0)

解决方案是添加:

/etc/mdadm/mdadm.conf中的

ARRAY <ignore> devices=/dev/sda

相关问题