![]() |
2012-12-13
, 09:53
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#42
|
The Following 3 Users Say Thank You to juiceme For This Useful Post: | ||
![]() |
2013-01-01
, 18:35
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#43
|
The Following 15 Users Say Thank You to juiceme For This Useful Post: | ||
ajalkane, Akkumaru, AMD, Boxeri, farfary, Hacker, hrbani, Hurrian, MaddogG, mr_pingu, OVK, P@t, peterleinchen, stampsmurf, thedead1440 |
![]() |
2013-01-01
, 19:28
|
|
Posts: 147 |
Thanked: 300 times |
Joined on Mar 2012
@ ^^ IRAN ^^ - Tehran :D
|
#44
|
Holidays are a really good time for some serious hacking
Now I can announce that I have a working multiboot toolkit that can be used to load any suitable OS to N9 device using a graphical touch selection menus.
The work is based on patched Nemo kernel which is used to boot up a minimal system which will be used to select the next-level OS and load it up. With this system, we are no longer limited to tripleboot but indeed can create even quadboot and up
The patching is needed to override the default command line that NOLO forces on the booting kernel.
Happy new year to all TMO'ers
The Following User Says Thank You to farfary For This Useful Post: | ||
![]() |
2013-01-01
, 19:35
|
|
Posts: 694 |
Thanked: 619 times |
Joined on Nov 2011
|
#45
|
![]() |
2013-01-01
, 19:36
|
|
Posts: 1,390 |
Thanked: 710 times |
Joined on May 2012
@ Beirut, Lebanon
|
#46
|
I will vote AMD for president next time if I'm having any shares during next meeting.
![]() |
2013-01-01
, 20:42
|
Posts: 98 |
Thanked: 142 times |
Joined on Mar 2011
|
#47
|
Holidays are a really good time for some serious hacking
Now I can announce that I have a working multiboot toolkit that can be used to load any suitable OS to N9 device using a graphical touch selection menus.
The work is based on patched Nemo kernel which is used to boot up a minimal system which will be used to select the next-level OS and load it up. With this system, we are no longer limited to tripleboot but indeed can create even quadboot and up
The patching is needed to override the default command line that NOLO forces on the booting kernel.
Happy new year to all TMO'ers
![]() |
2013-01-01
, 22:31
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#48
|
There have been some semi-successful efforts in the past from Android users on getting a Kexec module running. Theoretically, if we can compile this module for the Harmattan kernel, we could possiby boot any kernel with any arbitrary command line arguments from the default Harmattan kernel at the preinit stage. That way, no flashing would be required. I'll try looking into it.
![]() |
2013-01-01
, 22:55
|
Posts: 98 |
Thanked: 142 times |
Joined on Mar 2011
|
#49
|
That was my original idea, but it seems not to be easy to do. I experimented quite a lot with the vanilla Nokia kernel, both to use kexec as module and as compiled-in feature but the results were not very good. With the Nemo kernel it is lot easier.
With this method I am using, all you need is to flash the first stage kernel just once, and any of the second-stage kernels can be booted from a directory in the filesystem.
You can have multiple kernels running on the same filesystem, just by starting them with a different command line; for example I have both the nitdroid kernel (running the normal way of chrooting it to /home/nitdroid/) and an own flavour of openmode Nokia kernel, either one can be launched from a file on the FS.
Also, as the selection is done before booting the final kernel I can rearrange partittions as I like, mounting for example Nemo partition as root and launching the Nemo kernel.
Nothing would prevent me running Debian, for example using my Harm-Chom-install image, mounting it as root and starting a kernel of my desire on it. (I could do that, but there is no point really as of course it would not use the phone functionality)
The Following User Says Thank You to Sazpaimon For This Useful Post: | ||
![]() |
2013-01-02
, 04:18
|
|
Posts: 694 |
Thanked: 619 times |
Joined on Nov 2011
|
#50
|
That was my original idea, but it seems not to be easy to do. I experimented quite a lot with the vanilla Nokia kernel, both to use kexec as module and as compiled-in feature but the results were not very good. With the Nemo kernel it is lot easier.
(NOTE: ubi.mtd kernel parameter sets the mtd device to pass to ubiattach; it must always be "var". ubi0:$x (where $x is the UBIFS label) can be anything. However, again, for naming's sake, let's keep it names var.)
OH, and this will not use an initramfs! It's not a ramdisk, the first kernel will boot into a barebones complete system on /var, then kexec into a new system!
It would make very little difference either way, as both first-stage kernels would have their own root filesystem (ubi0:var), and kexec a second-stage kernel (Harmattan PR1.3, NITDroid or Nemo) into their respective root filesystem.
A reference entry is already provided in /etc/fstab, however it is not mounted by default at boot.
You will need to call ubiattach and mount by yourself (or add the needed lines in /etc/init/mount-home.conf)
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.
Last edited by Hurrian; 2012-12-04 at 12:46.