| Prev | 5   13     14   15   16     17   25 | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Introducing ubiboot N9 (multiboot OS loader) (https://talk.maemo.org/showthread.php?t=89345)

TMavica 2013-10-04 09:00

all kernel in conf, put in your site to download

juiceme 2013-10-04 10:30

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by TMavica (Post 1378522)
all kernel in conf, put in your site to download

My kernel conf is changing all the time a lot due to tweaking I am doing. I might put in some different kernels, though.

TMavica 2013-10-04 10:33

Yes. Just for convience. Lol

TMavica 2013-10-04 16:15

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Seem nitdroid not support exfat format of MyDocs

thedead1440 2013-10-04 16:23

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by TMavica (Post 1378571)
Seem nitdroid not support exfat format of MyDocs

Iirc exfat support has to be added as it's not inbuilt in the nitdroid version... Maybe see how CM added it into their ROMs and try adding it to nitdroid...

juiceme 2013-10-04 20:39

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by thedead1440 (Post 1378572)
Iirc exfat support has to be added as it's not inbuilt in the nitdroid version... Maybe see how CM added it into their ROMs and try adding it to nitdroid...

Yes, to get it into Nitdroid kernel you'd need to ask e-yes nicely :D

TMavica 2013-10-05 10:31

Quote:

Originally Posted by juiceme (Post 1378630)
Yes, to get it into Nitdroid kernel you'd need to ask e-yes nicely

u are close to him, u better ask that than me

PamNor 2013-10-05 20:51

Re: Introducing ubiboot N9 (multiboot OS loader)
 
I have installed Ubiboot 0.3.4 and its great. I have one problem with Firefox OS. when i configure the OS4 section in ubiboot.conf and try booting i got the green warning message.
Boot OS/kernel selection failed!
Please run a maintanance boot


~/MyDocs/boot/ubiboot.conf
..
G_OS2_INITSCRIPT="\/sbin\/preinit_harmattan"
G_OS1_INITSCRIPT="\/sbin\/preinit_nitdroid"
G_OS3_INITSCRIPT="\/sbin\/init"
G_OS4_INITSCRIPT="\/sbin\/preinit_firefox"
G_OS5_INITSCRIPT="\/sbin\/init"
G_OS6_INITSCRIPT="\/sbin\/init"
..
# The first OS is usually Nitdroid.
# This section lists the Nitdroid specific switches and kernels
G_OS1_NUM=3
G_OS1_AUTOBOOT=0
G_OS1_PARTITION=2
G_OS1_NAME="Nitdroid"
G_OS1_1_LABEL="Eyes zImage.pr13 kernel"
G_OS1_1_FILE="/boot/Nitdroid/boot/zImage.pr13"
G_OS1_2_LABEL="E-yes's L2Fix Nitdroid image"
G_OS1_2_FILE="/boot/Nitdroid/boot/zImage_e-yes_nitdroid+l2fix"
..
# The fourth OS is usually FirefoxOS.
# This section lists the FirefoxOS specific switches and kernels
G_OS4_NUM=1
G_OS4_AUTOBOOT=0
G_OS4_PARTITION=2
G_OS4_NAME="Firefox"
G_OS4_1_LABEL="Firefox OS"
G_OS4_1_FILE="/boot/Nitdroid/boot/zImage_e-yes_nitdroid+l2fix"
..
Nitdroid and Firefox installed at
/home/nitdroid
/home/firefox_os

cp /sbin/preinit_nitdroid to /sbin/preinit_firefox

modified one line in /sbin/preinit_firefox
..
exec chroot /mnt/firefox_os /init

This setup is not working for firefox.

But wait...
if i modify ubiboot.conf to
G_OS1_INITSCRIPT="\/sbin\/preinit_firefox"

then firefox is booting normal if i choose
Nitroids E-yes's L2Fix Nitdroid image
from the boot menu.

I have tried copying the OS1 section (nitroid) to OS4 section (Firefox) without luck.

Maybe there is a bug somewhere.

Thanks for great work.:D

juiceme 2013-10-06 16:35

Re: Introducing ubiboot N9 (multiboot OS loader)
 
So, if I understand correctly you can only boot FirefoxOS if you set it up as the first OS, not when it's the third OS slot.

I'll have to check that, it is possible that there's some bug in the selection scripts.

Can you share your ubiboot.log file? (normally located in MyDocs/boot/ubiboot.log if you have not changed the default location...)

PamNor 2013-10-06 20:02

Re: Introducing ubiboot N9 (multiboot OS loader)
 
You are correct.
ubiboot.log contains one attempt to select Firefox OS between two Harmattan boots.

I changed line in ubiboot.conf to
.
G_OS4_INITSCRIPT="\/sbin\/preinit_nitdroid"
.
and tried booting nitdroid in OS slot 4.

No luck.:mad:

PamNor 2013-10-06 20:05

Re: Introducing ubiboot N9 (multiboot OS loader)
 
1 Attachment(s)
Oh! forgot the logfile....

peterleinchen 2013-10-07 07:47

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Would you mind to give also your full ubiboot.conf?
Especially interested in
G_OS4_PARTITION=?

PamNor 2013-10-07 08:29

Re: Introducing ubiboot N9 (multiboot OS loader)
 
1 Attachment(s)
OK. My current ~/MyDocs/boot/ubiboot.conf

juiceme 2013-10-07 09:29

Re: Introducing ubiboot N9 (multiboot OS loader)
 
I am fairly sure your problem lies here:

In the log, when you have made the kernel selection and the kernel image is loaded, you should see something like you have when starting harmattan:

Oct 6 19:34:39 (none) user.notice root: Started animated OS selection menu
Oct 6 19:34:46 (none) user.notice root: Selecting Harmattan OS, running kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Oct 6 19:34:47 (none) user.notice root: Loading kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Oct 6 19:34:47 (none) user.notice root: kexec_load() successful
Oct 6 19:34:47 (none) user.notice root: Restarting to selected OS


However, you got this:

Oct 6 19:40:14 (none) user.notice root: Started animated OS selection menu
Oct 6 19:40:20 (none) user.notice root: Selecting Firefox OS, running kernel
Oct 6 19:40:21 (none) user.notice root: Cannot load Firefox kernel
Oct 6 19:40:21 (none) user.notice root: Boot OS/kernel selection failed


Now, this looks to me like the kernel name string is undefined here. Either the problem is in the selection script or your config, but as you can boot it when used as the first OS, then it sure points to a menu script problem.

juiceme 2013-10-07 10:25

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1379124)
Now, this looks to me like the kernel name string is undefined here. Either the problem is in the selection script or your config, but as you can boot it when used as the first OS, then it sure points to a menu script problem.

