maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Ubuntu (https://talk.maemo.org/forumdisplay.php?f=55)
-   -   Ubuntu Jaunty for the N810/N800 (https://talk.maemo.org/showthread.php?t=25975)

b-man 2009-01-03 22:43

Ubuntu Jaunty for the N810/N800
 
2 Attachment(s)
Ubuntu 9.04 (Jaunty) for the Nokia Internet Tablets


Ubuntu-N8X0 screenshot gallery; http://www.bman.maemobox.org/project...s/gallery.html



NOTICE:
I am not responsible for what you do to your tablet, following theas insrtructions incorrectly might cause you to have to reflash your tablet. Also, keep in mind that it is recommended that you use swap if you chose to install ubuntu-desktop ;)



First, i would like to thank the following people in helping with making this work. :)

Johnx: for providing helpful advice in making the xserver and gdm for the ubuntu-desktop function properly.

Stskeeps: for also providing helpful advice and for allowing me to use his mer/deblet packages for a sane bootable ubuntu install.

neatojones: for the awsome E17 port and for getting wireless working :D - link to the instructions for e17 and wireless are provided for below.

------------------------------------------------


UPDATE: ver 2.1

Installing Ubuntu from a rootstrap image;

(special thanks to Andrewfblack on #maemo for providing a host server for this :) )

I have made a pre-built rootfs for a fast, easy installation of ubuntu jaunty. This version includes a basic bootable system with xserver-xorg, deblet-rescue-menu, aptitude, synaptic and deselect. Just simply extract it to a partition, install a desktop env, and create a bootmenu item. (information provided in the second post)

What's Fixed:
* Image now uses deblet-rescue-menu (mer's version would not start)
* No more xserver-xorg crashes
* Xsessions is now fonctioning properly


You can obtain the rootstrap from here

Also, the default password for root is root and the default user password is user, eather of witch can be changed using passwd root or passwd user and it is highly recommended that you remove xserver-xorg-input-all and xserver-xorg-input-synaptics using apt mainly because there has ben some reported problems with xserver-xorg-input-synaptics overriding xserver-xorg-input-tslib's functionality causing the touch screen to stop working. :( And last, it is suggested that you add a newline to /etc/X11/xorg.conf, you can do this by pressing the enter buttun at the bottom of the file when you edit it - sorry :(


------------------------------------------------


New: E17 (enlightenment) v2


updated Instructions for installing E17 by neatojones are provided here :)


------------------------------------------------


Updated: wireless


Instructions for setting up wireless are provided here -The next version of tablet-network-setup will include thease changes :)


------------------------------------------------



Ubuntu-rescue-menu, ubuntu-n8x0-repository, and nit-bootmenu-compat;

This is a beta1 release of the new Ubuntu-rescue-menu, nit-bootmenu-compat, and Splash.

Screenshots:

http://www.bman.maemobox.org/project...escue-menu.jpg

http://www.bman.maemobox.org/project...-fb-splash.jpg

http://www.bman.maemobox.org/project...e-bootmenu.jpg

To upgrade to ubuntu-omap-fb-splash, nit-bootmenu-compat 1.6ubuntu1, and ubuntu-rescue-menu, add the following to /etc/apt/sorces.list

Code:

deb http://www.bman.maemobox.org/repository alpha contrib main non-free
deb-src http://www.bman.maemobox.org/repository alpha contrib main non-free

And run the following in a terminal;

Code:

apt-get update

apt-get remove deblet-rescue-menu; apt-get remove deblet-omap-fb-splash

apt-get install ubuntu-omap-fb-splash ubuntu-rescue-menu

apt-get upgrade nit-bootmenu-compat

apt-get clean


To run the rescue menu simply press home+power for 5-7 seconds when booting.

------------------------------------------------





What works:

*Dsme
*Hal (partly)
*Screen diming
*Xserver-xorg
*Simple compiz visual effects (in ubuntu-desktop) :D
*Power management
*Usbnet emergency talend
*Powersave
*Bluetooth
*Right click
*Wierless
*keymapping (hw keys and virtual keyboard) :D



What needs work:

*Usplash (fails to start, perhaps our kernel doesn't support it?)
*Sound (closed sorce components :( )


This installation prosess requires that you have the following installed on your system:

*easyroot / rootsh / becomeroot
*debootstrap
*basic knowledge with the command prompt
*e2fsprogs
*2-4GB mmc - 4 GB+ if you are planning to install the ubuntu-desktop.
*Bootmenu form deblet
*binutils



Step 1 ~ partitioning the memory card with sfdisk

To do this we are going to type in the following in a terminal as root (i''m using a 4GB internal mmc with a 356mb fat16 partition and a 3.6GB for linux83 - our rootfs partition)

Code:

umount /dev/mmcblk0p1

sfdisk -uM /dev/mmcblk0
356,6
,,L
,,
,,

And then reboot.


Step 2 ~ Formatting your newly created partitions

As root, run the following in a terminal. This will format your first partition in vfat and your second partition in ext3 for Ubuntu.
Code:

umount /dev/mmcblk0p1
mkdosfs /dev/mmcblk0p1
mkfs.ext3 /dev/mmcblk0p2


Step 3 ~ Bootstraping the basic Ubuntu jaunty system

First, we will create a target directory to bootstrap Ubuntu jaunty by doing the following as root:

Code:

mkdir -p /mnt/jaunty

Next, we will copy over a bootstrap script witch will allow us to properly bootstrap Ubuntu Jaunty. Download the bootstrap-script.tar.gz file, remove a symlink using rm -f /usr/share/debootstrap/scripts/jaunty, and extract your new script to your /usr/share/debootstrap/scripts directory as root.

Then, we need to add md5sum to our /bin directory so debootstrap functions properly. Download the md5sum file and extract it to /bin as root.

Next, we will mount our ubuntu partition to /mnt/jaunty and start the Ubuntu jaunty bootstrap prosess. (Keep in mind that this will likely take a while, so go watch some tv :) )
Code:

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/mmcblk0p2 /mnt/jaunty -o noatime

debootstrap --include="language-pack-en,language-pack-en-base,dmsetup,cryptsetup,hashalot,nano,sudo" --components=main,multiverse,universe,restricted --verbose --arch=armel jaunty /mnt/jaunty http://ports.ubuntu.com/ /usr/share/debootstrap/scripts/jaunty

Last, we need to chroot into our base system, create the nessasary devices for the console, and exit for the next step:
Code:

mount /proc /mnt/jaunty/proc
mount /sys /mnt/jaunty/sys
chroot /mnt/jaunty
cd /dev; /sbin/MAKEDEV fb0 fb1 fb2 fb3 fb4 fb5 fb6 fb7
exit

Step 4 ~ Preping the base system for booting

First, we will need to give our base system the nessesary sorces so dpkg installs packages properly. You can do this by typing the following as root in a terminal;

Code:

mount /dev /mnt/jaunty/dev
mount /dev/pts /mnt/jaunty/dev/pts
mount /tmp /mnt/jaunty/tmp


b-man 2009-01-03 22:45

Re: Ubuntu Jaunty for the N810/N800
 
1 Attachment(s)
(updated - ver.3.3)

Then, we will export LC_ALL=C so locales doesn't complain when we eventually start installing our base packages.
Type the following in a terminal:

Code:

chroot /mnt/jaunty
export LC_ALL=C

Next, we will add a root password so we have proper permissions while configuring the base system, type the following in a terminal;

Code:

passwd root
Then, we will need to update our /etc/apt/sorrces.lst to featch packages properly for our base system, you can do this by editing your /etc/apt/sorces.lst to look like this:
Code:

#Ubuntu jaunty alpha
deb http://ports.ubuntu.com jaunty main restricted universe multiverse
deb-src http://ports.ubuntu.com jaunty main restricted universe multiverse

#Mer alpha
deb http://repository.mer.tspre.org/ alpha contrib main non-free
deb-src http://repository.mer.tspre.org/ alpha contrib main non-free

#Deblet sid
deb http://packages.tspre.org/ sid main contrib non-free
deb-src http://packages.tspre.org/ sid main contrib non-free

#Ubuntu N8x0
deb http://www.bman.maemobox.org/repository alpha contrib main non-free
deb-src http://www.bman.maemobox.org/repository alpha contrib main non-free

Then, we will enable apt-pinning, witch will allow us to eventually properly install our base system packages using apt-get, add the following file by typing the following in a terminal:

Code:

touch /etc/apt/preferences
And then add the following to /etc/apt/preferences.

Code:

Package: *
Pin: release a=jaunty
Pin-Priority: 900

Package: *
Pin: release a=alpha
Pin-Priority: 340

Package: *
Pin: release a=sid
Pin-Priority: 300

Next, we need to add the deblet repo key so our system can properly update it's application list. type the following in a terminal;

Code:

wget http://packages.tspre.org/repo.key
apt-key add repo.key

And then run the following to apply the changes;

Code:

apt-get update
Next, we will install all of the nessasary packages to allow Ubuntu to boot and run properly on our tablet, type the following in a terminal;

Code:

apt-get -t alpha install cx3110x-module cx3110x-umac-module ke-recv-l10n-public kernel-diablo-modules-fbcon kernel-diablo mce-dummy nokia-n8x0-firmware nokia-tablets-pointercal omap-fb-console omap-fb-tools usbnet-emergency-telnetd utelnetd xresponse-visualize tablet-wireless xserver-xorg-video-omapfb synaptic aptitude console-tools

apt-get install ubuntu-rescue-menu ubuntu-omap-fb-splash nit-bootmenu-compat

apt-get install xserver-xorg-input-tslib=0.0.5-1mer7

apt-get -t sid install tablet-backlight tablet-gksudo tablet-network-setup dsme-tools nokia-xkb-data xsession-gtkstylus tablet-user

Then, we need to remove a couple of packages that xserver-xorg-video-omapfb pulls in; this is nessasary mainly because xserver-xorg-input-synaptics overrides the fonctionality of xserver-xorg-input-tslib witch would cause our touch screen to stop working in ubuntu, do the following in a terminal;
Code:

apt-get remove xserver-xorg-input-all xserver-xorg-input-synaptics
Next, we need to add a file called boottime.kmap.gz to /etc so our hw keys, keyboard, and virtual keyboard function properly with upstart. You can download boottime.kmap.gz from the bottom of this post.

Do the following in a terminal as root (assuming you've downloaded it to /home/user/MyDocs)
Code:

cp /home/user/MyDocs/boottime.kmap.gz /mnt/jaunty/etc/
Then, we will edit a series of files nessesary for the system to boot properly and allow xserver-xorg ot run properly with our video drivers.

Edit your /etc/X11/xorg.conf file to look like the following;
Code:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#  sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier "tslib"
        Driver "tslib"
        Option "ScreenNumber"        "0"
        Option "Width"                "800"
        Option "Height"                "480"
        Option "Rotate"                "NONE"
        Option "TslibDevice"        "/dev/input/event3"
        Option "CorePointer"
EndSection


Section "Device"
        Identifier        "Configured Video Device"
#        Option                "UseFBDev"                "true"
        Driver                "omapfb"
        Option                "fb" "/dev/fb0"
EndSection

Section "Monitor"
        Identifier        "Configured Monitor"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Monitor                "Configured Monitor"
EndSection

Next, we will edit /etc/rc.local so xorg will have a framebuffer to use;

Code:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/sbin/fb_update_mode auto
exit 0


Next, we will edit /etc/fstab for Ubuntu to properly boot. This example is based on my fstab setup, witch mounts my swap partition, mounts my internal flash to /mnt/rootfs, and mounts my external mmc to /media/mmc1 for extra user space. for now, the first line is only nessesary.

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/mmcblk0p1  swap  swap        defaults        0        0
/dev/mmcblk1p1 /media/mmc1        vfat defaults        0        0


Then, we will need to edit /etc/X11/Xwrapper.config so we have proper permissions for the console if the system needs repair. Edit it to look like the following:

Code:

# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the x11-common
# package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the x11-common package
# *only* if it has not been modified since the last upgrade of that package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
#  dpkg-reconfigure x11-common
allowed_users=anybody
nice_value=-1


Next, we will get the hardware clock working by adding the following vareables to /etc/init.d/hwclock.sh by doing the following;

edit
Code:

HWCLOCKPARS=
to
Code:

HWCLOCKPARS="--directisa"
and add the following to /etc/default/rcS
Code:

echo 'HWCLOCKPARS=--directisa' >> /etc/default/rcS
Last, we will install insserv to cut down on boot time by making all of the init scripts comply to LSB and enable parallel booting. Run the following in a terminal.

Code:

apt-get install insserv
echo 'CONCURRENCY=shell' >> /etc/default/rcS

If you are not interested in continueing with installing ubuntu-desktop, you can unmount your system with the following and skip to step 7.

Code:

exit
exit
umount /mnt/jaunty/dev/pts
umount /mnt/jaunty/dev
umount /mnt/jaunty/proc
umount /mnt/jaunty/sys
umount /mnt/jaunty/tmp
fuser -m /mnt/jaunty -k
umount /mnt/jaunty


Step 5 ~ Installing the ubuntu desktop (optional)

Congratulations!! You shuld now have a bootable, fairly functional, and productive Ubuntu Jaunty base system! :D

This phase is pritty much optional, however if you like gnome as much as i do and have a mmc that has 4GB+ in free space and plenty more for swap, follow theas instructions.

run the following in a terminal; keep in mind that this will take 2-3 hours depending on your connection. ;)

Code:

apt-get install ubuntu-desktop matchbox-keyboard
apt-get clean

Next, we need to edit the /etc/gdm/gdm.conf-costom file for automatic login. Add the following to gdm.conf-costom;

Code:

[daemon]
# Automatic login, if true the first attached screen will automatically logged
# in as user as set with AutomaticLogin key.
AutomaticLoginEnable=true
AutomaticLogin=user


Step 6 ~ activating swap (recomended for ubuntu-desktop)

This is assental for ubuntu-desktop to run smothly/sainly.
Do the following in a terminal as root; (assuming your swap partition is /dev/mmcblk1p3)
Code:

mkswap /dev/mmcblk1p3
Next, we need to add the following to /etc/fstab so swap gets automaticly activated during boot time;
Code:

/dev/mmcblk1p3  swap  swap        defaults        0        0

Step 7 ~ creating a proper bootmenu item for Ubuntu.

Making shure you have bootmenu installed, create a file called ubuntu.item in your /etc/bootmenu.d directory and apply the following information to the file; (assuming your ubuntu partition is /dev/mmcblk0p2)

Code:

ITEM_NAME="Ubuntu on mmcblk0p2"
ITEM_ID="Ubuntu on mmcblk0p2"
ITEM_DEVICE="mmcblk0p2"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,ro"
ITEM_LINUXRC="linuxrc"

and then run the following in a terminal:

Code:

refresh_bootmenu.d
You shuld now have a bootable full-fleged Ubuntu Jaunty install - enjoy!! :D

Btw, if anyone has questions or suggestions, fell free to tell me. I would really like some feedback :)

