maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic (https://talk.maemo.org/showthread.php?t=60461)

eL.ectron1k 2010-08-16 09:50

Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Hi everybody!

Now i'm havin some questions, tried to get answers on Russian f-boards, but no one helped me.So...


Now i'm having Nitdroid on SD card as second OS, but as i see, we can install Ubuntu 9.10 and MeeGo on N900....

So my question is how to install 3 OS ( Nitdroid, MeeGo and Ubuntu ) using Multiboot and .item files?

Anyone can help me and my crazy head? ^_^

Sorry for my Eng and mistakes)

kingoddball 2010-08-16 10:14

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Make 4 partitions.
Find out how to get Multiboot to install any Kernels you want and create the .item files with the correct partition numbers.

It's virtually the same as installing just one OS, but you just change the Partition number to 3 or 4 and find the right kernel.

Done :)

eL.ectron1k 2010-08-16 10:22

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
So i can just repart my SD card to mmcblk1p1 ( k1p2 + k1p3 )

and like in nitdroid add information in item file to boot from % partition with % params and use % filesystem, yep? =)

SimonGie 2010-08-16 12:00

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Yep, exactly right. But you also need to have the fiasco kernel image in /boot/multiboot/
Then multiboot will dynamically flash the different kernels as it needs them.

eL.ectron1k 2010-08-16 12:27

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Hm
Yep, as i see now in my terminal :

#root
#cd /boot/multiboot/
#ls
vmlinuz-2.6.28-omap1 vmlinuz-2.6.28.NIT.05

So the next two should be [vmlinuz-2.6.28-MeeGo & vmlinuz-2.6.28-Ubuntu]
And that names should be correctly be written in /etc/bootmenu.d items.

Push me if i wrong in that =)

SimonGie 2010-08-16 12:33

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
100%
Just make sure that the kernel name you put in the item file matches the kernel name properly.

Normaly the kernel name in the .item file is the same as the name in /etc/multiboot/ just with the vmlinuz- removed.

eL.ectron1k 2010-08-16 12:44

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Okay, after my HARDEST monday, i'll come home, take n900, get in bad and spend all time just before my gf comes home ^_^

If i get any news, i'll post them here, like manual..)

10x SimonGie and kingoddball!

SimonGie 2010-08-16 12:45

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
No problem, let us know how it goes.

eL.ectron1k 2010-08-16 13:09

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Hm

Quote:

sfdisk -uM /dev/mmcblk1 << EOF
,<YOUR NUMBER IN MB>,C
,,L
,,
,,
EOF
If i'm doing that - i get a k1p1 with 14gb available, and k1p2 with 2 gb for NitDroid. OK

So now, if i'll try to do that again, my whole SD card will format again, isn't it?


Can i repart not a whole hard disk, but a partition with --force command?

Or better use fdisk for that?

mornage 2010-08-16 13:40

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by eL.ectron1k (Post 788072)
Hm


If i'm doing that - i get a k1p1 with 14gb available, and k1p2 with 2 gb for NitDroid. OK

So now, if i'll try to do that again, my whole SD card will format again, isn't it?


Can i repart not a whole hard disk, but a partition with --force command?

Or better use fdisk for that?

For more patitions:

Code:

sfdisk -uM /dev/mmcblk1 << EOF
,<YOUR NUMBER IN MB>,C
,<YOUR NUMBER IN MB>,C
,<YOUR NUMBER IN MB>,C
,,L
EOF

That will create four partitions, the first 3 will be fat, the last will be EXT3. Choose partition sizes for the first 3 and whatever is left will be the ext 3 partition.

The letter you put on the end of the line decides the file system so if you need ext3 partitions, use L instead of C.

eL.ectron1k 2010-08-16 13:52

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
So i made that
sfdisk -uM /dev/mmcblk1 <<EOF
,2000,L
,2000,L
,2000,L
,,C
EOF

'cause Nitdroid MeeGo and ubuntu needs and ext3 partition.

The first step OK, today i'll download all images of OS's and tomorrow will try to install them on each one partition.

Thanks for all!
Have a nice day ^_^

mornage 2010-08-16 14:05

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by eL.ectron1k (Post 788108)
So i made that
sfdisk -uM /dev/mmcblk1 <<EOF
,2000,L
,2000,L
,2000,L
,,C
EOF

'cause Nitdroid MeeGo and ubuntu needs and ext3 partition.

The first step OK, today i'll download all images of OS's and tomorrow will try to install them on each one partition.

