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)

mirjan79 2013-12-17 11:10

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Is it possible to reflash only harmatan on udiboot ?????

juiceme 2013-12-17 11:38

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

Originally Posted by mirjan79 (Post 1397551)
Is it possible to reflash only harmatan on udiboot ?????

Yes, of course.

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...)

peterleinchen 2013-12-17 12:44

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 ;)

Garp 2013-12-21 10:54

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:

coderus 2013-12-21 11:15

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.

Garp 2013-12-21 22:24

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

juiceme 2013-12-23 21:27

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

Originally Posted by coderus (Post 1399383)
@Garp you should login as nemo, not root. password set in developer mode settings. to gain root you should use devel-su later.

@coderus, AFAIK @garp was trying to ssh into ubiboot console, not to Nemo/Sailfish (where the password is "nemo" in some versions...)

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:

Originally Posted by Garp (Post 1399536)
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

@garp, I do not quite follow up your logic here :confused:
Sure you need to create the keypair first, before engaging nautilus login...?

Garp 2013-12-24 10:27

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

Originally Posted by juiceme (Post 1400121)
@coderus, AFAIK @garp was trying to ssh into ubiboot console, not to Nemo/Sailfish (where the password is "nemo" in some versions...)

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"


@garp, I do not quite follow up your logic here :confused:
Sure you need to create the keypair first, before engaging nautilus login...?

Problems started when updated Ubuntu 12.04 to 13.10 before no problem with Ubiboot, have changed "host key and identity keypair" in Ubiboot.conf and no problems!
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

juiceme 2013-12-24 19:01

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

Originally Posted by Garp (Post 1400244)
......
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.
......

Could be this reason above ^^ :)

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"

Garp 2013-12-25 15:08

Re: Introducing ubiboot N9 (multiboot OS loader)
 
1 Attachment(s)
Quote:

Originally Posted by juiceme (Post 1400380)
Could be this reason above ^^ :)

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"

See hole story in attachment!


All times are GMT. The time now is 11:54.

vBulletin® Version 3.8.8