Friday, May 21, 2010

Prebuild Lucid Image for Ubuntu Netbook

I was observing various problems for Netboot on Beagle with
BeagleNetInstall and BeagleNetbookInstall.
So I decide to provide prebuild image for Ubuntu Netbook. Which will
be useful to those who want start using netbook within few minutes.
I have refereed http://elinux.org/BeagleBoardUbuntu

I had download prebuilt image from wget
http://rcn-ee.net/deb/rootfs/ubuntu-10.04-minimal-armel.tar.7z
( Now you I have uploaded "prebuilt image" at
http://amitkarpe.com/download/ubuntu-10.04-minimal-armel.tar.7z )

7za x ubuntu-10.04-minimal-armel.tar.7z
tar xf ubuntu-10.04-minimal-armel.tar
cd ubuntu-10.04-minimal-armel

You will find following find in current directory.
armel-rootfs-201004301309.tar boot-c4.cmd boot.cmd disk flash.cmd
initrd.img-2.6.32.11-l13 setup_sdcard.sh vmlinuz-2.6.32.11-l13

You have to use script called setup_sdcard.sh. I had used given script
for quick install.
In my case my SD Card is at /dev/sdb, you have confirm by using dmesg
command's output.
umount /dev/sdb*
./setup_sdcard.sh --mmc /dev/sdb --uboot beagle --rfs_label
rootfs_lucid --boot_label boot

Now using your newly formated SD Card boot beagle board.

You have to login with ubuntu/temppwd. Then whenever required please
use "sudo" command.

Please to start your network add following line into /etc/network/interfaces
auto eth0
iface eth0 inet dhcp

And run following commands
sudo ifconfig eth0 up
sudo dhclient eth0

I had updated my /etc/apt/sources.list with my apt-cache entries.
Older entries:
deb http://ports.ubuntu.com/ubuntu-ports lucid main universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports lucid-updates main universe multiverse

Newer entries:
deb http://192.168.10.101:3142/ubuntu-ports lucid main universe multiverse
deb http://192.168.10.101:3142/ubuntu-ports lucid-updates main
universe multiverse

Now update it with
apt-get update

Then I had install following packages
apt-get install ssh
apt-get install vim
apt-get install lubuntu-desktop netbook-launcher-efl
apt-get install x11vnc xfce4-screenshooter


I had run following commands to start vnc server on beagle board.
/etc/init.d/lxdm start
x11vnc -display :0 &

To access GUI we can use any VNC client on you host / development PC.
On my ubuntu desktop I prefer "vinagre". ( Application--> Internet -->
Remote Desktop Viewer )
Just add your beagle board's ip address in host section. ( In my case
192.168.10.114:0 )
":0" stand for display zero.

To test Ubuntu Netbook on beagle board. Run LXTerminal from Accessories menu.
Type command
netbook-launcher-efl

And you will see beautiful netbook interface running on beagle board
with just 256MB RAM :)

I had uploaded newly created prebuild images for ubuntu netbook.
You can download from
http://amitkarpe.com/download/lucid_lxde_boot.tgz
http://amitkarpe.com/download/lucid_lxde_rootfs.tgz

To install on SD Card just extract lucid_lxde_boot.tgz into boot
directory and lucid_lxde_rootfs.tgz into root directory.
On your SD Card create 2 partition first partition with 50 MB and and
second partition with remaining free size.
You can use gparted for partition process.
I had format SD Card's first partition with following command.
mkfs.vfat -n boot -F 32 /dev/sdb1
mkfs.ext3 -L rootfs_lucid /dev/sdb2
For more details please follow.
http://elinux.org/BeagleBoardBeginners#SD_card_setup
* My prebuild image are for Rev C beagle board. It will work with Rev
C 1,2,3. I have not tested for Rev C 4.

Posted via email from Amit Karpe

No comments: