How to boot with vmlinuz and initrd.gz on QEMU?

-1

I want to boot ARM version of Ubuntu system on QEMU. So, I did steps below. My Host OS is Ubuntu.

1 Install QEMU

sudo apt-get install qemu

2 Download kernel and initrd.gz

http://ports.ubuntu.com/ubuntu-ports/dists/artful/main/installer-armhf/current/images/generic/cdrom/

at above URL, there are two files. First one is vmlinuz(Ubuntu ARM kernel) and The second one is initrd.gz(Initial RamDisk).

3 Try on ARM QEMU.

qemu-system-arm -M virt -m 128M -kernel vmlinuz -initrd initrd.gz -append "root=/dev/ram" -nographic

4 Result

  • [ 0.217797] [] (kernel_init_freeable) from [] (kernel_init+0x18/0x124)
  • [ 0.217964] [] (kernel_init) from []
    (ret_from_fork+0x14/0x3c)
  • [ 0.218293] Code: 0a000001 e1a00007 ebffebaa e597314c (e5930004)
  • [ 0.219058] ---[ end trace b63185b12ada079d ]---
  • [ 0.220622] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
  • [ 0.220622]
  • [ 0.220995] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

[ 0.220995]

I think QEMU can't finely Root file system. Anyone can help me?

linux
ubuntu
arm
qemu
asked on Stack Overflow Dec 17, 2018 by 김동우 • edited Dec 17, 2018 by bugfreerammohan

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0