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)

antennenmann 2011-03-09 18:01

Re: [WIP] Ubuntu 9.10 on the N900
 
Hi

I installed nitdroid already so i followed the instructions on

http://maemo.org/community/maemo-use...ef9335a0cfa0cf

after

flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-lifeguard-reset,no-ext-wd

i can choose ubuntu but it dont boot !:confused:
i press 3 for ubuntu and it tries to load from mmcblk0p5. why ?

in /etc/multiboot.d/ubuntu.ext.item i wrote EXT_CARD and that is mmcblk1 or not ?

after hours of work i could not accept this dead end so please help me !


another question: how to switch off rd mode ?

ivyking 2011-03-09 18:32

Re: [WIP] Ubuntu 9.10 on the N900
 
there is nothing wrong with the sdcard being mmcblk0 , that only applies outside maemo .

I think there maybe something wrong with the "p5" part of the mmcblk0p5 , you using extended partition ? double check which partition you have ubuntu installed on .

antennenmann 2011-03-09 18:40

Re: [WIP] Ubuntu 9.10 on the N900
 
thank you for your fast reply,

but p5 is the ubuntu partition.

when i boot nitdroid there is displayed a kernel version but in nitubuntu bootscreen after pressing 3 for ubuntu are only the options i filled in:

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

isnt it necessary to have an ITEM_KERNEL=xxx or other options
to boot nitubuntu ?

frendz07 2011-03-10 18:56

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


is thr any way to partion micro sd thru windiws xp!!!?

ear0wax 2011-03-10 19:03

Re: [WIP] Ubuntu 9.10 on the N900
 
Simply put. NO.

Minhaz 2011-03-10 19:22

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

Originally Posted by frendz07 (Post 965149)
is thr any way to partion micro sd thru windiws xp!!!?

ya i think u can do dat wid Arconis Disk Director but thats a shareware

frendz07 2011-03-10 19:34

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

Originally Posted by Minhaz (Post 965162)
ya i think u can do dat wid Arconis Disk Director but thats a shareware

thanks a lot, my Net was fast enough , got ubuntu for desktop, amd Vm ware as well

frendz07 2011-03-10 19:36

Re: [WIP] Ubuntu 9.10 on the N900
 
sorry am bit poor in these things , but

"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"

do we need to enter all these above codes on N900

samipower 2011-03-14 11:51

Re: [WIP] Ubuntu 9.10 on the N900
 
hello any tutorial for it:

kubuntu mobile 11.04 natty

images:

http://cdimage.ubuntu.com/kubuntu-mo...el+omap.img.gz



or ubuntu 11.04
http://cdimage.ubuntu.com/ubuntu-net...el+omap.img.gz


instructions:
http://ianlawrence.info/random-stuff...le-on-the-n900
https://wiki.ubuntu.com/ARM/n900
https://wiki.kubuntu.org/ARM/n900/
https://wiki.ubuntu.com/ARM/OMAP/Graphics

all correct? any person can verify it? and post a good tutorial?

Marcus 2011-03-15 21:05

Re: [WIP] Ubuntu 9.10 on the N900
 
Is this still working (Ubuntu on n900)?
If so, how is the speed these days?


All times are GMT. The time now is 17:03.

vBulletin® Version 3.8.8