![]() |
Re: Introducing ubiboot N9 (multiboot OS loader)
@taixzo
two requests (just personally from my side): after such amount of posts betwenn your posts please include a short/your prob'em description or a link. And cut your log file down to the problematic section (it really was a PITA to look after). Good was you used pastebin and did not spam this thread with log texts (smth I really hate). OK, to your problem. It is obvious: Quote:
check with devel-su mkdir /mnt/p4 mount /dev/mmcblk0p4 /mnt/p4 ls /mnt/p4 If you find the files, then it is ubiboot.conf problem. Check yourself or show... |
Re: Introducing ubiboot N9 (multiboot OS loader)
Because it seems that many people have trouble setting up ubiboot environment correctly, I have released a special SailfishOS-version of ubiboot-02-0.3.5
This version contains preconfigured scripts to boot Harmattan and any release of SailfishOS installed to normal location on ALT_OS partition. Additionally, there are only 2 icons on the startup screen. The l2-fixed kernel and harmattan preinit file si included Get the version from here. Read the documentation before installing. so there. ---------- edit ---------- Mirror site for the archive on skeiron server. As well as documentation |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Code:
~ # mkdir /mnt/p4 |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Nice one. Next request will be DEB file for single-click installation ... .:p |
Re: Introducing ubiboot N9 (multiboot OS loader)
@taixzo
If you choose the hard way ;) by creating extended partition, then you should know where your OS should go. Please check for p5 and/or p6 then (of course). -- Oh, and if your nemo/sailfish is really on p2, then your harmattan needs also adaptation (as said before) ... |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
But seriously, I was once contemplating on creating a DEB of ubiboot install but (un)fortunately it is not possible since the internal flasher seems to refuse to flash unsigned binaries. |
Re: Introducing ubiboot N9 (multiboot OS loader)
it might be easier for a lot of people to have a Deb package to install config, cpio and scripts 'n stuff so that the only thing they'd have to do then is to flash the kernel after install...
We believe in you :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi,juiceme. I am Fotix :)
Have u ever thought about add chinese language version to make more people in China use the great software? Or maybe I can help translate.:D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
If you could do translation of the documentation, that would be beautiful :) As for the texts in the ubiboot itself, the menu symbols are graphic, just easy to change if anybody wants to do that, as well as the info panel that is accessed by the "i" button on the menu, that's easy also. It is more difficult to change the error messages and such, as I think there's not chinese font for text2screen that I am using to write that text. It could be possible to replace at least the boot error texts with pictures... yes that is doable! :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
hi juiceme
your message box in maemo.org is full ? can i contact you ? thanks for reserved icon in ubiboot :) i need some help for add backup menu in ubiboot |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I'll try to empty it... |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
The README file is the definitive documentation. As for the info and error messages, here are the english texts which could be translated in chinese:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
So, if for example you have your ALT_OS on your partition 2, you would want to set G_OS<whatever>_PARTITION="2" |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
preinits should be placed correctly
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Yes, it seems that 80% of the boot problems people have is due to missing the preinits.
I did put the harmattan preinit in the sailfish-preconfigured packet and I am seriously considering that maybe I should put those also to the mainline package and release it as a fix... |
Re: Introducing ubiboot N9 (multiboot OS loader)
I still have my Nitdroid and FFOS preinits in /sbin/. I would imagine that ubiboot should be able to find them, as they are in the same folder as the Nemo preinit, which is working.
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Nemo (Like SailfishOS) do not use /sbin/preinit* on the Harmattan root partition, instead they use /sbin/init from their own partition... :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Code:
G_OS1_NUM=3 |
Re: Introducing ubiboot N9 (multiboot OS loader)
confused with what? you using mmcblk0p5 for nitdroid, set G_OS1_PARTITION to 5 then.
|
Re: Introducing ubiboot N9 (multiboot OS loader)
For Nitdroid there's a lot of possibilities to set it up, since it's started as a chroot environment, so basically where you put it and how decrees what you mount in your preinit.
But I still wonder about your Nemo preinit, what do you use that for? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
-- edit
Yes, exactly (you were faster ;)) @taixzo What about reflashing back to stock partitioning ? And use moslo p4 for nemo/sailfish. It seems like you dnkwtd ... If you set the nitdroid / firefox to different partition than p3/home, then you will need to adapt the specific preinits themselves internally. @coderus: --edit erm, NO. Got also confused with taixzos layout again. ubiboot.conf needs to point to kernel partition, preinit_nitdroid needs to mount nitdroid home partition. Sorry. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Setting it to 5 and having no kernel there will of course give you an error since the system will kook for kernel and find none. Setting it to 3 will find your kernel and boot it, but if your preinit script is not finding your Nitdroid installation the kernel will panic and just hang there doing nothing. Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
It's okay to change locations and assignments on your device just as you please but do not feel surprised if you only do a partial change to some parts of boot process and end up with nonfunctioning device :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
Quote:
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I'd imagine you should be able to boot by setting that mount to point to the location of your OS. The kernel and rootFS should be the same as Harmattan rootfs location. (altough if you want to, you might change this also, but the you'd need to have access to the /bin to get the needed tools; mount, chroot, whatever....) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Is it possible to reflash only harmatan on udiboot ?????
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
In fact the first version of ubiboot I had only contained way to chainload different kernels, not to load any different OS'es. You can use it just like that as is, you can just configure the G_OS<n>_NUM keys to be "0" for the OS'es you do not want to be shown any kernel listing. If you'd like to have the menu just with Harmattan icon, that is also possible, but it requires a recompile of the CPIO (which itself is just a few minutes job...) |
Re: Introducing ubiboot N9 (multiboot OS loader)
1 Attachment(s)
@taixzo
Here you go ... Please have in mind I have working harmattan on p5, so you need to set ot to where ever your harmattan rootfs is. And I have my nit and firefox also on p5, so hopefully this will help and not confuse more. Please omit all those echo changes ;) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Help can't remember password here isn't it 'rootme'?:confused::
root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15 Warning: Identity file my_n9_identity not accessible: No such file or directory. ************************************************** ****** * Welcome to RM-696 ubiboot-02 maintanance console * ************************************************** ****** root@192.168.2.15's password: |
Re: Introducing ubiboot N9 (multiboot OS loader)
@Garp you should login as nemo, not root. password set in developer mode settings. to gain root you should use devel-su later.
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Just deleting earlier long story just telling:
To get root access in Ubuntu 12.04 (and maybe even 13.10?) in Ubiboot maintenance mode N9, just in Ubuntu Alt-F2 and key-in gksu nautilus then you have root access to all of it!;):p |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
There's no password set for root in ubiboot, instead to use ssh/sftp to access ubiboot maintanance console, you need to use keypairs. (this is a security feature really) To use ssh/sftp to access ubiboot maintanance console, you first have to make private&public keypair with ssh-keygen, then insert your public key into the G_SSH_AUTHORIZED_KEYS key in your ubiboot.conf. Then, when logging into the device you need to use the private key, just like documented in your ubiboot.conf: "ssh -i my_n9_identity root@192.168.2.15" Quote:
Sure you need to create the keypair first, before engaging nautilus login...? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Tried to change "host key and identity keypair" in 13.10 but no success back to 12.04 and now again 13.10 result right now: root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15 Warning: Identity file my_n9_identity not accessible: No such file or directory. The authenticity of host '192.168.2.15 (192.168.2.15)' can't be established. RSA key fingerprint is 81:12:12:b2:cd:a2:e1:b0:b1:ee:64:ea:b5:64:46:9d. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.2.15' (RSA) to the list of known hosts. ************************************************** ****** * Welcome to RM-696 ubiboot-02 maintanance console * ************************************************** ****** root@192.168.2.15's password: Permission denied, please try again. root@192.168.2.15's password: Permission denied, please try again. root@192.168.2.15's password: Connection closed by 192.168.2.15 root@garp-Lenovo-B590:/home/garp# Edit: After changing Ubiboot.conf "host key and identity keypair" again in 13.10, result: root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15 ************************************************** ****** * Welcome to RM-696 ubiboot-02 maintanance console * ************************************************** ****** root@192.168.2.15's password: Permission denied, please try again. root@192.168.2.15's password: Permission denied, please try again. root@192.168.2.15's password: Permission denied (publickey,password,keyboard-interactive). root@garp-Lenovo-B590:/home/garp# :confused::confused: Further by Alt-F2, command gksu nautilus you get root access in folder/files to all partitions: rootfs, home, Sailfish, Nemo |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Where do you have the private key "my_n9_identity" ? when linux says "No such file or directory" it usually means you have not specified where to look for the file in question... Now I am going to take a really wild guess and say it is in your .ssh/ directory, as that is the customary place to put keys into :D:D So, the reason it works with Nautilus is that it goes and looks for the keys in the default ssh directory, and finds it there. On command line, you should maybe try something like: "ssh -i ~/.ssh/my_n9_identity root@192.168.2.15" |
Re: Introducing ubiboot N9 (multiboot OS loader)
1 Attachment(s)
Quote:
|
All times are GMT. The time now is 03:59. |
vBulletin® Version 3.8.8