http://www.bman.maemobox.org/project...reenshot-6.png

meizirkki 2009-01-03 23:10

Re: Ubuntu Jaunty for the N810/N800
 
i can confirm that Bluetooth works, but are you serious about compiz? does it really work?

Is the nm-applet working with gnome in jaunty? it did not work in hildon..

b-man 2009-01-03 23:21

Re: Ubuntu Jaunty for the N810/N800
 
Yes, compiz does have (some) functionality, allthough they arn't true 3d effects, just little things like phase in/out and buttons expanding/fading.

as for the nm-applet, i haven't confermed that yet.

b-man 2009-01-03 23:50

Re: Ubuntu Jaunty for the N810/N800
 
added bootstrap-script.tar.gz to the second post :)

mrp 2009-01-04 05:47

Re: Ubuntu Jaunty for the N810/N800
 
any way one could get this in 770?

fatalsaint 2009-01-04 06:41

Re: Ubuntu Jaunty for the N810/N800
 
I got sound working using the same steps we did for deblet.

It's just scratchy. Like having too much crap running when listening to music.

b-man 2009-01-04 16:15

Re: Ubuntu Jaunty for the N810/N800
 
Quote:

Originally Posted by fatalsaint (Post 254311)
I got sound working using the same steps we did for deblet.

