maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Ubuntu (https://talk.maemo.org/forumdisplay.php?f=55)
-   -   [WIP] Ubuntu 9.10 on the N900 (https://talk.maemo.org/showthread.php?t=58083)

AlMehdi 2010-07-16 23:39

Re: [WIP] Ubuntu 9.10 on the N900
 
Don't remove UbuntuOne that could be useful. I am using it on my desktop. Would be pretty awesome to have it on the phone too.

aligatro 2010-07-17 00:11

Re: [WIP] Ubuntu 9.10 on the N900
 
You can always install it by typing sudo apt-get install ubuntuone-client-gnome. It just slows down the phone and increases boot time.

AlMehdi 2010-07-17 09:32

Re: [WIP] Ubuntu 9.10 on the N900
 
Did not think of that ;)

MohammadAG 2010-07-17 09:48

Re: [WIP] Ubuntu 9.10 on the N900
 
YES! Mouse works properly now, thanks to NITDroid's Jay-C and DJ_Steve :D
http://mohammadag.xceleo.org/public/...ntu/tsc2005.ko
insmod tsc2005.ko prescale=1 when adding the module.

hidetoshi777 2010-07-17 10:26

Re: [WIP] Ubuntu 9.10 on the N900
 
:) I guys..

I would ask you about speed... :)

Honza. 2010-07-17 15:37

Re: [WIP] Ubuntu 9.10 on the N900
 
How can i unpack ubunturootfs.tar.bz2? I tried Ubuntu virtual CD and win 7. Always get many errors like:

ubunturootfs.tar.bz2: Cannot open ..\gac
System.ComponentModel.DataAnnotations\3.5.0.0__31b f3856ad364e35\System.ComponentModel.DataAnnustar (gac\System.ComponentModel.DataAnnotations\3.5.0.0 __31bf3856ad364e35\System.ComponentModel.DataAnnot ations.dll --> ..\gac\System.ComponentModel.DataAnnotations\3.5.0 .0__31bf3856ad364e35\System.ComponentModel.DataAnn ustar )
! ubunturootfs.tar.bz2: Symbolic link points to missing file

MohammadAG 2010-07-17 15:47

Re: [WIP] Ubuntu 9.10 on the N900
 
tar -xjvf ubunturootfs.tar.bz2, be sure to have cd'd into the directory you want to unpack to.

Honza. 2010-07-17 15:59

Re: [WIP] Ubuntu 9.10 on the N900
 
When I format microSD to ext3 via gparted, it si locked. I cant copy files into. Any solution? Thanks

aligatro 2010-07-17 16:19

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by Honza. (Post 755070)
When I format microSD to ext3 via gparted, it si locked. I cant copy files into. Any solution? Thanks

Do it as root. If you are using gnome you can start nautilus as root and just drag files into that partititon. or from console cp -rfv <this folder> <targetfolder> or mv -rfv <this folder> <targetfolder>

you can remove "v" flag if you don't want output on the screen.

Quote:

Originally Posted by MohammadAG (Post 754748)
YES! Mouse works properly now, thanks to NITDroid's Jay-C and DJ_Steve :D
http://mohammadag.xceleo.org/public/...ntu/tsc2005.ko
insmod tsc2005.ko prescale=1 when adding the module.

thats great news.

Honza. 2010-07-17 20:09

Re: [WIP] Ubuntu 9.10 on the N900
 
Thank you. Now I have done all steps correctly, but when I choose Ubuntu in bootmenu, it only shows "Booting from ubuntu..." and nothing happend. Where I did mistake?

mornage 2010-07-17 20:44

Re: [WIP] Ubuntu 9.10 on the N900
 
wow! Excellent progress! Hope you can get it booting without R&D mode soon. Will install it as soon as that is done. Well, I have to wait for my new SD card and internet access to arrive so you got a couple of weeks ;)

aligatro 2010-07-17 20:46

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by Honza. (Post 755254)
Thank you. Now I have done all steps correctly, but when I choose Ubuntu in bootmenu, it only shows "Booting from ubuntu..." and nothing happend. Where I did mistake?

I wasn't successful too btw. I am trying to quadro-boot and so far the only one I can't boot into is ubuntu. Mine hangs on the line "Switching over to sbin/init" I thought it's the problem with my configuration. I Did anyone successfully installed it on their device ?

MohammadAG 2010-07-17 21:16

Re: [WIP] Ubuntu 9.10 on the N900
 
Hmm weird, OptX said the same, I thought he was doing it wrong
I'll upload a new image soon, with all fixes in it.

dylan.spiritwind 2010-07-18 06:53

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by aligatro (Post 755274)
I wasn't successful too btw. I am trying to quadro-boot and so far the only one I can't boot into is ubuntu. Mine hangs on the line "Switching over to sbin/init" I thought it's the problem with my configuration. I Did anyone successfully installed it on their device ?

