mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +00:00
qemu-coreboot: Add modules libata, libahci and ahci to initrd
To be able to boot a disk image, passed to QEMU with `-hda /path/qemu.img`, the appropriate modules are needed. Strange, `libata` is not enough, and the drive is only detected, when the module `ahci` is loaded. > ata1.00: ATA-7: QEMU HARDDISK, 2.5+, max UDMA/100 Tested with QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7) with the command below, qemu-system-x86_64 -enable-kvm -M q35 -m 1G -bios \ qemu-coreboot/coreboot.rom -serial stdio -L /dev/shm -hda \ /dev/shm/qemu-debian.img where `qemu-debian.img` is created with grml-debootstrap. grml-debootstrap --vmfile --vmsize 3G --target \ /dev/shm/qemu-debian.img -r sid
This commit is contained in:
parent
9c95b4ed58
commit
1585f596d1
@ -25,6 +25,8 @@ CONFIG_NEWT=y
|
|||||||
CONFIG_SLANG=y
|
CONFIG_SLANG=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CONFIG_LINUX_ATA=y
|
||||||
|
CONFIG_LINUX_AHCI=y
|
||||||
CONFIG_LINUX_USB=y
|
CONFIG_LINUX_USB=y
|
||||||
CONFIG_LINUX_E1000=y
|
CONFIG_LINUX_E1000=y
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user