It's just scratchy. Like having too much crap running when listening to music.

Were you able to make eny progress with the keyboard issue by eny chance? i'm still trying to figure out what causes the virtual keyboard to crash the desktop in Mer and Ubuntu.

b-man 2009-01-04 16:19

Re: Ubuntu Jaunty for the N810/N800
 
Quote:

Originally Posted by mrp (Post 254306)
any way one could get this in 770?

It shuld work if you install kernel-modules-770 and grab some of the hw-support packages from the deblet repo. - it might be a little slow though.

meizirkki 2009-01-04 16:41

Re: Ubuntu Jaunty for the N810/N800
 
hmm, my suggestion for this how to:

Add both Mer and deblet repos to sources.list, then just install needed packages with apt. Is there a good reason to not add these repos?

b-man 2009-01-04 17:01

Re: Ubuntu Jaunty for the N810/N800
 
If you add both repos to sorces.lst that will cause major package conflicts unfortunately :(
e.g. gnomevfs package from Mer would override gnomevfs packages from Ubuntu witch would make it allmost impossible to install a nother desktops other than hildon that depend on gnomevfs. it would also likely cause other unstability problems within the system since some applications depend on package versions that are spacific to the os. Also, dispite Ubuntu being based on Debian, ubuntu uses a slightly different filestructure than debian. e.g. gdm for debian won't work in ubuntu due to some spacific differences in LSB.

Most of the deblet packages that i included don't have the following issues and that's why i'm including them in the install.

Johnx 2009-01-04 17:13

Re: Ubuntu Jaunty for the N810/N800
 
Sounds like it would be a good idea to look into pinning the priority of certain packages or repos depending on what you want to accomplish. Pinning Ubuntu higher than Mer in this case seems reasonable: That way you'll get packages from Ubuntu, unless it doesn't exist in ubuntu, then you'll get it from Mer. try: man apt_preferences or google "apt pinning"

b-man 2009-01-04 17:42

Re: Ubuntu Jaunty for the N810/N800
 
Thanks! :D, i'll definitely look into that :D

fatalsaint 2009-01-04 22:33

Re: Ubuntu Jaunty for the N810/N800
 
Quote:

Originally Posted by b-man (Post 254369)
Were you able to make eny progress with the keyboard issue by eny chance? i'm still trying to figure out what causes the virtual keyboard to crash the desktop in Mer and Ubuntu.

No. I changed my xmodmap to use the CHR key instead of the FN key and that works fine (since the CHR key is useless in even deblet).

But the FN key does not send a keycode at all.. I'm not sure if this a fault with the Keyboard mapping, xorg, or what... but you run xev and press FN and get nothing.

Until I can get the FN key to send a keycode I won't be able to fix the xmodmap to work with Mer. But using CHR instead is functional, albeit a tad inconvenient.

b-man 2009-01-04 23:02

Re: Ubuntu Jaunty for the N810/N800
 
I updated the second post to include apt-pinning to make instaalling ubuntu a lot more simple/sane. ;)