Just confirming the same problem, hanging on sbin/init, the only difference is no other partitions on my card and using multiboot instead of dualboot. Im glad it isn't just me, I'll just patiently wait :)

Thanks for all your hard work!!!!

MaddogG 2010-07-18 13:05

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by Honza. (Post 755254)
Thank you. Now I have done all steps correctly, but when I choose Ubuntu in bootmenu, it only shows "Booting from ubuntu..." and nothing happend. Where I did mistake?

Same problem here...anyway, good work! :D

ryanl33x1511 2010-07-20 03:39

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by MohammadAG (Post 752676)
http://mohammadag.xceleo.org/public/...rootfs.tar.bz2
MD5Sum: a76ada218fac7d014115f38d7dfb14b3

(First of all, thanks to xnt14 for allowing me to host the file and giving me a subdomain - I've moved my files to http://mohammadag.xceleo.org/public/ so you can find everything from me there, again, thanks)

Mouse working! See this Note: as I said above, the mouse pointer is broken, this does NOT seem to be a calibration but a kernel module one, or a broken X/xorg configuration file, the pointer works fine in Fedora 12 and Mer, so I'm assuming this is a cannonical modified X problem, need assistance on this as Ubuntu is be very unusable with a broken pointer.
How unusable is unusable? The pointer is flipped, so up is down, the top part of the screen moves the pointer to the bottom side, and the far ends of the screen cannot be tapped without pressure on the bottom side of the screen, again, I need help from someone who knows C to fix this.

Quick instructions, I'm not really into sfdisk so the instructions are based on gparted, if anyone feels the instructions could be better then please feel free to post what you want :)

1. Connect the N900 to a PC running linux (Live CDs/Virtual machines will suffice).
2. Use gparted to partition the N900's MicroSD card, the image is 2.3GBs uncompressed, so you'll need at least 2.5GBs to run Ubuntu (3GBs if you want extra space for /home or apps).
3. Unpack the tar.bz2 into the root of the partition, an easy way to do this would be to use file-roller, the defualt archive manager in Ubuntu.
4. Disconnect the N900 from your PC.
5. Open terminal, type ls /dev/mmcblk1* to see the partitions on your MicroSD.
Assuming your partition is /dev/mmcblk1p2..
Code:

mkdir -p /mnt/ubuntu && mount /dev/mmcblk1p2 /mnt/ubuntu
Code:

cp -r /lib/modules/* /mnt/ubuntu/lib/modules/
cp /lib/firmware/* /mnt/ubuntu/lib/firmware/
chroot /mnt/ubuntu /bin/bash
useradd -m <replace with your username here> (e.g useradd -m mohammad)
# fill in details as you wish.
visudo
# Edit the file and add your username to sudoers using visudo
# Example (replace my username with yours)
# # User privilege specification
# root        ALL=(ALL) ALL
# mohammad    ALL=(ALL) ALL

Code:

cp /usr/share/applications/gnome-terminal.desktop /home/mohammad/Desktop/
Code:

exit
6. Install bootmenu-n900 and add a bootmenu entry in /etc/bootmenu.d
Code:

vi /etc/bootmenu.d/ubuntu.ext.item
# Press I to enter input mode.
# Replace partition numbers with the ones on your device.

Code:

ITEM_NAME="Ubuntu 9.10 Karmic (external SD, partition 2)"
ITEM_ID="ubuntu"
ITEM_DEVICE="${EXT_CARD}p2"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"

Shutdown the N900, hold the U key to go into flashing mode then
Code:

flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-lifeguard-reset,no-ext-wd
The need for R&D mode will be fixed soon, I didn't save how I did last time so I'll need to figure it out again.

Reboot, and pick Ubuntu in the bootmenu and gnome desktop should start.

Edit: oh and to get BT working (thanks giannoug)
Code:

echo "00:11:22:33:44:55" > /sys/devices/platform/hci_h4p/bdaddr; modprobe -r hci_h4p; modprobe hci_h4p

got this problem when do the first step.

cp -r /lib/modules/* /mnt/ubuntu/lib/modules/
cp: cannot create symlink '/mnt/ubuntu/lib/modules/current': Operation not permitted


i tried both in root and gainroot mode..any help?

aligatro 2010-07-20 03:44

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by ryanl33x1511 (Post 757407)
got this problem when do the first step.

cp -r /lib/modules/* /mnt/ubuntu/lib/modules/
cp: cannot create symlink '/mnt/ubuntu/lib/modules/current': Operation not permitted


i tried both in root and gainroot mode..any help?

The system is unbootable right now, so you might wanna wait untill he reuploads the archive. And I think you don't even need to create symlink. Just copy the folder that matches your kernel.

ryanl33x1511 2010-07-20 04:00

Re: [WIP] Ubuntu 9.10 on the N900
 
thanks for a head up, took me 4hours to exact to my microSD :(

aligatro 2010-07-20 17:48

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by ryanl33x1511 (Post 757414)
thanks for a head up, took me 4hours to exact to my microSD :(

4 hours ????? O_O I hope you weren't extracting it on the phone.

ryanl33x1511 2010-07-20 18:48

Re: [WIP] Ubuntu 9.10 on the N900
 
i extracted it on desktop then copied to my microsd via my adapter, wasnt that the fastest way to do it ?

juandp77 2010-07-20 20:42

Re: [WIP] Ubuntu 9.10 on the N900
 
im getting this error:

Nokia-N900:~# chroot /mnt/ubuntu /bin/bash
groups: cannot find name for group ID 670

anyone knows the solution

efekt 2010-07-20 21:08

Re: [WIP] Ubuntu 9.10 on the N900
 
Sorry for the bit noobish question, as I'm not so familiar with ubuntu - can this version (running on the N900) run applications in WINE? or its not possible due to the ARM processor?

ear0wax 2010-07-20 21:15

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by efekt (Post 758427)
Sorry for the bit noobish question, as I'm not so familiar with ubuntu - can this version (running on the N900) run applications in WINE? or its not possible due to the ARM processor?

Not possible, but you can run wine under bochs http://www.wine-reviews.net/wine-rev...okia-n900.html

Coffee 2010-07-20 21:49

Re: [WIP] Ubuntu 9.10 on the N900
 
Guys,
How can I do this from Windows 7. I have never used Linux/ Ubuntu at all though would like to give this a go. Learn and try something different. This is half the reason I brought this phone and beauty of it. Open, free, endless options

aligatro 2010-07-21 00:11

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by ryanl33x1511 (Post 758271)
i extracted it on desktop then copied to my microsd via my adapter, wasnt that the fastest way to do it ?

mine takes about 20-30 mins. (From desktop to flash)

ryanl33x1511 2010-07-21 20:16

Re: [WIP] Ubuntu 9.10 on the N900
 
any news on update the new images ?

juandp77 2010-07-23 13:44

Re: [WIP] Ubuntu 9.10 on the N900
 
any progres, are you having problems in something, maybe we could help?

MaddogG 2010-07-23 17:17

Re: [WIP] Ubuntu 9.10 on the N900
 
Yeah, tell us, please! :)

MohammadAG 2010-07-23 18:16

Re: [WIP] Ubuntu 9.10 on the N900
 
Well, was away from home and stuck with a 128kbps connection, so I didn't even try to upload it, might tar and up it tonight.

MaddogG 2010-07-23 18:58

Re: [WIP] Ubuntu 9.10 on the N900
 
:D

Can't wait...

ryanl33x1511 2010-07-23 23:47

Re: [WIP] Ubuntu 9.10 on the N900
 
me too...cant wait to multiboot N900,Droid, and Ubuntu

BrettQ 2010-07-27 11:57

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by MohammadAG (Post 762465)
Well, was away from home and stuck with a 128kbps connection, so I didn't even try to upload it, might tar and up it tonight.

Any ETA on the new version that doesn't need R&D mode? Can you recommend a few good resources to get up to speed on making a custom rootfs for the N900? I really want to give Ubuntu 10.4 a shot.

sake 2010-07-27 12:19

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by BrettQ (Post 766338)
Any ETA on the new version that doesn't need R&D mode? Can you recommend a few good resources to get up to speed on making a custom rootfs for the N900? I really want to give Ubuntu 10.4 a shot.

the new NITdroid version + new multiboot can dualboot without r&d mode

6sicSIX 2010-07-27 22:30

Re: [WIP] Ubuntu 9.10 on the N900
 
He means without rd mode for ubuntu m'thinks

MaddogG 2010-07-28 19:12

Re: [WIP] Ubuntu 9.10 on the N900
 
Any news? Is this project still alive?

ryanl33x1511 2010-07-29 15:22

Re: [WIP] Ubuntu 9.10 on the N900
 
yea any news?

teh 2010-08-03 15:59

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by MaddogG (Post 768196)
Any news? Is this project still alive?

Yes its still alive. Why would it die in 2 weeks?

MohammadAG said this the other day:
Well, was away from home and stuck with a 128kbps connection, so I didn't even try to upload it, might tar and up it tonight.

So that kinda explains a lot to why there isn't much happening

MohammadAG 2010-08-03 17:06

Re: [WIP] Ubuntu 9.10 on the N900
 
http://www.speedtest.net/result/901892516.png

cfh11 2010-08-03 17:19

Re: [WIP] Ubuntu 9.10 on the N900
 
lol i think i get faster speeds on 2.5g (tmobile usa)

tobyax 2010-08-03 18:35

Re: [WIP] Ubuntu 9.10 on the N900
 
its possible now to run on multiboot and without R&D mode?

sorry again for my bad english


All times are GMT. The time now is 12:08.

vBulletin® Version 3.8.8