Genode/NOVA+Multiple VMMs Seoul / VBox
Alexander Boettcher
alexander.boettcher at ...1...
Mon Sep 14 14:02:07 CEST 2015
Hello,
On 13.09.2015 21:10, Roger Ferreira wrote:
> The only difference is that I managed to reduce the image now down to 89M.
> Nevertheless, I appreciate the help and apologize for any inconvenience.
>
> I get the following error on QEMU window:
> sudo qemu-system-i386 -kernel vmlinuz -append "quiet" -initrd tc-dds.gzFailed to execute /init (error -28)Kernel panic - not syncing: No working init found.
Make sure to use some "-m" option with Qemu, otherwise your VM only sees
128M RAM by default - which is far to less. Something like "-m 256"
should do in your case.
I played a bit around and found now a workflow to build a customized
Tinycore based VM image which boots up nicely in Seoul on native
hardware as Qemu(if you patient enough).
I updated my branch with necessary fixes [0] and attached the howto to
this mail.
Cheers,
Alex
[0] https://github.com/alex-ab/genode/tree/seoul_wm_cli
-------------- next part --------------
Download CorePlus.iso from Tinycore
Prepare a virtual disk for Qemu which fits your desired needs, e.g. 64M disk:
- dd if=/dev/zero of=image.raw bs=1M count=64
Start Qemu with the Tinycore CorePlus ISO image and the empty virtual disk, e.g.:
- qemu -m 512 -cdrom CorePlus.iso -drive id=disk,file=image.raw,if=none,format=raw -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0 -boot d
In the bootloader menu select "Boot Core with X/GUI (TinyCore) + Installation Extension". After booting select in the X/GUI
the "Tc_install" Icon to start the installation of Tinycore to the virtual disk.
I now mainly followed the instruction of 'http://distro.ibiblio.org/tinycorelinux/install.html'.
I let all options as set by default - beside:
- Choose "Whole Disk" and use "sda" in the Disk Menu View
- During the Menu View "Boot Options Reference List" add "vga=0x314" to the kernel command line.
This command line parameter is later essential to boot graphical setups in Seoul - so add it !!!
After finishing the installation power down the VM in Qemu.
Start Qemu again but without the Tinycore ISO image:
- qemu -m 512 -drive id=disk,file=image.raw,if=none,format=raw -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0
Now I performed the following instruction based on - http://tinycorelinux.net/faq.html - "How to use framebuffer X server?" section.
- tce-load -w -i Xfbdev.tcz
- xsetup
- call 'cat .xsession' and verify that Xfbdev is part of the output - so that it will be used next time you boot
- sudo reboot
If now your installation comes up in Qemu with the X/GUI than your virtual disk 'image.raw' is ready for Seoul. Power down the VM in Qemu and copy the image.raw in the Genode build directory.
In the Genode seoul-wm-cli.run scenario issue the command 'start seoul-img' in the cli terminal.
More information about the users
mailing list