Thanks for all!
Have a nice day ^_^

You have to remember that the fat partition is now p4 though. If you follow the NITDroid guide that will tell you to install NITDroid on p2. You are probably best off sticking with this as the item file points to that partition.

eL.ectron1k 2010-08-16 15:35

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
mornage, yep, i know that, thank you.
I'll change item file if get some probs,but hope won't =)

eL.ectron1k 2010-08-16 15:44

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Just need to use
Quote:

mke2fs -L NITDroid -j -m0 /dev/mmcblk1p4
, not
Quote:

mke2fs -L NITDroid -j -m0 /dev/mmcblk1p2
like in manual,yep?)



aaaand
use
Quote:

cd /etc/multiboot.d
cat > NITdroid-2.6.28.NIT.05.item << EOF
ITEM_NAME="NITdroid on MMCp2 - 2.6.28.NIT.05"
ITEM_KERNEL=2.6.28.NIT.05
ITEM_MODULES=ext3 fat vfat
ITEM_DEVICE=\${EXT_CARD}p1
ITEM_FSTYPE=ext3
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro,commit=3
EOF
not ITEM_DEVICE=\${EXT_CARD}p2

Because when i made an file systemsi used
mke2fs -L NITDroid -j -m0 /dev/mmcblk1p1
mke2fs -L MeeGo -j -m0 /dev/mmcblk1p2
mke2fs -L Ubuntu -j -m0 /dev/mmcblk1p3
mkdosfs /dev/mmcblk1p4

Why i cant mke2fs -C Maemo -j -m0 /dev/mmcblk1p4 ? I'll get an error?

MohammadAG 2010-08-16 15:46

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Ubuntu 9.10 development is currently stalled (for the community - working on it here) till I get a faster network connection, don't try to install it.

eL.ectron1k 2010-08-16 15:56

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by MohammadAG (Post 788210)
Ubuntu 9.10 development is currently stalled (for the community - working on it here) till I get a faster network connection, don't try to install it.

Hmm... Ok, i'll try just nitdroid and meego now, than after your suggestion, will try Ubuntu...thx a lot!

jaguilar 2010-08-16 15:59

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
There's no a easy way to boot in various OS's. Multiboot needs special kernel that recognise it and show the menu.

There is a kernel for Maemo and for NITDroid. But the kernel that MeeGo is using not work. You can boot to MeeGo with Multiboot, but can't back to other OS (Multiboot is no more showed).

I have MeeGo and NITDroid in my memory card, but after booting in MeeGo, I need to use Flasher to come back to Maemo or NITDroid.

Maybe there is a way to MeeGo itself reflashes the device....but it's beyond my knowledge.

BluesLee 2010-08-16 16:00

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by eL.ectron1k (Post 788223)
Hmm... Ok, i'll try just nitdroid and meego now, than after your suggestion, will try Ubuntu...thx a lot!

concerning meego: this might be helpful

http://www.orient-lodge.com/node/4202


Blues

eL.ectron1k 2010-08-16 16:04

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
jaguilar, it's the reason i started a new topic =)
We will try to fix it somehow.

BluesLee, thank you!

eL.ectron1k 2010-08-16 16:11

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

There is a kernel for Maemo and for NITDroid. But the kernel that MeeGo is using not work. You can boot to MeeGo with Multiboot, but can't back to other OS (Multiboot is no more showed).
As i know, we can start an flasher from maemo distr, yep?
but why we can't use some "script" in bootmenu like "cmd" in windows \ unix?

jaguilar 2010-08-16 17:11

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by eL.ectron1k (Post 788239)
As i know, we can start an flasher from maemo distr, yep?

Yep!! In fact, this is exactly what Multiboot does.

Quote:

Originally Posted by eL.ectron1k (Post 788239)
but why we can't use some "script" in bootmenu like "cmd" in windows \ unix?

What for??

The main problem after booting in MeeGo is that Multiboot is no more executed! The MeeGo kernel doesn't run it.

aligatro 2010-08-16 18:56

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
eL.ectron1k,
If you already have stuff on your flash card then use Gparted. You can easily resize partitions and make new ones from empty space. Since ubuntu is stalled, you can try to install debian instead. They are very similar[ubuntu is based on debian], but ubuntu repositories have newer builds. I was somewhat successful following this: https://elektranox.org/website/debian_on_n900.html#nodm guide, but the gnome was unusable because of some bug.