Yeah it's a menuscript problem after all :(

I have some variables mixed up in the select_os_animated.sh script. Sorry about that!
I'll fix that and compile new CPIO version as soon as I have time to do it!

Garp 2013-10-07 12:03

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by PamNor (Post 1378845)
I have installed Ubiboot 0.3.4 and its great. I have one problem with Firefox OS. when i configure the OS4 section in ubiboot.conf and try booting i got the green warning message.

Where did you get Firefox OS from?:confused:

juiceme 2013-10-08 09:27

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1379128)
Yeah it's a menuscript problem after all :(

I have some variables mixed up in the select_os_animated.sh script. Sorry about that!
I'll fix that and compile new CPIO version as soon as I have time to do it!

Allright, corrected&compiled&tested new CPIO that corrects the problems for booting Firefox, Ubuntu, Sailfish.

Please find the file at http://www.swagman.org/juice/ubiboot..._08102013.cpio
(md5sum=fa80955d84514867f76c1bca3068e217)

No need to reflash. Just copy the archive to your MyDocs/boot (or whereever you have the config and edit ubiboot.conf accordingly.

peterleinchen 2013-10-08 10:15

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1379269)
Allright, corrected&compiled&tested new CPIO that corrects the problems for booting Firefox, Ubuntu, Sailfish

Thanks for resolving.
And especially for adding the empty line to ubiboot.log! (makes it way easier to read :))

Another suggestion/question from my side:
you have modified the G_global vars to be named according to the OS slot (and not anymore names). BUT the symlinks in /mnt are still named according to the OS names (e.g. G_OS1_NAME="Nitdroid", but G_OS1_1_FILE="/boot/Nitdroid/boot/zImage.pr13")?
As you compiled all into the kernel and did not put the ubifs.tar online, I cannot see the available symlinks. Or are they created on the fly (according to G_OS1_NAME)? Would you please be so kind and give more info here? Or put sources online?

nicolai 2013-10-08 10:21

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Hi juiceme,

Thank you ubiboot it is really great.

I tested ubiboot on my n950, took the instructions from the wiki page
http://wiki.maemo.org/Ubiboot
and have some questions.

1. Installing open mode kernel
I can not boot with zImage_2.6.32.54-openmode_l2fix
for the n950 I used open mode kernel from here
http://maemo.cloud-7.de/950/openmode_kernel_PR1.1/
Booting in open mode works now.

