Page 20 of 35

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 4:02 pm
by DarkPlatinum
BTW, how do you have time to actually program PINN, do you just do it as a hobby? Unless your retired, it can't be a full time job?

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 4:05 pm
by DarkPlatinum
I've just started on the retropie backup. Boot.tar is finished, root.tar just finished but it says "tar format cannot archive socket:" multiple times. What does this mean? Has the backup failed?

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 4:17 pm
by procount
What is the EXACT command line you are using to create root.tar?

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 4:18 pm
by DarkPlatinum
[email protected]:~ $ sudo mount /dev/sdb2 /media/pi/root

[email protected]:/media/pi/root $ sudo bsdtar --numeric-owner --format gnutar --one-file-system -cpf ~/os/Retropie2/root.tar .

tar format cannot archive socket: tar format cannot archive socket:

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 4:37 pm
by procount
DarkPlatinum wrote:
Wed Sep 05, 2018 4:18 pm
tar format cannot archive socket: tar format cannot archive socket:
This can probably be ignored. I think it is trying to archive special device files, which are recreated when the OS is booted. Should be ok, but you'll find out when you try to boot it!

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 4:41 pm
by DarkPlatinum
procount wrote:
Wed Sep 05, 2018 4:37 pm
DarkPlatinum wrote:
Wed Sep 05, 2018 4:18 pm
tar format cannot archive socket: tar format cannot archive socket:
This can probably be ignored. I think it is trying to archive special device files, which are recreated when the OS is booted. Should be ok, but you'll find out when you try to boot it!
:lol:

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 7:14 pm
by DarkPlatinum
Getting an error, "File /tmp/media/sdb1/so/RetroPie2/boot_rp44.tar.xz does not exist"

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 8:36 pm
by procount

Code: Select all

mv boot.tar boot_rp44.tar
mv root.tar root_rp44.tar
Filenames must match partition names given in partitions.json. file extensions can be different to indicate format.

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 8:40 pm
by DarkPlatinum
procount wrote:
Wed Sep 05, 2018 8:36 pm

Code: Select all

mv boot.tar boot_rp44.tar
mv root.tar root_rp44.tar
Filenames must match partition names given in partitions.json. file extensions can be different to indicate format.
So i just rename my boot.tar.gz as boot_rp44.tar.gz and my root as root_rp44.tar.gz?

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 8:49 pm
by procount
Yes, if you gzipped them both.

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 9:33 pm
by DarkPlatinum
procount wrote:
Wed Sep 05, 2018 8:49 pm
Yes, if you gzipped them both.
I'm not sure but I don't think this is in your tutorial? It says to keep the file as root, but you could say to name it as root_rp44 to prevent that from happening. I'll do this tommorow. Good night. :)

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Wed Sep 05, 2018 9:51 pm
by procount
You're right.
I changed my strategy for naming the OS partitions since the tutorial was written, so it needs updating.
With many OSes installed it was confusing for every partition to be called boot or root, so now they try to reflect the OS name a bit more.

Being a tutorial it is mostly step by step instructions with little explanation as to why. The json meta files are not well documented yet (even in NOOBS).

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 6:01 am
by Haris1977
@procount i like the idea of the sticky default (cause 99% of the times i want to boot into one specific os) but i also like the 10 sec boot time menu (in order to have the time to change to an other os). Can we have them both?

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 8:38 am
by procount
With the sticky default, you still have time to press the shift key, enter the PINN recovery menu, press ESC to go to the boot selection menu and change the OS selection for this 1% of the time. I don't see the need for another timeout....?

