|
2010-04-26
, 18:35
|
|
Posts: 118 |
Thanked: 66 times |
Joined on Mar 2010
@ Brazil
|
#142
|
Ubuntu-N8x0 2.2 (ubuntu jaunty (9.04) for the Nokia Internet Tablets
Credits:
Stskeeps - for providing helpful advice with base system components
Johnx - for providing advice with X11
neatojones - for providing an awsome port of e17 for both ubuntu-n8x0 and mer
AndrewFBlack - for providing an awsome host server
Z4CHH - for pointing out bugs
XNT - for beta testing the new sys-env system
This is an updated version of the previous port of ubuntu that includes major base system changes. This version takes full advantage of the new sys-env package system witch will make installing ubuntu on the tablets 90% easier by automating the install prosess through apt. (Similar to Deblet's nit-env system)
Disclaimer:
I am not responsible for what you do to your tablet. Dispite the fact that this insallation method is faster/safer than the previous port, following theas instructions incorrectly could lead to a non-functional system leading to a reflash.
What's new:
*Bootstraping the base system is no longer needed (optional)
*Better/faster installation method with sys-env
*Slightly faster boot time
*Base rootstrap image is only 75mb in size (compressed)
*Automated installation/configuration prosess through apt
What works:
*Dsme
*Screen diming
*Hal
*Xserver-xorg
*Simple compiz visual effects (libgl-mesa-sw-x11)
*Compositing
*Power management
*keymapping
*Usbnet emergency talend
*Powersave
*Right click
*Wierless
*Bluetooth
What needs work:
*Sound
*Usplash (as a replacement for omap-fb-splash)
This installation prosess requires the following to be installed on your system:
*gnutar
*wget
*easyroot / rootsh / becomeroot
*e2fsprogs (installed by default in Diablo)
Installation:
Step 1 ~ partitioning your memory card
Assuming that you want to partition your internal memory card (mine is mmcblk0), as root run the following in a terminal; this will create a 312mb FAT32 partition, a 200mb swap partition, and the rest as LINUX83. (note: you might need to reboot after doing this)
Step 2 ~ Formatting your partitionsCode:umount /dev/mmcblk0p1 sfdisk -uM /dev/mmcblk0 ,312,C ,200,S ,,L ,,
As root, run the following, this will format your first partition in vfat, yoou second partition in swap, and your last partition in an ext3 format for your rootfs.
Code:umount /dev/mmcblk0p1 mkdosfs /dev/mmcblk0p1 mkswap /dev/mmcblk0p2 mkfs.ext3 /dev/mmcblk0p3
Step 3 ~ Installing the base system
First, we need to create our target directory and mount our partition to extract the base system. You can run the following as root to do so. (note: ignore any errors that may come up - they're harmless)
Code:mkdir -p /mnt/jaunty insmod /mnt/initfs/lib/modules/`uname -r`/mbcache.ko insmod /mnt/initfs/lib/modules/`uname -r`/ext2.ko insmod /mnt/initfs/lib/modules/`uname -r`/jbd.ko insmod /mnt/initfs/lib/modules/`uname -r`/ext3.ko mount /dev/mmcblk0p3 /mnt/jaunty -o noatime
Next, we will cd into our target directory, wget -c the rootstrap image and, extract the base system. Run the following as root:
Code:cd /mnt/jaunty wget -c http://files.getdropbox.com/u/1183030/ubuntu_9.04_n8x0-2.2_rootfs.tgz tar -zvxf ubuntu_9.04_n8x0-2.2_rootfs.tgz rm -f ./ubuntu_9.04_n8x0-2.2_rootfs.tgz
Then, we need to mount any nessasary directorys, chroot into the extracted rootfs and, set a root password:
Code:mount /proc /mnt/jaunty/proc mount /sys /mnt/jaunty/sys mount /dev /mnt/jaunty/dev mount /dev/pts /mnt/jaunty/dev/pts mount /tmp /mnt/jaunty/tmp chroot /mnt/jaunty passwd root
Last we need to install sys-env-* to finish the installation of the system, there are currently two options:
*sys-env-base - a verry minimal bootable preconfigured system with usbnet emergency talend, raw console on framebuffer, and ubuntu-rescue-menu, dsme, hal, and wireless
*sys-env-x - (installed on sys-env-base) a system with full blown X11 (xserver-xorg) and support for gnome, kde, e17, xfce4 and, lxde
(comming soon)-
*sys-env-ubuntu - a full-blown ubuntu-desktop gnome system with right-click support, software-rendered OpenGL, Gimp, FireFox3, Xarchiver, Adobe-Flashplayer 9, Compiz, Abiword, wifi-radar and, screen diminig.
*sys-env-kubuntu - a full blown kubuntu kde system with similar features that sys-env-ubuntu provides - with the exception of right-click support - sorry
*sys-env-xubuntu - a full-blown xubuntu XFCE4 desktop with similar features provided by sys-env-ubuntu but with the advantage of being lighter-weight
*sys-env-lxubuntu - a full-blown lxubuntu LXDE desktop with similar features provided by xubuntu but with the advantage of also being a light-weight environment.
*sys-env-e17 - a full-blown enlightenment e17 environment that's light weight and user-friendly on mobile devices.
Assuming you've chosen sys-env-x, run the following while chrooted in ubuntu. (note: this may take quite a while, so go grab some coffie )
And you're done!!Code:su root export LC_ALL=C apt-get install sys-env-x apt-get clean
To unmount the system run the following while still in the chroot:
Code:umount /proc umount /tmp umount /dev/pts umount /sys exit exit fuser -m /mnt/jaunty -k umount /mnt/jaunty/dev umount /mnt/jaunty
Tweeking & costomising
This section is entirely optional and may verry depending on your installation setup.
Installing ubuntu-desktop:
Installing kubuntu-desktop:Code:apt-get install ubuntu-desktop tablet-gdm-autologin
Installing xubuntu-desktop:Code:apt-get install kubuntu-desktop tablet-kdm-autologin
Re-configuring /etc/fstab to your system setup. (note: this is based off of the partition setup provided at the top of this page)Code:apt-get install xubuntu-desktop tablet-gdm-autologin
Code:rootfs / rootfs defaults,errors=remount-ro,noatime,nodiratime 0 1 proc /proc proc defaults 0 0 /dev/mtdblock4 /mnt/rootfs jffs2 defaults 0 0 /dev/mmcblk0p2 swap swap defaults 0 0 /dev/mmcblk0p1 /media/mmc2 vfat defaults 0 0
Screenshot:
more screenshots are available on my gallery
If you have any suggestions, questions, or would like to be involved, feel free to tell me here or poke me on IRC at freenode.net on #maemo if you want to do a live chat with me
|
2010-04-26
, 22:30
|
|
Posts: 549 |
Thanked: 502 times |
Joined on Feb 2008
@ Bowling Green Ohio (united states)
|
#143
|
Why every moment that I type
$ umount
it answers me with: "umount: cannot umount /media/mmc2: operation not permited"
Ok. I thoungh it was the permission, so, I entered as root.
So it returns with : "umount: cannot umount /media/mmc2: device or resource busy"
Does it means that I have to format it? If yes, witch filesystem should i use?
I'm a linux noob and beginner, so, take it easy,
Cheers
fuser -m /media/mmc2 -k
The Following User Says Thank You to b-man For This Useful Post: | ||
|
2010-04-27
, 22:06
|
|
Posts: 118 |
Thanked: 66 times |
Joined on Mar 2010
@ Brazil
|
#144
|
|
2010-04-28
, 03:18
|
|
Posts: 549 |
Thanked: 502 times |
Joined on Feb 2008
@ Bowling Green Ohio (united states)
|
#145
|
Sorry, but, after i type the fuser comand ($ fuser -m /media/mmc2 -k)
it returns with the same problem. Should I reflash my tablet?
Thanks
|
2010-05-01
, 21:43
|
Posts: 9 |
Thanked: 0 times |
Joined on Feb 2010
@ Wieluń \ Poland
|
#146
|
|
2010-05-19
, 03:41
|
Posts: 38 |
Thanked: 3 times |
Joined on Apr 2010
|
#147
|
|
2010-07-21
, 15:30
|
Posts: 30 |
Thanked: 4 times |
Joined on Nov 2009
|
#148
|
|
2010-07-21
, 16:32
|
Posts: 30 |
Thanked: 4 times |
Joined on Nov 2009
|
#149
|
Hi. I have a new problem. I am on step two. I ran it and got:
Nokia-N810-43-7:~# umount /dev/mmcblk0p1
umount: cannot umount /dev/mmcblk0p1: Invalid argument
Nokia-N810-43-7:~# mkdosfs /dev/mmcblk0p1
mkdosfs 2.11 (12 Mar 2005)
6
######Nokia-N810-43-7:~# mkswap /dev/mmcblk0p2
Setting up swapspace version 1, size = 209711104 bytes
Nokia-N810-43-7:~# mkfs.ext3 /dev/mmcblk0p3
-sh: mkfs.ext3: not found
Nokia-N810-43-7:~#
It seems mkfs.ext3 is not installed.
HELP!!!!!
|
2010-07-21
, 16:40
|
|
Posts: 118 |
Thanked: 66 times |
Joined on Mar 2010
@ Brazil
|
#150
|
what's with that damn FN key? AFAIR it was working under Deblet, after logon (not on gdm screen)
How to get compiz working? It's launching, but I can see only windows created after compiz is running (the rest is "white")
Is there any progress with sound? Where's the problem with it?