2. installing other systems.
Then I installed nemo and android, both are working
but I can not boot harmattan anymore.
It seems none of the custom zImages for harmattan are working on a n950. I then changed the boot menu to explicit include one entry
for open mode kernel from http://maemo.cloud-7.de/950/openmode_kernel_PR1.1/
This kernel worked in the step prior to flashing ubiboot kernel.
But it does not work from within the boot menu.
The display stays black but ubiboot.log says:
kexec_load() successful


If I don't select any boot menu item, which kernel will be booted?

Does the ubiboot.conf file has any use at all? It seems I have
to change the cpio file for any boot menu change?

regards
Nicolai

juiceme 2013-10-08 10:49

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by peterleinchen (Post 1379275)
Thanks for resolving.
And especially for adding the empty line to ubiboot.log! (makes it way easier to read :))

Sometimes the small changes&fixes are the neatest :D


Quote:

Originally Posted by peterleinchen (Post 1379275)
Another suggestion/question from my side:
you have modified the G_global vars to be named according to the OS slot (and not anymore names). BUT the symlinks in /mnt are still named according to the OS names (e.g. G_OS1_NAME="Nitdroid", but G_OS1_1_FILE="/boot/Nitdroid/boot/zImage.pr13")?
As you compiled all into the kernel and did not put the ubifs.tar online, I cannot see the available symlinks. Or are they created on the fly (according to G_OS1_NAME)? Would you please be so kind and give more info here? Or put sources online?

This time I anticipated you on this :D
The symlinks are indeed created in init from the conf variables.
You can download the latest source snapshot tarball from the sources directory on either Swagman swagman or Skeiron. (latest is called animatronics_03102013.tar)

The RAMFS source is under the ubifs/ directory in the tarball, this is the complete seed for the FS that gets created in kernel compile.

I also host the complete source tree on my svn server at https://toosa.swagman.org/svn/animatronics which of course has the up-to-date sources, includeing this latest correction I made this morning. However the bandwidth for that server is not very large so you might not want to clone that... (full checkout will take some minutes)

juiceme 2013-10-08 11:03

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by nicolai (Post 1379276)
I tested ubiboot on my n950, took the instructions from the wiki page
http://wiki.maemo.org/Ubiboot
and have some questions.

1. Installing open mode kernel
I can not boot with zImage_2.6.32.54-openmode_l2fix
for the n950 I used open mode kernel from here
http://maemo.cloud-7.de/950/openmode_kernel_PR1.1/
Booting in open mode works now.

Hi!

I see your problem is the PR level you are in.
See, the L2fixed kernel is created form Harmattan PR1.3 sources, and so it is not compaible with your device running PR1.1 :(

I guess if you boot with the "standard PR1.1" open mode kernel it should indeed work but your device will boot slowly and be sluggish unless you have the L2-cache fix in the kernel.

I suggest you build your kernel with the following patch applied.


Quote:

Originally Posted by nicolai (Post 1379276)
2. installing other systems.
Then I installed nemo and android, both are working
but I can not boot harmattan anymore.
It seems none of the custom zImages for harmattan are working on a n950. I then changed the boot menu to explicit include one entry
for open mode kernel from http://maemo.cloud-7.de/950/openmode_kernel_PR1.1/
This kernel worked in the step prior to flashing ubiboot kernel.
But it does not work from within the boot menu.
The display stays black but ubiboot.log says:
kexec_load() successful

Can you show me your ubiboot.log file?
it will be created in the same directory as your ubiboot.conf and CPIO (unless you change the default location from conf)


Quote:

Originally Posted by nicolai (Post 1379276)
If I don't select any boot menu item, which kernel will be booted?

There's the G_DEFAULT_OS and G_DEFAULT_KERNEL options in ubiboot.conf which specify the booting kernel if no user interaction happens until timeout.


Quote:

Originally Posted by nicolai (Post 1379276)
Does the ubiboot.conf file has any use at all? It seems I have
to change the cpio file for any boot menu change?

Quite the opposite!
The config file holds almost everything that is configurable in ubiboot, normally you need to touch the CPIO only if there's some bug in the scripts&menus that has to be corrected (like today there was)

peterleinchen 2013-10-08 13:19

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1379285)
This time I anticipated you on this :D

:D:D:D nothing to add :D:D:D

Quote:

The RAMFS source is under the ubifs/ directory in the tarball, this is the complete seed for the FS that gets created in kernel compile.
So ubifs has not changes since ubifs_050613.

TMavica 2013-10-08 15:27

Re: Introducing ubiboot N9 (multiboot OS loader)
 