fatalsaint 2009-01-05 01:30

Re: Ubuntu Jaunty for the N810/N800
 
PS: Alot of packages that appear missing in the ubuntu repos... if you add to /etc/apt/sources.list:

Code:

deb-src http://ports.ubuntu.com jaunty main restricted universe multiverse
Then you can do, for example,

Code:

apt-get build-dep xchat
apt-get -b source xchat

I'm currently running that now... wonder if it'll complete :D. I've gotten a couple of packages to build for me.

ETA:

Well ok.. Xchat doesn't work cuz some of the broken packages required by Mer.. (gnome/GTK packages)... but software that DOESN'T require certain gtk libs should work :D.

meizirkki 2009-01-05 07:07

Re: Ubuntu Jaunty for the N810/N800
 
why don't you just

apt-get install xchat-gnome?

qwerty12 compiled xchat for mer, but i have no idea if it would work in gnome...

I really hope that these problems with gnomevfs can be fixed someday...

meizirkki 2009-01-05 10:23

Re: Ubuntu Jaunty for the N810/N800
 
b-man: did you make some changes to the bootstrap script, or is it just the basic jaunty script?

b-man 2009-01-05 20:56

Re: Ubuntu Jaunty for the N810/N800
 
I did changes to the bootstrap script, the one provided from debootstrap is just a symlink to gusty, witch doesn't seem to work properly with jaunty. Witch is why i provided a separate script for jaunty.