eL.ectron1k 2010-08-17 05:10

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
aligatro, are u talking about Easy Debian, or separate system on partiton?
If first, i have it, but it works hard because it's a new process in maemo, not new started from partition.

If second, i'll check it too.

Thx!

P.S.

I have no stuff on SD card, because i bought that just for systems.

eL.ectron1k 2010-08-17 07:18

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
So...
Now i changed my partitions again =( ( yesterday Nitdroid didnt booted )

now i have:


Quote:

Number Start End Size Type File system Flags
1 512B 2097MB 2097MB primary ext3
2 2097MB 4194MB 2097MB primary ext3
3 4194MB 6291MB 2097MB primary ext3
4 6291MB 15,9GB 9640MB primary fat32 lba

First of all i'll try to install NitDroid again to the Second Partition, than will check Debian.

eL.ectron1k 2010-08-17 11:03

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Guys, please help me)

Can't mount my SD card (9gb capacity = mmcblk1p4).

In FIles ( Default file manager ) i can see only internal memory, but cant see SD.

I tryed to do that:

mount /dev/mmcblk1p4 /media/mmc1

as i see, i making a mistake somewhere....

mornage 2010-08-17 11:15

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by eL.ectron1k (Post 789185)
Guys, please help me)

Can't mount my SD card (9gb capacity = mmcblk1p4).

In FIles ( Default file manager ) i can see only internal memory, but cant see SD.

I tryed to do that:

mount /dev/mmcblk1p4 /media/mmc1

as i see, i making a mistake somewhere....

You have got your back over on??

If so, Maemo should automatically mount the fat partition. Have you checked in file manager to see if the sd card is there?

eL.ectron1k 2010-08-17 11:20

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
>>You have got your back over on??

Yep

>>Have you checked in file manager to see if the sd card is there?

I wrote by myself /dev/mmcblk1p4 in /etc/fstab and it works, but now carg is damaged.


Trying to use now...

mkfs.vfat /dev/mmcblk1p4


* Made operation with mkfs.vfat, but here is message "The format of your SD card is not supported" <---- Translated from Russian

eL.ectron1k 2010-08-17 13:03

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Hm, NitDroid doesn't work....

n900 loads, multiboot - i press 1 - lots of string - after battery27x00.....blablabla he is stopped.
I can just eject battery than maemo loads

Dousan 2010-08-17 20:19

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by eL.ectron1k (Post 789349)
Hm, NitDroid doesn't work....

n900 loads, multiboot - i press 1 - lots of string - after battery27x00.....blablabla he is stopped.
I can just eject battery than maemo loads

I think you need to re-extract the NITdroid rootfs and that should make it work. It's a known issue that sometimes you have to re-extract. Don't know why it doesn't do it right the first time?

Hope you get the Meego running from sdcard and please do share how to if you get it going :D

jaguilar 2010-08-17 20:58

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by Dousan (Post 789741)
Hope you get the Meego running from sdcard and please do share how to if you get it going :D

I ran MeeGo in my N900. You can see some photos here (sorry, the blog is in Brazilian Portuguese).

All you need to do is follow these instructions.

As I said before, unfortunatelly isn't possible use Multiboot to run MeeGo, Maemo and NITDroid together. I can boot in MeeGo, but cannot boot back in Maemo or NITDroid without using Flasher...at the moment.

kishan 2010-08-17 21:21

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
in my application manager there is an actualization: "Enhanced boot loader for Maemo - Maemo ULTimate BOOTloader" .....

in the description says: "This package installs an enhanced bootmenu, needed for booting from a MMC card. This is required e.g. for booting other operating systems, like Meego or Android. This bootloader has many advanced features, including automatic kernel flashing using flash tools, kexec support, power configuration, etc. This software wa written by Jay Cartman"

and the version is: 0.2.10-1 .... i have installed the version 0.2.5 with maemo and nitdroid.

maybe this new version works too boot meego, android, and maemo ...i really don't know but check it out!

link to the package: http://maemo.org/packages/view/multiboot/

Reffyyyy 2010-08-17 21:28

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
@Jaguilar

Are you only using the flasher to flash the kernel?

I believe Multiboot has the capability to flash whatever kernels you specify. Unfortunately, I don't know how.

jaguilar 2010-08-17 22:50

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by Reffyyyy (Post 789801)
Are you only using the flasher to flash the kernel?

To boot in MeeGo I used Multiboot, but making some customizations (in fact only a symbolic link to the Maemo kernel libraries).

Quote:

Originally Posted by Reffyyyy (Post 789801)
I believe Multiboot has the capability to flash whatever kernels you specify. Unfortunately, I don't know how.

