beta-tester
Posts: 1306
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

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

Mon Dec 02, 2019 6:51 am

morbius wrote:
Sun Dec 01, 2019 6:50 pm
I have access to Unix, Mac, and Windows systems... I am sure the tools are available somewhere... Any ideas on how to nuke this card?
on windows by using DISKPART, try to see, if you can change the attributes if disk or volume (there is an attribute READONLY), before you try to delete things.
HELP ATTRIBUTES DISK
HELP ATTRIBUTES VOLUME
e.g.:
ATTRIBUTES VOLUME CLEAR READONLY
ATTRIBUTES VOLUME CLEAR HIDDEN
(but windows is a bit like an idiot in things like filesystems and interpretation of diskformats)


on linux wipe the first few bytes:
sudo umount /dev/sdX*
sudo dd if=/dev/zero of=/dev/sdX bs=16M count=1
replace X with the letter of the SD card.


EDIT, what happens, when you copy the PINN-lite files to the first FAT partition? as far as i know, PINN-lite will repartition the SD card anyhow at its very first boot...
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

morbius
Posts: 5
Joined: Sun Dec 01, 2019 6:24 pm

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

Mon Dec 02, 2019 7:52 am

I'll look at the HIDDEN attrib in diskpart, didn't notice that before. All the usual voodoo like using diskpart "clean" on the disk didn't touch those locked volumes.

I happen to have a "premium" Windows partition manager and their tech support said nope, sorry, nothing they can do for a disk that was fondled by Linux.

> on linux wipe the first few bytes:

Yeah, I guess dd is the fallback plan. I would like to figure this out on Windows since it would be somewhat more convenient due to the way I have things set up. And it just bugs me. ;)

> EDIT, what happens, when you copy the PINN-lite files to the first FAT partition? as far as i know, PINN-lite will repartition the SD card anyhow at its very first boot...

Good thinking!

I formatted the sole Windows-visible logical volume as FAT32, copied PINN, and started it up. Once PINN booted I pulled the cart to check it out. PINN had sliced the 14 GB logical volume into a couple of smaller partitions. The locked GPT volumes were untouched, but maybe they will get blown away once it starts installing something.

I told PINN to install a couple of distros and we will see what the card looks like when that is done.

Thanks for the help!

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Mon Dec 02, 2019 10:13 am

morbius wrote:
Sun Dec 01, 2019 6:50 pm
I have been exploring the PINN offerings by using PINN, and then wiping the card to start over, and install some other things
Just a note to say that in NOOBS or PINN, it is not necessary to wipe the card to start over again if you want to install a new set of OSes with NOOBS/PINN. You just have to select a new set of OSes and click install. It will automatically repartition and reformat the SD card appropriately.
I say this, because there have been other posts about people doing this as well.

