The method is not available in wiki.laptop.org , therefore , I have to figure out by myself. And it is the result:
(The instruction is not completed, because I am not familiar with Fedora. Please feel free to comment and suggest improve method. Soon it is ready , I will post to wiki.laptop.org )
Preparation:
- Follow the instruction Virtual Box - OLPC
- Download the ext3 image
- Setup the Virtual Machine
- Convert the ext3 image by using the "VBoxManage convertd" command
- Download Ubuntu Live Image (e.g 8.10)
1. Mount OLPCRoot by using the menu : Places -> OLPCRoot
2. Open Terminal , run the command below:
mount -t none /dev /media/OLPC/dev -o bind3. Now you are under a chroot environment , you need to edit few files and install few packages:
cp /etc/resolv.conf /media/OLPCRoot/etc/resolv.conf
chroot /media/OLPCRoot
mount /proc
mount /sys
3.1 Edit /etc/yum.repos.d/fedora.repo
Found the line "include=file:///etc/yum/olpc-exclude" and comment it
3.2 Install standard kernel :
yum -y install yum-allowdowngrade3.3 Add the new kernel config to /boot/grub/grub.conf
yum --allow-downgrade -y install kernel.i686
title Standard Fedora Kernel3.4 Reboot the Virtual Machine , and remove the LiveCD iso image. Now VirtualBox should be able to boot OLPC 8.2
root (hd0,0)
kernel /boot/vmlinuz-2.6.25-14.fc9.i686 ro vga=0x317 video=vesafb:ypan sellinux=0 console=ttyS0,115200 console=tty0 emu
initrd /boot/initrd-2.6.25-14.fc9.i686.img
Known Issue:
- USB auto mount is working , but the mounted drive can not be shown in Journal