I put up pinn-2854.zip again for the wallpaper fix.
If you use a custom wallpaper, you can also add 'wallpaper_resize' to recovery.cmdline which will make it fill the whole desktop. So for example, if you created an 8x8 square image which was a solid blue colour, wallpaper_resize would make the whole desktop blue. 'background_colour' would still colour the boot selection menu. So this provides independent background colour control.

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 9:25 am
by Haris1977
procount wrote:
Thu Sep 06, 2018 8:38 am
With the sticky default, you still have time to press the shift key, enter the PINN recovery menu
I know that but i only use my tv cec controller and not keyboard to navigate. I thought you could add it as an extra option (maybe to recovery.cmdline)
procount wrote:
Thu Sep 06, 2018 8:38 am
I put up pinn-2854.zip again for the wallpaper fix.
If you use a custom wallpaper, you can also add 'wallpaper_resize' to recovery.cmdline which will make it fill the whole desktop. So for example, if you created an 8x8 square image which was a solid blue colour, wallpaper_resize would make the whole desktop blue. 'background_colour' would still colour the boot selection menu. So this provides independent background colour control.
I will try the new version but i am a little confused.
I only want a totally black background color in my OS boot menu (now the color is white). But i dont want the dialog menu to change color (if i use background=0,0,0 the dialog menu also affects). My image is a 1080p wallpaper.png file. So what exactly do i have to do?

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 9:34 am
by procount
Yeah, I think we are at cross-purposes, or what you are asking for is beyond what is possible without a complete rewrite. Maybe a picture would help - take one of your screen shots and colour it according to your needs and post it. But it still may not be feasible....

EDIT: You can still achieve the sticky default operations with a CEC controller and no keyboard, but I take your point it can be a bit cumbersome.

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 9:47 am
by Haris1977
Check that out

https://ibb.co/cyHA4e

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 9:57 am
by procount
So, to create that effect:
1. Remove any 'background_colour' option
2. Create a 'wallpaper.png' image that is the correct size for your display (e.g. 1920x1080). Paint it all black. I suggest you put a small message in the middle (in white?) that says "For recovery mode, press shift, click mouse or press tv remote" or something similar,as you want. (Note: the latest v2.8.5.4 will overlay such a message in the top left of the wallpaper, but it is written in black so it won't show up in this case).
3. Put wallpaper.png on the first partition of your SD card.

Alternatively, if you don't need/want to add the message:
2. Create a 'wallpaper.png' image that is very small (e.g. 8x8 pixels). Paint it all black. Put wallpaper.png on the first partition of your SD card.
3. Add 'wallpaper_resize' to recovery.cmdline. This will expand the small image to fill the whole desktop, but use a lot less space on the SD card.

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 10:09 am
by Haris1977
My cmd line

quiet ramdisk_size=32768 root=/dev/ram0 init=/init vt.cur_default=1 elevator=deadline repo_list=http://raw.githubusercontent.com/procou ... _list.json no_update no_cursor

My png image is here (i have put it on first partition of my SD card):

https://ibb.co/kOsoqK

This is what my sd card contains:

https://ibb.co/nHvrAK

Still white image on background..

PS1 well my mistake. It was a wrong image file (initially jpg and not png). I ve made it :)
PS2 in this build i only need to press once the left/right arrow of my remote and immediately i go to the 1rst OS. A little progress here.. :P

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 10:19 am
by procount
Screenshot might be useful ;)
You have downloaded the new pinn_2854.zip from /testing this morning?

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 11:45 am
by Haris1977
procount wrote:
Thu Sep 06, 2018 10:19 am
Screenshot might be useful ;)
You have downloaded the new pinn_2854.zip from /testing this morning?
Yeap. I m using the 2854 v.

I ve managed to load the background wallpaper image as i told you - even though i can only load totally black background because of the black horizontal and vertical bars in the OS boot menu. Dont know if i can fix that :)

One different thing i ve seen for that specific build is that i only need to press once the left/right arrow of my remote and immediately it goes to the 1rst OS. So half way here.. :D Better than the previous one!

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 11:54 am
by procount
I'll see if I can improve the initial selection/focus and test it with CEC.

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 12:10 pm
by Haris1977
Thanks:)

My last one: Could y add a rename option like this?

https://ibb.co/d57oQK

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 12:38 pm
by procount
I'll have to think about how to do that.

Re: STICKY: PINN - An enhanced version of NOOBS.

Posted: Thu Sep 06, 2018 1:08 pm
by Haris1977
Thanks for all :)