![]() |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
boot menu script not found...n9 got sailfish & harmattan working properly...until i rebooted in harmattan to switch over to sailfish......i faced this issue
"boot menu script not found" plz run a maintenance boot"..help me guys |
Re: Introducing ubiboot N9 (multiboot OS loader)
I've edited ubiboot.conf and now I've got a "Trap! Booting in 2 seconds" message. How to cope with that without a full reflash?
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Usually that means that you have managed to put in incompatible CPIO or corrupted the one you are loading.... What is your ubiboot version number? If you cannot boot any OS now, what you should do is connect the USB cable to a computer and go to the ubiboot maintanance mode. Then you can telnet to the device and check what is the state of the FS, and why the menuscript is not found. As a temporary measure you can just flash a normal Harmattan Open Mode kernel (like the L2-fixed kenel, for example...) If you do so, and manage to boot up Harmattan, please could you post your ubiboot.log file so I can check what is the cause of the problem? On versions older than 0.3.5 the loaction is /var/log/ubiboot.log and on newer versions /home/user/MyDocs/ubiboot.log |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Are you able to go to maintanance mode (connect USB cable to a computer) or does the trap occur before maintanance console activation? If you cannot activate maintanance mode, then you are in a bit trickier situation, since you propably need to boot a different kernel (not ubiboot since it always tries to read ubiboot.conf) However, full flash is not required, not at all :)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Now this problem that @marmistrz got had me thinking a bit of a design problem in ubiboot that need addressing.
If indeed it is possible to get init to trap with an ill-formatted ubiboot.conf file there needs to be a way to get out of this situation gracefully, for example by marking the ubiboot.conf file tainted and not use it on the subsequent boots. Scenario could be something like this;
Basically what happens is if you soup up your ubiboot.conf badly, the device renames it to ubiboot.conf.bad for example and so on the 3rd attempt no configuration file is found and the device goes to maintanance mode. Actually there is a possibility of using an automatic backup configuration with this kind of setup! :D
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Nice idea.
But wouldn't it be easier to create a safe copy like 'ubiboot.conf.sav' in the same folder (which gets loaded after marking current conf as bad)? This way we could still have configs on mtd 4/5 and p1. If marked as bad and not found '*.sav' then jump to next partition. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Excellent idea :)
There's just one minor thing, what if the .sav is also corrupt? I suppose there needs to be logic to decide that, too and in case it proves to be so then proceed to the next partition and finally to drop to unfiltered maintanance mode if nothing starts up correctly :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Yes, Sir. :D
But having the sav on same partition also corrupt is very similar (same?) as having a corrupt conf on another (next) partition, or? So I guess one of those approaches would be sufficient. (tending to mine ;)) -- Or I just misread and you are right. To make it absolutely fool proof we would need that logic. I thought if sav is also corrupt you are screwed. (on your own fault) Only jumping to next partition when no conf is found at all. |
Re: Introducing ubiboot N9 (multiboot OS loader)
jumping jumpy jumping rabbit jumping jumpy over partitions.
just make fallback configuration automatically searching over partitions for harmattan kernel and load it. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I'd need that as a test case for the next version of ubiboot which contains the fix to handle the init trap loop. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Should I load the moslo used for installing Sailfish (the one creatning Alt_OS) or will it want to create the partition once again
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
(and if you want to remove the partition, you need to give a command to do that) It will export your ALT_OS partition and let you telnet in the device. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Thanks.
Here you go: http://marmistrz.net63.net/public/ubiboot/ Please tell me, what wrong with this file :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi, playing with the flasher i noticed that there is this option:
Code:
--suppress-warranty-warning |
Re: Introducing ubiboot N9 (multiboot OS loader)
@Lucazz990 this is just fake option doing nothing, was added by nokia engineers for fun :)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
In your config you have this part.... Check the line I printed in red...
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Can you find that file? |
Re: Introducing ubiboot N9 (multiboot OS loader)
After my last trouble with ubiboot I need to enter the passwords at each bootup, even if I remove the accounts. Any ideas why?
|
Re: Introducing ubiboot N9 (multiboot OS loader)
I think it something related to openmode. i saw something in some guide about flashing or so.
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
no need to flashing :)
just remove your accounts, /home/user/.accounts and /home/user/.aegis, reboot and create accounts again. private keys changed when switched to openmode, and aegis no longer can encrypt own partitions to get passwords and etc :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Well, I didn't use closed mode at all in the meantime, but I'll try coderus' method and report
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi, would it be a nice idea to add a kind of "main" password directly in Ubiboot instead of one for each OS? :)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
However, technically very difficult to achieve, unfortunately :p |
Re: Introducing ubiboot N9 (multiboot OS loader)
Dear Experts,
Iam happy to have been visiting this forum for a year and would like to make my first post (!) seeking your help. u guys are so nice and helpful..Big Thanks for all. I'd would like to appreciate all your excellent work. I had installed ubiboot on my White N9 and couldnot boot into any OS. So I temporarily flashed the L2-fixed kernel and now Harmattan is working. I'd like to use ubiboot and fix related problems. I backedup all my files and would like to full-flash if required but don't know how to do it. Iam afraid about the repartioning done by moslo during my first ubiboot install. Could someone kindly help, please? Iam attaching my ubiboot.log file here: https://www.dropbox.com/s/14u9bvfi0ztbfkc/ubiboot.log Thanks. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I am fairly sure you are missing your harmattan preinit file, as that is the most common failure after a misplaced kernel image. To make sure, please check that you have /sbin/preinit_harmattan on your root partition. If you are missing it, you can copy your existing preinit file and it should be OK. To do that, enter the collowing command as root: "cp /sbin/preinit /sbin/preinit_harmattan" After that, just reflash your ubiboot kernel and you should be fine. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
LVM and dm-crypt, accelerated by omap-aes would be quite nice to use! You could set up an encrypted LUKS partition on the bare eMMC device, then straight up LVM on top of it. The key to unlock the LUKS would be part of Ubiboot - you'd probably have the device IMEI XOR'd with the user's passcode, then run through PBKDF2. Unfortunately, to minimize modifications needed to Harmattan and other OSes, the kernel would need to be modified to accept a LUKS key passed in the kernel cmdline. The real challenge is ensuring the entire bootchain is trusted - the inability for us to codesign our kernels and block unsigned code is a challenge. From what I know, the OMAP on the N9/50 requires a signed primary boot loader, secondary AKA NOLO is allowed to be unsigned, breaking the chain of trust :( If we could load our own code signing certificates, end-users themselves could trust the software that runs on their devices, and warn if unsigned software runs. (Yes, I just described the reverse of a jailbreak - security functions, when used to protect user data are a godsend!) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
However, when nitdroid is chosen (Eyes's L2Fix Nitdroid image under android menu), nothing happens even if waiting for a long time. So I switched off and switched on to get ubibbot menu. Sailfish boots but not nitdroidor firefox . Did I miss something ? or is that got to do with reflashing ubiboot after copying of preinit-harmattan. Kindly help, if possible. Also, what if I want to uninstall ubiboot completely (excluding the moslo partitioning procedure) and reinstall ubiboot and all OS from scratch? Is there a uninstall tutorial? As Iam a windows user, I'm willing to compile the ubiboot install and reinstall procedure for (windows users), when i get familiar with the steps. May be, if each step is indexed well, that will make it simple for all. I appreciate all your efforts and Thanks again. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Did yo read through the readme file and wiki page, I am fairly certain that those things are mentioned there? Sailfish boots because unlike Harmattan & Nitdroid it does not need a preinit file to start up, the init file of Sailfish is already included in the Sailfish filesystem image. Quote:
Uninstalling ubiboot is very easy, all you have to do is to flash a "regular" kernel to your device, for example using the L2-fixed kernel: sudo flasher -a firmware.bin -k zImage_2.6.32.54-openmode_l2fix --flash-only=kernel -f -R After that your system does not use the cpio and config any longer, so ubiboot is effectively uninstalled. |
Re: Introducing ubiboot N9 (multiboot OS loader)
I already enabled developer mode, AFter disclaimer-cal remove View-openmode
rm -rf /home/user/.accounts/ rm -rf /home/user/.aegis/ rm -rf /home/user/.activesync/ do i still need back to back flashing? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
There might still be something that causes hidden problems, but if you have now used your device for some time after this, and seen no adverse effects it probably is OK to continue without back-to-back flashing. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Any news about backupmenu?
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Hmmm thank you modders. I encountered a great bug on Alpha 5 Headset not working. Music playing via loudspeaker only! Any solution to this?
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Using Alpha4 is solution
|
All times are GMT. The time now is 12:03. |
vBulletin® Version 3.8.8