meizirkki 2009-01-05 21:05

Re: Ubuntu Jaunty for the N810/N800
 
i have had no problem with Gutsy script
devenlopers @ #ubuntu-arm told me to use it once

b-man 2009-01-05 21:20

Re: Ubuntu Jaunty for the N810/N800
 
I guess it must have only been a problem on my side, because debootstrap kept failing for me while trying to use the default script. :(

freekyfrogy 2009-01-05 21:38

Re: Ubuntu Jaunty for the N810/N800
 
Are you going to put up screen shots or pics of the n800? I would like to see this in action =D

b-man 2009-01-05 21:57

Re: Ubuntu Jaunty for the N810/N800
 
I would if i was able to get the virtual-keyboard to work in Ubuntu :(, i'm still trying to hunt down what keeps crashing the desktop when ever i press a key with matchbox-keyboard/xkbd/xvkbd/ubuntu-virtual-keyboard. If anyone could help in fixing this problem, i would really, really appreciate it. :D

b-man 2009-01-10 17:32

Re: Ubuntu Jaunty for the N810/N800
 
The keyboard issue is finally fixed and i've added a screenshot, take a look. :D

neatojones 2009-01-11 21:39

Re: Ubuntu Jaunty for the N810/N800
 
Just a couple things:
1.) Near the end of the 1st post, you say to chroot and then you start to mount /dev, etc. You either have to exit after the chroot or switch around the order of those commands (you can't mount /dev or /dev/pts, etc while you're in the Jaunty root).
2.) I'd include instructions to activate swap. I'm guessing this is something you've already done, otherwise I'm not sure how you got this to install without it...It's not essential for the bootstrap process, but gnome dependencies and especially the locales are gonna require a bit of RAM to avoid crashing.
3.) I see from your screenshot that you have composite shadows enabled. Is that slowing it down significantly or is it about as fast?

b-man 2009-01-12 02:09

Re: Ubuntu Jaunty for the N810/N800
 
Thanks for the tips and for pointing that error out :D, i'll update the guide sometime tonight or tomorrow. :)

Also, i havn't encountered any significant speed los in activating the composite manager. But that might verry depending on how much swap you use. I'm currently using 356mb of swap.

UPDATE: applyed the changes ;)

neatojones 2009-01-12 23:39

Re: Ubuntu Jaunty for the N810/N800
 
I only seem to be able to get the debootstrap to work from another debian (Deblet, ubuntu). It keeps stopping at the very beginning with this error in Maemo:

