initrd 없이는 부팅할 수 없습니다

initrd 없이는 부팅할 수 없습니다

initrd 없이 시스템을 부팅하고 싶고 사용자 정의 커널을 컴파일했습니다. 필요한 모든 것(파일 시스템, 장치 드라이버 등)을 추가했는데 모듈이 아닙니다. 그러나 initrd/initramfs 없이 부팅하려고 하면 다음과 같이 표시됩니다: initramfs 없이는 루트 장치 또는 알 수 없는 블록(0 0)을 열 수 없습니다. 이 문제를 어떻게 해결할 수 있나요? 에러 메시지

lspci -k:

00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel modules: intel_agp
00:01.0 PCI bridge: Intel Corporation 82Q35 Express PCI Express Root Port (rev 02)
    Kernel driver in use: pcieport
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: ata_generic
    Kernel modules: pata_acpi, ata_generic
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: serial
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
    Subsystem: Hewlett-Packard Company Device 2818
    Kernel driver in use: e1000e
    Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: uhci_hcd
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
    Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
    Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
    Subsystem: Hewlett-Packard Company Device 2819
    Kernel driver in use: ahci
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
    Subsystem: ZOTAC International (MCO) Ltd. Device 7214
    Kernel driver in use: nouveau
    Kernel modules: nouveau
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
    Subsystem: ZOTAC International (MCO) Ltd. Device 7214
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

답변1

루트 장치로 /dev/md0이 있는 것 같습니다.

부팅 중에 SW RAID를 자동으로 조립하려면 다음이 필요합니다.

  1. FD(Linux Raid) 유형의 파티션에 있어야 합니다.
  2. --metadata=0.90오래된 슈퍼블록 을 가지려면( mdadm --create.

관련 정보