Sunday, November 29, 2009

Getting and Building Chrome OS on ubuntu 9.04

Hello,
since google announced the new Chrome-OS, and i'm trying to find time to try it
here is how i get the source and build it
also i'll try to add a vmware image so anyone can try it
all the steps are in here
STEPS for Ubuntu
----------------------
1- Prerequisites
- Download script install-build-deps.sh
- chmod 755 install-build-deps.sh
- ./install-build-deps.sh

2- Getting the Chromium OS Source Code
- Download the tarball chromiumos-0.4.22.8.tar.gz
- mkdir /usr/local/chromiumos
- chown -R username /usr/local/chromiumos
- tar xfzv chromiumos-0.4.22.8.tar.gz /usr/local/chromiumos

3- Build Instructions
- ln -s /usr/local/chromiumos/ ~/chromiumos
- cd ~/chromiumos/src/scripts
- ./make_local_repo.sh (this will take alot of time)
- ./make_chroot.sh (it will download some fonts)
- Download the binary of Chromium here and copy it into ~/chromiumos/src/build/x86/local_assets as chrome-chromeos.zip (you have to create this directory).
- ./enter_chroot.sh
- ( cd ../platform/pam_google && ./enable_localaccount.sh USERNAME )
- ./set_shared_user_password.sh
- ./build_all.sh

4- Using your image

4.1 - create a bootable USB
- ./image_to_usb.sh --from=~/chromiumos/src/build/images/999.999.33309.104530-a1 --to=/dev/sdb1
you will need to adjust the link to image (999.999.33309.104530-a1) and the USB drive (sdb1), also you will need a 4gb usb key
4.2 - Create Vmware image
- ./image_to_vmware.sh --from=~/chromiumos/src/build/images/999.999.33309.104530-a1 --to=~/chromiumos/src/build/images/999.999.33309.104530-a1/chrome.vmdk
you will need to adjust the link to image (999.999.33309.104530-a1), also you will need qemu if you dont have it (sudo apt-get install qemu)

if you dont have Internet access you will not login except if you enabled the local account in these two steps
- ( cd ../platform/pam_google && ./enable_localaccount.sh USERNAME )
- ./set_shared_user_password.sh

till now i could not enable wifi for my card (Intel(R) PRO/Wireless 3945ABG Network Connection)
i'll keep checking and update here