But in this case it sounds like you installed a non-PINN OS (as I don't recall any PINN supported OS creating GPT partitions), so it may have been necessary, depending on the OS and how it needed installing.

Most times, you can just flash a new image to an SD card using Balena Etcher (Windows/Mac or Linux) and it will completely erradicate the old partitioning. Have you tried this? If not, try "Etching" pinn-lite using it's Etcher image which you can find here -> https://sourceforge.net/projects/pinn/files/Etcher/

Looking at https://en.wikipedia.org/wiki/GUID_Partition_Table, PINN should erradicate the primary GPT header, but there is a secondary one at the end of the disk which may be causing the problem with Windows and other tools. Maybe try wiping this secondary header out using dd before installing PINN again.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

morbius
Posts: 5
Joined: Sun Dec 01, 2019 6:24 pm

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

Mon Dec 02, 2019 4:53 pm

After re-running PINN, the couple of distros I picked had new partitions carved out of that one 14 GB logical volume. Most of the card is still locked away in the GPT volumes.

I definitely did not ever install anything on this card that did not come from PINN or NOOBS. The card was bought new and only used on this Pi with NOOBS at first, then PINN.

I can't be sure but it might have been Gladys, Volumio or LibreElec that did this partition scheme. They were among the distros I installed just before I noticed this problem. Others included RISC OS and a couple of the emulators. I didn't keep detailed notes on what I did in what order, though, so I cannot say for sure exactly what I did to get the card formatted this way.

Edit to add

I tried Etcher, and all it did was operate on the 14 GB volume that Windows can see. It didn't touch the GPT volumes.

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Mon Dec 02, 2019 6:01 pm

Hmm. That's strange. Not seen that before.
If it was a PINN installed OS, then it would have been nice to know which one does this and ensure PINN can undo it in future.

For now I can only suggest wiping out the 2nd GPT header as above. Let us know how you get on.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

morbius
Posts: 5
Joined: Sun Dec 01, 2019 6:24 pm

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

Mon Dec 02, 2019 6:09 pm

I'll nuke this card in one of Linux/Unix/macOS, and once I have figured that out I will see if I can figure out which PINN-installed OS got me in to this state. If I can ID it definitively I will post here. I am still very curious if there is a way to handle this on Windows since that is my daily driver, but oh well.

Oh, this is a good excuse to fire up Raspbian and run dd on its own storage while the system is up... Always wanted to burn down an installation like that. ;)

Regardless, if there is an official way to file bugs/enhancement requests for PINN, making the formatting/partitioning operations more aggressive would be a nice addition.

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Mon Dec 02, 2019 6:34 pm

It is aggressive enough for MBR cards. I don't think GPT cards were envisioned at the start of NOOBS.

If I am correct in how to handle it, there is no need to nuke the whole card as it will just increase the wear. Just wipe the last 34 or so sectors at the end of the card.

You can dd from PINN's recovery shell as well, so no need to keep installing Raspbian just to dd and test.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Mon Dec 02, 2019 6:46 pm

Maybe https://www.urtech.ca/2017/11/solved-de ... indows-10/ ?

Looking again at your image, you may have to nuke the first and last 34 sectors of the card. :Shrug:
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

morbius
Posts: 5
Joined: Sun Dec 01, 2019 6:24 pm

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

Mon Dec 02, 2019 7:24 pm

I'll take another look at that diskpart guide, but the problem was the GPT volumes were invisible to diskpart.

Thanks about dd and great to know it is in the PINN console.

I'll report back if I can figure out what distro did this!

BRX7
Posts: 43
Joined: Sat Aug 31, 2019 11:07 pm

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

Mon Dec 09, 2019 2:53 pm

Hello @procount

How can I force a different OS to install into A project space?

i.e arch4 into a spare project space area (boot & root partitions)


it only gives options of oses I previously installed

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Mon Dec 09, 2019 3:25 pm

See https://github.com/procount/pinn/blob/m ... idual-oses

First select the OSes you want to install (Arch4) in the Main Menu. Then Select the OS you want to replace in the Maintenance menu (e.g. ProjectSpace1).
Then click Replace and choose the new OS (Arch4) that you want install against the OS you want to replace (ProjectSpace1).
You must be connected to the internet to allow Arch4 to be downloaded, and using a compatible RPi Model (Pi4B) for it to be visible.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

BRX7
Posts: 43
Joined: Sat Aug 31, 2019 11:07 pm

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

Mon Dec 09, 2019 5:02 pm

procount wrote:
Mon Dec 09, 2019 3:25 pm
See https://github.com/procount/pinn/blob/m ... idual-oses

First select the OSes you want to install (Arch4) in the Main Menu. Then Select the OS you want to replace in the Maintenance menu (e.g. ProjectSpace1).
Then click Replace and choose the new OS (Arch4) that you want install against the OS you want to replace (ProjectSpace1).
You must be connected to the internet to allow Arch4 to be downloaded, and using a compatible RPi Model (Pi4B) for it to be visible.
I am trying that, cannot get it to bring up arch4 as option only previously installed, I am connected to web also.

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Mon Dec 09, 2019 5:28 pm

Can you see arch4 in the list of OSes on the Main Menu, under the Minimal tab?
Can you select the checkbox?
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

BRX7
Posts: 43
Joined: Sat Aug 31, 2019 11:07 pm

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

Mon Dec 09, 2019 10:33 pm

procount wrote:
Mon Dec 09, 2019 5:28 pm
Can you see arch4 in the list of OSes on the Main Menu, under the Minimal tab?
Can you select the checkbox?
I can see it under minimal, not as a replacement for the space

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Mon Dec 09, 2019 10:42 pm

Unless you tick the checkbox for arch64 under the minimal tab, it will not show up as a replacement option. The list of replacement OSes includes all you have already installed, plus any additional OS that you tick.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

BRX7
Posts: 43
Joined: Sat Aug 31, 2019 11:07 pm

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

Tue Dec 10, 2019 10:42 am

procount wrote:
Mon Dec 09, 2019 10:42 pm
Unless you tick the checkbox for arch64 under the minimal tab, it will not show up as a replacement option. The list of replacement OSes includes all you have already installed, plus any additional OS that you tick.
ok I have done that, finally I now know how to use replace correctly ! thanks.

only thing now is to login to arch4, not sure what is the default user/password to login via remote ssh

I figured it out, alarm alarm

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Tue Dec 10, 2019 10:57 am

Default username/passwords are in os.json for each os, sometimes in release_notes.txt if it has mutiple logons.

Or, there is a Change Password option on the Maintenance menu:
Select your installed OS, Check "show password" and click "Use Default" to see what the defaults password is, then Cancel.

In the case of arch4, it's root/root.
I figured it out, alarm alarm
Oh, I must fix that!
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

User avatar
sakaki
Posts: 460
Joined: Sun Jul 16, 2017 1:11 pm

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

Fri Dec 27, 2019 10:54 pm

Hello,

just a quick note that the bugfix v1.5.3 release of my bootable Gentoo image for the RPi4/RPi3 (announce post here) is now also available for installation via PINN.

The full image is called gentoo64 on PINN; the CLI-only version, gentoo64lite.

Images were converted using the pinnify script.

Best,

sakaki

bluenote
Posts: 99
Joined: Thu Feb 05, 2015 8:25 am

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

Mon Dec 30, 2019 1:11 am

Hi

I'm dual booting libreelec and raspbian full, and I want to have a different GPU split depending on whether I'm in libreelec or raspbian. Is it possible to do this with PINN?

thanks

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Mon Dec 30, 2019 9:04 am

Yes.
Each OS is independent with its own boot partition and config.txt files, so just set the GPU memory split in the appropriate config.txt file.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

amqhnhan
Posts: 1
Joined: Mon Jul 08, 2019 9:59 am
Contact: Website Twitter

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

Tue Dec 31, 2019 4:04 am

Pinn booted to menu, i downloaded Pinn for the Arch Linux install option (to lazy to manualy install arch)
But there is no Arch install option?

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Tue Dec 31, 2019 10:00 am

Which RPi model do you have?
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

User avatar
procount
Posts: 1928
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

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

Fri Jan 10, 2020 6:14 pm

New OSes added to PINN:
  • Arch4 for Pi4
  • Debian64Pi3 for Pi3
  • Debian64Pi4 for Pi4
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574

BRX7
Posts: 43
Joined: Sat Aug 31, 2019 11:07 pm

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

Tue Jan 14, 2020 12:13 pm

debian 64
excellent stuff.


thanks

pegman
Posts: 33
Joined: Sat Mar 12, 2016 6:08 pm

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

Sun Jan 19, 2020 4:15 pm

Hi,
Can't think of a better time for a dumb question...

Used PINN for years, its just good plain and simple.
So, how do i fix my OSMC boot if its failing to load? Was just about to scrap the whole thing and rebuild but then thought about losing my Raspbian and RetroPi setup and didn'tfancy that.

Can i fix/reinstall?? If so how?

Thanks
Happy dumb Sundays!

Return to “General discussion”