Main objective behind creating console only MeeGo Qemu image is to create a meego_minimal_console pattern in rpm package groups. This image can be used for debugging boot loader, kernel, meego startup scripts etc.
Host Setup: I have tried this on Ubuntu 10.10 x86 32bit machine. Refer to Image Creation For Beginners for image creation HOWTO. I recommend using 0.22.9 version of mic-image-creator tool. Anything above this version didn't work for me. There is also a Bug #12082 filed about this.
Command for creating the image:
sudo mic-image-creator --config=./core-ia32-minimal.ks --format=raw --fstype=ext3 --release=latest --cache=mycache --compress-disk-image=none
If you try to boot this image in Qemu then you will see a white screen. This happens because of the extlinux bootloader's default configuration. We can fix this issue by:
sudo kpartx -av meego-core-ia32-minimal-latest-sda.raw
From the output of above command you can find out the device in /dev/mapper/loop[0-9]p1. For the sake of this example we will assume it to be loop0p1.
sudo mount /dev/mapper/loop0p1 /mnt sudo vim /mnt/boot/extlinux/extlinux.conf
Remove quiet from the following line:
append ro root=/dev/sda1 quiet vga=current
Unmount the image:
sudo umount /mnt
Boot the image in Qemu by executing:
sudo kvm -m 64 -hda meego-core-ia32-minimal-latest-sda.raw