<div dir="ltr">Hello, <div>I want to boot linux by QEMU with coreboot ,and I have some problems in making Linux image. <div>I followed the steps on QEMU Build Tutorial form <a href="http://coreboot.org">coreboot.org</a>.</div><div>(<a href="http://www.coreboot.org/QEMU_Build_Tutorial">http://www.coreboot.org/QEMU_Build_Tutorial</a>)</div><div><h3 style="color:black;margin:0.3em 0px 0px;overflow:hidden;padding-top:0.5em;padding-bottom:0px;border-bottom-style:none;line-height:1.6;font-family:sans-serif;background-image:none;background-repeat:initial"><span class="" id="Creating_a_hard_disk_image"><span style="font-weight:normal">As the </span>Creating a hard disk image <span style="font-weight:normal">section points out: </span></span></h3></div><div><span class=""><span style="font-weight:normal">1.qemu-img create -f raw disk.img 200M</span></span></div><div>2.mkfs.ext2 -F disk.img </div><div>3.mkdir /mnt/rootfs</div><div>4. mount -o loop disk.img /mnt/rootfs</div><div>5.mkdir /mnt/root/boot</div><div>6.cp vmlinux /mnt/rootfs/boot/vmlinuz</div><div>7.cp <b>initrd.img</b> /mnt/rootfs/boot/initrd<br></div><div>8.<b>cp -R /* /mnt/rootfs </b></div><div><br></div><div>I've done all the steps above, but the image doesn't work on QEMU.</div><div><b><br></b></div><div>What does the 8th step mean? Does it act as <b>filesystem</b>?</div><div>If so, could I only copy the directories and the root filesystem to make it work? </div><div><br></div><div>I want to know how to build the image.</div><div>P.S. my Linux distribution is ubuntu 14.04</div><div><br></div><div>Many thanks.</div><div><br></div></div></div>