Meego Wiki
Views

MeeGo 1.0 Netbook VirtualBox

From MeeGo wiki
Revision as of 04:35, 26 September 2010 by Haitao (Talk | contribs)
Jump to: navigation, search

Preparation

  1. Install VirtualBox PUEL or VirtualBox OSE. In this wiki, the VirtualBox OSE 3.2.6 OSE built from source codes (without modification) is used.
  2. Download Libglx.so.gz
    • cd ~/Downloads
    • gunzip Libglx.so.gz
    • mv Libglx.so libglx.so
  3. Download Clutter-xvisual-patch.txt

Installation

Installation steps:

  1. Download the MeeGo v1.0 for netbooks image and change its extension (simple rename) to ISO.
  2. Create VirtualBox virtual machine
    • Select virtual machine type Linux/Fedora.
    • Create 8 GB virtual hard drive.
    • Enable PAE.
    • Enable 3D acceleration.
    • Set CD-image to the downloaded MeeGo image.
  3. Boot the virtual machine for the first time. Choose Installation only from the boot menu.
  4. Follow the installation wizard and install MeeGo on the virtual hard drive.
  5. After you are back in the boot menu, turn off the virtual machine.
  6. Set virtual machine's CD-image to Empty.
  7. Boot your MeeGo system for the second time.

MeeGo does not seem to go anywhere except showing background image.

Workaround:

  1. Press ESC when the boot begins to get into GRUB boot menu.
  2. Press TAB to edit boot line.
  3. Remove quiet from boot line and append s to start with a shell and then boot.
    • >vmlinuz-2.6.33.3-11.1-netbook ro root=/dev/sda2 vga=current s
  4. Add suid for Xorg
    • chmod +s /usr/bin/Xorg
  5. Replace libglx.so for an X issue, this libglx.so will put glx version to 1.2, instead of 1.4.
    • scp user@host:~/Downloads/libglx.so /usr/lib/xorg/modules/extensions
  6. Reboot and continue MeeGo installation
  7. Finish MeeGo installation, now MeeGo UX could be shown with GL software rendering, the performance is very slow.

Result:

MeeGo0524-VirtualBoxOSE-SoftwareRendering.png

Installing VirtualBox guest additions for OpenGL acceleration

  1. Press ESC when the boot begins to get into GRUB boot menu.
  2. Press TAB to edit boot line.
  3. Remove quiet from boot line and append s to start with a shell and then boot.
    • >vmlinuz-2.6.33.3-11.1-netbook ro root=/dev/sda2 vga=current s
  4. Modify the extlinux.conf at /boot/extlinux/extlinux.conf
    • From: append ro root=/dev/sda2 quiet vga=current
    • To: append ro root=/dev/sda2 vga=current 3
  5. Install dependencies:
    sudo yum install gcc make kernel-netbook-devel
  6. Reboot to activate potential kernel updates (running kernel needs to match the kernel-devel package)
  7. Having instructed VirtualBox to Install Guest Additions, mount CD-drive and build guest additions:
    sudo mount /dev/sr0 /mnt && cd /mnt && sudo ./VBoxLinuxAdditions-x86.run
  8. Inside the MeeGo VM, download the clutter source codes by
    • yumdownloader --source clutter
  9. Extract clutter
    • rpm2cpio clutter-1.2.6-2.2.src.rmp|cpio -id
    • tar jvxf clutter-1.2.6.tar.bz2
  10. Build clutter
    • yum install mesa-libGL-devel mesa-libGLU-devel glib2-devel libXext-devel

libXcomposite-devel xorg-x11-proto-gl libX11-devel libXdamage-devel cairo-devel pango-devel json-glib-devel gtk2-devel patch

    • cd clutter-1.2.6
    • patch -p1 < ./Clutter-xvisual-patch.txt
    • ./configure --prefix=/usr
    • make
    • make install
  1. Shutdown, enable 3D Acceleration and Reboot
  2. Start MeeGo UX,now MeeGo UX could be shown with GL acceleration, while there are drawing order problems.
    • uxlaunch
Personal tools