Sunday, February 10, 2008

Install VirtualBox for eee pc linux with 2G ram support

References http://forum.eeeuser.com/viewtopic.php?pid=105740

http://dlsvr01.asus.com/pub/ASUS/EeePC/EeePC4G(701)/VGA_XP_071011.zip

(1) add source in /etc/apt/sources.list
deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free
deb http://www.VirtualBox.org/debian etch non-free

(2) install necessary build-essential
sudo apt-get install build-essential

(3) download Linux Kernel from ASUS
http://dlsvr01.asus.com/pub/ASUS/EeePC/701/Linux_Kernel_071127.rar

(4) unrar the Linux Kernel and install the package
dpkg --install linux-source-2.6.21.4-eeepc_5_all.deb
cd /usr/src
tar -xjvf linux-source-2.6.21.4-eeepc.tar.bz2
sudo rm linux-source-2.6.21.4-eeepc.tar.bz2
sudo ln -s /usr/src/linux-source-2.6.21.4-eeepc /usr/src/linux
cd linux-source-2.6.21.4-eeepc
sudo make menuconfig
sudo apt-get install libncurses5-dev

(5) Go to
Processor type and features -> High Memory Support -> Change from "off" to "4gb"
Exit and Save Configuration

(6) cd /usr/src/linux
sudo make oldconfig && sudo make prepare

(7)
sudo make all

(8)
sudo apt-get install virtualbox

(9) sudo usermod -a -G vboxusers user

(10) create a shell script /home/user/vboxrun.sh
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

(11) sudo chmod +x /home/user/vboxrun.sh

(12) Edit and Append the text to /opt/xandros/share/AsusLauncher/simpleui.rc

Virtual Box
Virtual Box
Virtual Box

1 comment:

ZzirF said...

need public keys and new address for virtual box packages please (no such file or directory exists)