-
Hi, I have a Raspian system with 1GB Fat Boot Partition, Can I add PINN to that system? |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 9 replies
-
Does removing runinstaller from recovery.cmdline prevent PINN from changing the SD-Card on first run? |
Beta Was this translation helpful? Give feedback.
-
That's technically possible, but unless you really know what you're doing, it's probably easier to just install PINN onto a fresh card and then follow https://github.com/procount/pinn/wiki/How-to-Create-a-Multi-Boot-SD-card-out-of-2-existing-OSes-using-PINN |
Beta Was this translation helpful? Give feedback.
-
Copying the PINN Files to the existing Boot Partition and removing runinstaller from recovery.cmdline should already make PINN boot without destroying the existing partitions as far I understood up to now. |
Beta Was this translation helpful? Give feedback.
-
The way that a Raspberry Pi boots, the Linux kernel is stored on the boot partition. See https://github.com/raspberrypi/noobs/wiki/Standalone-partitioning-explained and https://github.com/raspberrypi/noobs/wiki/NOOBS-partitioning-explained for a detailed description. So unless you come up with some wacky system whereby you modify
PINN uses logical partitions https://en.wikipedia.org/wiki/Extended_boot_record
If you really want to get your hands dirty, then see https://www.raspberrypi.com/documentation/computers/config_txt.html#os_prefix
I still don't know what it is you're trying to do, but the FIRST thing you should do is make a backup of your current system. And that can't be done safely from within a running operating system, because there may be several files in use where the changes to those files haven't been written to disk yet, whilst the OS is still running. |
Beta Was this translation helpful? Give feedback.
-
Since the recovery seems to have similar files like the main system with different name recovery, you should be able to copy it to the same partition. Your link says it is booted if the main files are not readable, may be with pressing the shift key also. |
Beta Was this translation helpful? Give feedback.
-
It's for "historical reasons" - PINN is a fork of NOOBS, and when NOOBS was first written, things were much simpler than they are now, because there was only a single model of Raspberry Pi. IIRC the only files in the first versions of NOOBS were I've never actually checked to see what happens if both
When NOOBS was first written, SD card corruption (resulting in a totally unbootable SD card) was a common complaint - this is the reasoning behind the "NOOBS prime directive" mentioned in https://github.com/raspberrypi/noobs/wiki/NOOBS-partitioning-explained . The NOOBS partition never gets written to, so the NOOBS partition can't get corrupted, and your SD card will never become unbootable. But each OS is still able to write to it's own separate boot partition. PINN / NOOBS also allows many different OSes to be installed at once, and this requires the use of different boot partitions, as each OS will have different Linux kernels, different |
Beta Was this translation helpful? Give feedback.
-
Do you know a which Boot Stage the Shift Key is checked? |
Beta Was this translation helpful? Give feedback.
-
I've created a dual boot config with a modified pinn that can be copied into an existing raspbian buster boot fat partition and started with reboot '0 tryboot' |
Beta Was this translation helpful? Give feedback.
-
What have you done with the SETTINGS partition (5) that PINN uses when adding PINN to an existing system? I assume that is part of your modifications....? BTW, future version of PINN (starting with v3.8.9 beta) no longer use the recovery naming system, since this is not supported by the Pi5. So if you are relying on this, you may have to adjust in future, maybe use the |
Beta Was this translation helpful? Give feedback.
-
@lurch - You should try the new 3.8.9 beta :) |
Beta Was this translation helpful? Give feedback.
I've created a dual boot config with a modified pinn that can be copied into an existing raspbian buster boot fat partition and started with reboot '0 tryboot'
I've modified a complete downloaded binary since my build still stuck with error.
I've had to fiddle a lot since the low level boot configuration seems to be inconsistent, things don't work like to expect from documentation.