Wednesday, October 01, 2008

Install Virtualbox in EeePc 900

Draft - draft - draft - draft

/etc/app/sources.list
deb http://update.eeepc.asus.com/p900 p900 main
deb http://update.eeepc.asus.com/p900/en p900 main

deb http://xnv4.xandros.com/xs2.0/pkg/ xs2.0-xn main non-free
deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free
deb http://download.virtualbox.org/virtualbox/debian etch non-free

add public keys
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
sudo apt-get install xandros-archive-keyring

sudo apt-get install build-essential

download sources
http://support.asus.com/download/download.aspx

unrar x Eee_PC_900_source_code_part1.rar

dpkg --install linux-source-2.6.21.4-eeepc_17_all.deb
cd /usr/src
tar xvjf linux-source-2.6.21.4-eeepc.tar.bz2
cd linux-source-2.6.21.4-eeepc
ln /usr/src/linux-2.6.21.4 /usr/src/linux -s
cd /usr/src/linux
make oldconfig
make prepare
make all
apt-get install virtualbox

create a file, /bin/vbox/run
sudo nano /bin/vboxrun

and paste:
------------------------------
sudo /etc/init.d/vboxdrv start
sudo /etc/init.d/vboxnet start

/usr/bin/VirtualBox

sudo /etc/init.d/vboxdrv stop
sudo /etc/init.d/vboxnet stop
-----------------------------

chage file mode:
sudo chmod +x /bin/vboxrun

Copy or create asusadd:
http://forum.eeeuser.com/viewtopic.php?id=6645

For some reason the above script fails, try this:
mkdir /home/user/.AsusLauncher
then run :
sudo /bin/asusadd Work VirtualBox /bin/asusadd

sudo usermod -a -G vboxusers user
Logout to take effect

No comments: