DarkPlatinum
Posts: 254
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

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

Wed Sep 05, 2018 4:02 pm

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?
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

DarkPlatinum
Posts: 254
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

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

Wed Sep 05, 2018 4:05 pm

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?
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Wed Sep 05, 2018 4:17 pm

What is the EXACT command line you are using to create root.tar?
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

DarkPlatinum
Posts: 254
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

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

Wed Sep 05, 2018 4:18 pm

[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:
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

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!
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

DarkPlatinum
Posts: 254
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

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

Wed Sep 05, 2018 4:41 pm

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:
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

DarkPlatinum
Posts: 254
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

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

Wed Sep 05, 2018 7:14 pm

Getting an error, "File /tmp/media/sdb1/so/RetroPie2/boot_rp44.tar.xz does not exist"
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

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.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

DarkPlatinum
Posts: 254
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

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

Wed Sep 05, 2018 8:40 pm

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?
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Wed Sep 05, 2018 8:49 pm

Yes, if you gzipped them both.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

DarkPlatinum
Posts: 254
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

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

Wed Sep 05, 2018 9:33 pm

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. :)
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Wed Sep 05, 2018 9:51 pm

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).
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

Haris1977
Posts: 105
Joined: Sat Jul 05, 2014 8:19 am

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

Thu Sep 06, 2018 6:01 am

@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?

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

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, 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.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

Haris1977
Posts: 105
Joined: Sat Jul 05, 2014 8:19 am

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

Thu Sep 06, 2018 9:25 am

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?

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Thu Sep 06, 2018 9:34 am

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.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574


procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Thu Sep 06, 2018 9:57 am

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.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

Haris1977
Posts: 105
Joined: Sat Jul 05, 2014 8:19 am

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

Thu Sep 06, 2018 10:09 am

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

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Thu Sep 06, 2018 10:19 am

Screenshot might be useful ;)
You have downloaded the new pinn_2854.zip from /testing this morning?
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

Haris1977
Posts: 105
Joined: Sat Jul 05, 2014 8:19 am

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

Thu Sep 06, 2018 11:45 am

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!
Last edited by Haris1977 on Thu Sep 06, 2018 12:09 pm, edited 1 time in total.

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Thu Sep 06, 2018 11:54 am

I'll see if I can improve the initial selection/focus and test it with CEC.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

Haris1977
Posts: 105
Joined: Sat Jul 05, 2014 8:19 am

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

Thu Sep 06, 2018 12:10 pm

Thanks:)

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

https://ibb.co/d57oQK

procount
Posts: 1257
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Thu Sep 06, 2018 12:38 pm

I'll have to think about how to do that.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

Haris1977
Posts: 105
Joined: Sat Jul 05, 2014 8:19 am

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

Thu Sep 06, 2018 1:08 pm

Thanks for all :)

Return to “General discussion”

Who is online

Users browsing this forum: Bing [Bot], Paul Hutch and 56 guests