Correct. But the kernel you flash MUST recognize Multiboot, and show its menu. It occurs with Maemo and NITDroid kernels, but not with MeeGo kernel. So you can't back from MeeGo without Flasher.

@kishan
I really didn't test with lastest version of Multiboot because I installed it yesterday (and erased MeeGo partition). I will make some tests, but I don't think that will work...

mornage 2010-08-17 23:35

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by kishan (Post 789794)
in my application manager there is an actualization: "Enhanced boot loader for Maemo - Maemo ULTimate BOOTloader" .....

in the description says: "This package installs an enhanced bootmenu, needed for booting from a MMC card. This is required e.g. for booting other operating systems, like Meego or Android. This bootloader has many advanced features, including automatic kernel flashing using flash tools, kexec support, power configuration, etc. This software wa written by Jay Cartman"

and the version is: 0.2.10-1 .... i have installed the version 0.2.5 with maemo and nitdroid.

maybe this new version works too boot meego, android, and maemo ...i really don't know but check it out!

link to the package: http://maemo.org/packages/view/multiboot/

Only changes seem to be minor ones to get it to devel.

eL.ectron1k 2010-08-18 05:16

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

I think you need to re-extract the NITdroid rootfs and that should make it work. It's a known issue that sometimes you have to re-extract. Don't know why it doesn't do it right the first time?

Hope you get the Meego running from sdcard and please do share how to if you get it going
Hrmmm....
Yesterday i installed 0.0.5 version, than updated on 0.0.6 and it's workin' now....so problem with nitdroid is solved..

Now, waiting for NitDroid developers, when they make a manual how to install NitDroid 0.0.7 without autoinsteller, till then i'm installing debian on partition as system

andrewfblack 2010-08-18 12:05

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by eL.ectron1k (Post 790021)
Hrmmm....
Yesterday i installed 0.0.5 version, than updated on 0.0.6 and it's workin' now....so problem with nitdroid is solved..

Now, waiting for NitDroid developers, when they make a manual how to install NitDroid 0.0.7 without autoinsteller, till then i'm installing debian on partition as system

There will no longer be a manual how to, if you want to do it manual you will need to get in IRC and ask for help. To many people messing up with manual install to make it worth having a how to.

aligatro 2010-08-18 19:29

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by eL.ectron1k (Post 788900)
aligatro, are u talking about Easy Debian, or separate system on partiton?
If first, i have it, but it works hard because it's a new process in maemo, not new started from partition.

If second, i'll check it too.

Thx!

P.S.

I have no stuff on SD card, because i bought that just for systems.

It's a separate OS.


Quote:

Originally Posted by eL.ectron1k (Post 790021)
Hrmmm....
Yesterday i installed 0.0.5 version, than updated on 0.0.6 and it's workin' now....so problem with nitdroid is solved..

Now, waiting for NitDroid developers, when they make a manual how to install NitDroid 0.0.7 without autoinsteller, till then i'm installing debian on partition as system

http://downloads.nitdroid.com/nitinstaller/Packages/
it seems that installer extracts patches as well and overwrites files on the android partition. So, if you want to do it manually, you will have to extract them by hand. I could be wrong, I am not very strong in shell scripting.

eL.ectron1k 2010-08-19 05:20

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
aligatro,
yesterday I've installed NitDroid by autoinstaller, than reparted vfat to [ext3 ext3 vfat] partitions, so now is all fine, thx for ur advance!

Next time i'll try to untar patches and take a look on it)

mido.fayad 2010-08-22 14:32

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Quote:

Originally Posted by aligatro (Post 790915)
It's a separate OS.




http://downloads.nitdroid.com/nitinstaller/Packages/
it seems that installer extracts patches as well and overwrites files on the android partition. So, if you want to do it manually, you will have to extract them by hand. I could be wrong, I am not very strong in shell scripting.

hey
i also don't want to try automatic installing
so i used manual one
you just need to download packages and then install all of them
i tried it and it works without problems
it's very simple

keljuk 2010-08-25 04:17

Re: Maemo 5 | Nitdroid | MeeGo | Ubuntu 9.10 Karmic
 
Will NITdroid ever have phone functionality?
I understood that it's difficult because phone stack is closed source and done in such a way - hardwarewice - that there's no existing solution for it.

Just asking cos it seems like we're having a dead OS on our hands allready :(


All times are GMT. The time now is 19:53.

vBulletin® Version 3.8.8