Nokia-N810-43-7:/mnt/jaunty# debootstrap --include="language-pack-en,language-pack-en-base,dmsetup,cryptsetup,hashalot,nano,sudo" --components=main,multiverse,universe,restricted --verbose --arch=armel jaunty /mnt/jaunty http://ports.ubuntu.com/ /usr/share/debootstrap/scripts/jaunty
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
W: http://ports.ubuntu.com/dists/jaunty...el/Packages.gz was corrupt
I: Retrieving Packages
E: Couldn't download dists/jaunty/main/binary-armel/Packages

This happens both with the debootstrap package from launchpad jaunty and the jaunty file posted in the first post in Maemo. Both Deblet and Ubuntu debootstrap this just fine.

Any ideas why Maemo would be choking like this?

Stskeeps 2009-01-13 00:01

Re: Ubuntu Jaunty for the N810/N800
 
Quote:

Originally Posted by neatojones (Post 257019)
I only seem to be able to get the debootstrap to work from another debian (Deblet, ubuntu).

Any ideas why Maemo would be choking like this?

/bin/md5sum missing (get it from deblet)
binutils not installed

neatojones 2009-01-13 00:07

Re: Ubuntu Jaunty for the N810/N800
 
Quote:

Originally Posted by Stskeeps (Post 257031)
/bin/md5sum missing (get it from deblet)
binutils not installed

binutils is the one from chinook repos (could this be the problem?) I think debootsrap depends binutils. Which binutils are you using?
Also, I see no /bin/md5sum in my maemo install, but jaunty install doesn't have it either and it debootstraps fine.

Stskeeps 2009-01-13 00:31

Re: Ubuntu Jaunty for the N810/N800
 
Quote:

Originally Posted by neatojones (Post 257035)
binutils is the one from chinook repos (could this be the problem?) I think debootsrap depends binutils. Which binutils are you using?
Also, I see no /bin/md5sum in my maemo install, but jaunty install doesn't have it either and it debootstraps fine.

Right. It's probably in /usr/bin/md5sum on your jaunty install. Again, grab md5sum from the deblet installer deb (just unpack it and grab it from within the tree) and put it in /bin/md5sum or whereever it fits :)

neatojones 2009-01-13 00:52

Re: Ubuntu Jaunty for the N810/N800
 
Regarding the instructions: Looks like wget should be included for install in the original debootstrap since it is used to get the repo key. I had to install it just prior to getting the key.

and I had to #export LC_ALL=C to avoid errors with locales

b-man 2009-01-13 02:53

Re: Ubuntu Jaunty for the N810/N800
 
Thanks, i'll add that to the guide. :)

b-man 2009-01-15 02:33

Re: Ubuntu Jaunty for the N810/N800
 
UPDATE: added md5sum and binutils to the guide to help fix debootstrap issue that some people have been reporting.

neatojones 2009-01-15 05:46

Re: Ubuntu Jaunty for the N810/N800
 
Doh!...More changes to the guide related to problems I was having. Seriously, I'm not meaning to be annoying with this. I'm just hoping to help create a guide that will work for everyone. Sorry, if my constant additions and remarks are getting on your nerves! :o Just let me know and I'll back off. I'm just excited about all of this and want to help other people learn to use it too.

b-man 2009-01-16 04:08

Re: Ubuntu Jaunty for the N810/N800
 
No problem :), in fact, i really appreciate the feedback and to know what needs changing/re-arranging. That's how you can create a successful project. :D

btw, fell free to stick around as long as you like, appreciate it :)

neatojones 2009-01-16 06:04

Re: Ubuntu Jaunty for the N810/N800
 
I just installed the mer bootscreen and all I can say is...Woah! Hats off to whoever made it. It is nice.