suddenly cant mount MyDocs in windows, it asked me to format to read..
but I can read through filecase. I want to backup my MyDocs, how to do?

Garp 2013-10-08 15:58

Re: Introducing ubiboot N9 (multiboot OS loader)
 
@juiceme due to your answer here: http://forum.nitdroid.com/index.php?topic=844.15
Then just install either NITDroid or Nemo first! (In existing set-up Openmode and zImage-2.6.32.54-dfl61-20121301 from here: http://wiki.maemo.org/Ubiboot)

To install NITDroid no problem have tried before, but I want to install Nemo but it seems not to be installation but flashing instead (using Linux or Windows PC) - correct?
Then it seems that dualboot is included in MOSLO (https://wiki.merproject.org/wiki/Nem..._the_Dual_Boot)
But then it demands: “You need to have the Harmattan kernel command line and the Harmattan kernel bzImage for this to work.”
I don’t know bzImage but does my kernel fullfill these demands?

Second I know you don’t support Windows flashing but could you tell who have mad the procedure ?: http://wiki.maemo.org/Ubiboot because I need to ask how to handle the Windows case re this:
4. Next, we will extract the Nemo image into the newly-created partition. Enter this command in the Terminal (for Linux only):

TMavica 2013-10-08 16:08

Re: Introducing ubiboot N9 (multiboot OS loader)
 
I have a question how to re partition the n9 to original?
because I got 1 partition for nemo, and I now cant reflash my N9, got error

juiceme 2013-10-08 16:28

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by peterleinchen (Post 1379317)
:D:D:D nothing to add :D:D:D


So ubifs has not changes since ubifs_050613.

Actually It has changed radically ;)
When doing diff of the 050613 and current there are 11 new files in the FS and 316 changed rows in the existing configuration files !

On top of that all the changes to the files in CPIO... I'd say I have done quite a few hours of work on it :)

juiceme 2013-10-08 16:40

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by TMavica (Post 1379351)
suddenly cant mount MyDocs in windows, it asked me to format to read..
but I can read through filecase. I want to backup my MyDocs, how to do?

Strange. Maybe something gone tipsy in your Windows?
Did you try exporting with ubiboot repair mode or with normal Harmattan USB export?

Barring the export, of course you can use rsync for example when in Harmattan, it will just take time if you have lots of stuff on your MyDocs.

TMavica 2013-10-08 16:49

Re: Introducing ubiboot N9 (multiboot OS loader)
 
cant.

by the way, what the command to repartition of N9 to original because I need flash my N9

juiceme 2013-10-08 16:54

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by Garp (Post 1379357)
@juiceme due to your answer here: http://forum.nitdroid.com/index.php?topic=844.15
Then just install either NITDroid or Nemo first! (In existing set-up Openmode and zImage-2.6.32.54-dfl61-20121301 from here: http://wiki.maemo.org/Ubiboot)

To install NITDroid no problem have tried before, but I want to install Nemo but it seems not to be installation but flashing instead (using Linux or Windows PC) - correct?

No, not really, it is just installing (repartition, format, copy FS)
There's no flashing required, not in a sense of flashing something permanently. The flasher is just used to load the special kernel (MOSLO) that contains the partitioning utilities.
Actually you do not specifically need the MOSLO kernel at all, the same autopartitioning script that is used there is also included in the ubiboot repair mode.


Quote:

Originally Posted by Garp (Post 1379357)
Then it seems that dualboot is included in MOSLO (https://wiki.merproject.org/wiki/Nem..._the_Dual_Boot)
But then it demands: “You need to have the Harmattan kernel command line and the Harmattan kernel bzImage for this to work.”
I don’t know bzImage but does my kernel fullfill these demands?

Well yes, dualboot/singleboot by permanently flashing MOSLO is old method, not needed any longer. Ubiboot takes care of it all nowdays.


Quote:

Originally Posted by Garp (Post 1379357)
Second I know you don’t support Windows flashing but could you tell who have mad the procedure ?: http://wiki.maemo.org/Ubiboot because I need to ask how to handle the Windows case re this:
4. Next, we will extract the Nemo image into the newly-created partition. Enter this command in the Terminal (for Linux only):

Hmm the wiki was made by topet2k12001
(see this post)

juiceme 2013-10-08 16:57

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by TMavica (Post 1379370)
cant.

Can't what? Cant export, Can't mount, ...?

Quote:

Originally Posted by TMavica (Post 1379370)
by the way, what the command to repartition of N9 to original because I need flash my N9

Well, If I remember correctly al least when doing full flash (rootfs+emmc) the device will be repartitioned back to original during the flashing.

TMavica 2013-10-08 17:04

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1379375)
Can't what? Cant export, Can't mount, ...?



Well, If I remember correctly al least when doing full flash (rootfs+emmc) the device will be repartitioned back to original during the flashing.

https://dl.dropboxusercontent.com/u/37229054/flash.png

TMavica 2013-10-08 17:32

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Solved
by the way, thanks

PamNor 2013-10-08 17:45

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Tested the new ubiboot-02.menus.cpio file.
Firefox OS boot from OS4 section OK.
Thanks.
:):)

