Active Topics

 


Reply
Thread Tools
Posts: 16 | Thanked: 5 times | Joined on Jun 2011
#1
Hello, I installed Ubuntu Natty with DE Unity on internal memory of N900, I added the file.item in the folder Multiboot.d with the kernel in /boot, but the kernel look for the root on dev/mmcblk0p1..I tried ITEM_DEVICE = mmcblck0p2 and ITEM_DEVICE = INT_CARD} {$ p2, the kernel starts, but always look for the root mmcblck0p1,
Any ideas??
If I flash with Nokia's flasher tool it's all right! if we can solve this we have the multiboot with Maemo, here a video..
sorry for my bad English
http://www.youtube.com/watch?v=Q0IP9HG4X8I
I don't speak english so i will limit to write the terminal comand.. for original link http://www.smartphonetab.net/forum/s...tu-Natty/page8 pag.8 post 75 for the NATTY root extraction and post 119 pag 12 for the installation..
The extraction can be made for any S.O...
EXTRACTION OF NATTY ROOT: from a LINUX PC download the image and extract it, put the .img in your home so in the terminal
Code:
 
sudo su
mkdir /media/natty
mkdir /media/natty2
cd /home/YOURACCOUNT/
mount -o loop,offset=74027520 ubuntu-11.04-preinstalled-netbook-armel+omap.img /media/natty
dd if=/dev/zero of=ubuntu.img.ext3 bs=1024 count=0 seek=$[1024*3000]
mkfs.ext3 -m0 -L ubuntu.img.ext3 ubuntu.img.ext3 
mount -o loop ubuntu.img.ext3 /media/natty2
cd /media/natty
tar -cf - . | ( cd /media/natty2 ; tar -xpvf - )
umount /media/natty
umount /media/natty2
now we have the image to use with chroot, if you want use it with chroot read the post 77
now we install it so put the .img.ext3 in MyDocs with USB, it's so large and unplug the n900 for pc and from the pc terminal :
Code:
ssh root@xxx.xxx.x.x
xxx.xxx.xx.xx is n900 I.P. for that in n900 terminal
Code:
root
ifconfig
this is the output, that in red is n900 I.P
Code:
Nokia-N900:~# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1289 (1.2 KiB)  TX bytes:1289 (1.2 KiB)

phonet0   Link encap:UNSPEC  HWaddr 15-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          UP POINTOPOINT RUNNING NOARP  MTU:4000  Metric:1
          RX packets:1842 errors:0 dropped:0 overruns:0 frame:0
          TX packets:147 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:28968 (28.2 KiB)  TX bytes:2492 (2.4 KiB)

wlan0     Link encap:Ethernet  HWaddr 0C:DD:EF:93:29:47  
          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6649 (6.4 KiB)  TX bytes:7484 (7.3 KiB)

wmaster0  Link encap:UNSPEC  HWaddr 00-1F-DF-94-0A-A6-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
so in the ssh terminal (from PC after ssh root@xxx.xxx.xx.x)
Code:
root
mkdir /mnt/natty
mkdir /mnt/natty2
qchroot home/user/MyDocs/ubuntu.img.ext3 /mnt/natty
adduser YOURNEWACCOUNT
if don't ask for a password do:
Code:
passwd YOURNEWACCOUNT
qumount /mnt/natty
now we must edit the partition, with GPARTED, explain it in english, for me, is more difficult that you try do it, ATTENTION a error can be dangerous..
power off the n900 and power on it with keyboard open enter in backupmenu, press button w and connect to pc, so you must work with GPARTED
I reduced my FAT partition and expanded the my EXT3, if you make a new partition cange mmcblk0p2 with mmcblkop4, I worked only with mmcblkop2
I do it from pc terminal connect by ssh to n900 but you can do from the n900 terminal:
reconnect from pc terminal by ssh to n900 (ssh root@xxx.xx.x.x. in pc terminal)and:
Code:
root
mount /dev/mmcblk0p2 /mnt/natty2 (change here mmcblk0p2 with mmcblk0p4 if you must)
mount /home/user/MyDocs/ubuntu.img.ext3 /mnt/natty2
Code:
cd /mnt/natty2
tar -cf - . | ( cd /media/natty ; tar -xpvf - )
wait, you can go to drink a beer, or two
now we have installed Natty on n900 but it can't start, we must study a integration with multiboot, now it don't work so we must flash the n900 by pc every time, and it no good.. in the original post we are study a solution, for now power off the n900 and connect it to usb of pc pressing U button and from pc terminal go in the folder where you download the kernel http://www.megaupload.com/?d=U0CWT2O1, rename the file cancel .zip, don't extract
Code:
sudo flasher-3.5 -l -k vmlinuz-2.6.35-1-n900 -b"rootwait root=/dev/mmcblk0p2"
I have extract all that package https://answers.launchpad.net/ubuntu/+source/linux-n900/2.6.35-1.3.1/+build/2269559 and put the three folder on / of Natty partition
if the boot fail try again, after many time it start and it start everytime..login with user and password choice with chroot in principle
if something go wrong flash only the kernlel, so you don't lose any thinks :
sudo flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin --flash-only kernel -f -R

THE ENGLISH IS VERY VERY VERY BAD SO READ THE ORIGINAL LINK
read all post from 75

Last edited by DanieSS; 2011-06-19 at 01:50.
 

The Following 5 Users Say Thank You to DanieSS For This Useful Post:
Posts: 7 | Thanked: 1 time | Joined on Feb 2010 @ Germany Bremen
#2
Hello,

can you descripe how you put the data on the emmc ?

best regards
tobi
 
Posts: 16 | Thanked: 5 times | Joined on Jun 2011
#3
I I will write the guide when i solve this problem

Last edited by DanieSS; 2011-06-17 at 23:34.
 
Posts: 7 | Thanked: 1 time | Joined on Feb 2010 @ Germany Bremen
#4
Ok, I think you know the additional c in mmcblck0p2

If you understand German, here is a howto for nitdroid

http://www.meego.de/forum/nitdroid/1...-sd-karte.html
 
Posts: 16 | Thanked: 5 times | Joined on Jun 2011
#5
thanks but don't work!
 
Posts: 16 | Thanked: 5 times | Joined on Jun 2011
#6
but in that post there isn't any additional c...
 
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#7
please let me know how this goes, this is something i want, not lame android.
 

The Following User Says Thank You to dr_frost_dk For This Useful Post:
Posts: 16 | Thanked: 5 times | Joined on Jun 2011
#8
I found the problem .. to soo
stay tuned .. ;-D
 
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#9
Code:
ITEM_NAME="Ubuntu Natty 2.6.28" 
ITEM_KERNEL=2.6.28 
ITEM_MODULES=ext3 
ITEM_DEVICE=${INT_CARD}p1 
ITEM_FSTYPE=ext3 
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro
I'd advise you try using the MeeGo 2.6.37 kernel. Remove the uBoot header first though.
2.6.28 is a bit too old for my liking. Should work though, as IIRC the latest glibc depends on at least 2.6.26.
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.
 
Posts: 16 | Thanked: 5 times | Joined on Jun 2011
#10
i haven't problem of kernel but in multiboot, I have Natty on mmcblk0p2 and if i flash with linux pc it's all right, but when multiboot flash, the kernel is looking for root on mmcblkop1, the my .item is right..
ITEM_NAME="02-Natty"
ITEM_KERNEL=2.6.35-1
ITEM_MODULES="mbcache jbd ext3"
ITEM_DEVICE=mmcblk0p2
ITEM_FSTYPE=ext3
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro

Last edited by DanieSS; 2011-06-18 at 01:11.
 
Reply


 
Forum Jump


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