I also have a few more additions. I was originally having trouble with getting the apt-get commands to install from the right repositories. I found out, I had to install them individually or I would always end up with jaunty packages instead of the preferred mer ones. Not really sure what is causing this other than I noticed some of the packages are only available in jaunty and this could be messing it up...but, for me, I could only get the apt-get -t command to work properly by installing packages individually. I had to actually type in the package version in order to get it to install the mer version of xserver-xorg-input-tslib.(Edit: you seem to have already noticed this and fixed it)

I could only get the hardware clock to set correctly by placing the same line that you added to hwclock.sh to /etc/default/rcS which should be fine since we're already adding the CONCURRENCY line to it too.

Also, mer-rescue-menu depends mer-omap-fb-splash which has a conflicting file with usplash which is depended by ubuntu-desktop. So, to install ubuntu-desktop mer-rescue-menu and mer-omap-fb-splash must be removed.

meizirkki 2009-01-16 09:48

Re: Ubuntu Jaunty for the N810/N800
 
Or just install ubuntu-desktop first, then mer-rescue-menu

b-man 2009-01-17 01:39

Re: Ubuntu Jaunty for the N810/N800
 
Quote:

Originally Posted by neatojones (Post 258001)
I just installed the mer bootscreen and all I can say is...Woah! Hats off to whoever made it. It is nice.

I also have a few more additions. I was originally having trouble with getting the apt-get commands to install from the right repositories. I found out, I had to install them individually or I would always end up with jaunty packages instead of the preferred mer ones. Not really sure what is causing this other than I noticed some of the packages are only available in jaunty and this could be messing it up...but, for me, I could only get the apt-get -t command to work properly by installing packages individually. I had to actually type in the package version in order to get it to install the mer version of xserver-xorg-input-tslib.(Edit: you seem to have already noticed this and fixed it)

I could only get the hardware clock to set correctly by placing the same line that you added to hwclock.sh to /etc/default/rcS which should be fine since we're already adding the CONCURRENCY line to it too.

Also, mer-rescue-menu depends mer-omap-fb-splash which has a conflicting file with usplash which is depended by ubuntu-desktop. So, to install ubuntu-desktop mer-rescue-menu and mer-omap-fb-splash must be removed.

Thanks, i'll add some of that stuff to the guide. :)
Also, i might need to tweek apt-pinning a bit more to prevent packages from colliding with eatch other ;) and i might end up having to build a "ubuntu-rescue-menu" and "ubuntu-omap-fb-splash" to override usplash's script.


Btw, i've created a pre-built basic ubuntu jaunty rootstrap with root/user passwords pre-set and also includes xserver-xorg, aptitude, deselect, mer-rescue-menu, and pre-configured system files. All you would need to do is extract it to a partition and install a desktop env and then you would be good to go :D. i'll post the link with information on the first posst. :)

neatojones 2009-01-17 22:16

Re: Ubuntu Jaunty for the N810/N800
 
I just did a reinstall with gnome using these instructions and I've managed to get it to boot but I end up with a dark blue background with a mouse cursor on it (and no wallpaper). I can move the mouse by clicking th screen, but the rest of the gnome environment never seems to load. I also checked to see if the problem was gnome by installing xfce and got the same thing.

I'll take a look and make sure I have all of the packages set up that you recommended, but I'm curious as to if you might have any ideas of why gnome might not be loading (fully) on its own.

Do I need to tell gdm to load gnome or should that just be default?

b-man 2009-01-18 03:36

Re: Ubuntu Jaunty for the N810/N800
 
Hmm, it looks like there might be a problem with xsessions loading gdm properly. i'd suggest that you check to see if the line '/usr/sbin/gdm' is in /etc/X11/default-display-manager or to see if /etc/X11/Xsession.d/55gnome-session_gnomerc is available, but other than that i can't think of a nother way to fix that atm :(. (i'm having a fuew issues with startup myself atm)

Also, gdm (shuld) automaticly start up, unless /etc/X11/default-display-manager is empty.


All times are GMT. The time now is 01:00.

vBulletin® Version 3.8.8