Garp 2013-10-08 18:19

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1379374)
No, not really, it is just installing (repartition, format, copy FS)
There's no flashing required, not in a sense of flashing something permanently. The flasher is just used to load the special kernel (MOSLO) that contains the partitioning utilities.
Actually you do not specifically need the MOSLO kernel at all, the same autopartitioning script that is used there is also included in the ubiboot repair mode.

Well yes, dualboot/singleboot by permanently flashing MOSLO is old method, not needed any longer. Ubiboot takes care of it all nowdays.

OK I dont need Moslo at all it's in ubiboot you say BUT on the other hand I need to install Nemo before ubiboot as you told me:confused:
How to do that?

(NB. I only want Nemo not NITDroid I only have 16GB and room for Sailfish needed!)

zaidk9 2013-10-08 18:39

Which six OSes are supported for N9???
I cant understand the method to install ubiboot-02(integrated)
Do i need to install other os which i want first??
Need video
#Noob :(

saleki 2013-10-08 18:52

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1379269)
Allright, corrected&compiled&tested new CPIO that corrects the problems for booting Firefox, Ubuntu, Sailfish.

Please find the file at http://www.swagman.org/juice/ubiboot..._08102013.cpio
(md5sum=fa80955d84514867f76c1bca3068e217)

No need to reflash. Just copy the archive to your MyDocs/boot (or whereever you have the config and edit ubiboot.conf accordingly.

Is that new cpio file now included in tar archive for download?

juiceme 2013-10-08 19:35

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by PamNor (Post 1379387)
Tested the new ubiboot-02.menus.cpio file.
Firefox OS boot from OS4 section OK.
Thanks.
:):)

You could update ubiboot wiki, add description how to install FirefoxOS to N9 :)

juiceme 2013-10-08 19:41

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by Garp (Post 1379399)
OK I dont need Moslo at all it's in ubiboot you say BUT on the other hand I need to install Nemo before ubiboot as you told me:confused:
How to do that?

(NB. I only want Nemo not NITDroid I only have 16GB and room for Sailfish needed!)

Well, actually I said (or at least meant to say) that you can install it first, it does not matter. You can also install it afterwards, that'll work also.

Some notes on Nemo install; the autopartition.sh script splits the mmcblk0p1 partition (MyDocs) and will create 2 partitions from it. Depending on whether you have 16G or 64G device, you will end up with new 4G partition and your MyDocs will be that much smaller.
If I remember correctly the script checks that you have enough free space on the pertition and refuses to do it if it's too full, but of course I recommend backing everything up, emptying the partition and splitting it after that.
When you have the new mmcblk0p4 partition, it's not a big thing to install the Neom FS; just untar the image there.

juiceme 2013-10-08 19:54

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by zaidk9 (Post 1379407)
Which six OSes are supported for N9???

There are ready-made slots for Harmattan, Nitdroid, Nemo, FirefoxOS, Ubuntu and SailfishOS


Quote:

Originally Posted by zaidk9 (Post 1379407)
I cant understand the method to install ubiboot-02(integrated)
Do i need to install other os which i want first??
Need video
#Noob :(

Well, I dont like video guides, they are too complicated :o
I cannot follow a procedure if seen from a video...
There is the ubiboot wiki page, and some README documentation but both are not quite up-to date (the wiki is much better though)

However, here's a quick run-through how to do it. For simplicity's stake I'll here only go through Nitdroid install, but same kind of thing goes for all the OS'es, except that you might need to put Nemo/SailfishOS to thir own partition. Nitdroid, FirefoxOS and Ubuntu can live on same partition with other OS'es too.

juiceme 2013-10-08 19:55

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by saleki (Post 1379412)
Is that new cpio file now included in tar archive for download?

Good point. No, it is not yet.
I'll update that immediately.

- Juice -


| Prev | 5   13     14   15   16     17   25 | Next | Last
All times are GMT. The time now is 22:02.

vBulletin® Version 3.8.8